Gas pressure detection method and system
By detecting gas pressure through the immersed boundary method and sensor array, combined with the temperature relationship model and feature compensation technology, the accuracy and stability problems of traditional methods under complex working conditions are solved, and high-precision gas output pressure control is achieved.
Patent Information
- Application Number
- CN202311544785.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-11-20
AI Technical Summary
Traditional gas pressure detection methods have insufficient accuracy and stability under complex working conditions, resulting in low control accuracy of gas output pressure and are especially sensitive to temperature changes.
A sensor array based on the immersed boundary method is used for gas output pressure detection, a model of the relationship between oxygen and carbon dioxide pressure and temperature is constructed, pressure spectrum conversion and feature extraction are performed, and a gas output pressure control parameter strategy is generated through feature compensation and vector fusion technology.
It improves the control accuracy of gas output pressure, enhances the stability and reliability of the system, can maintain accurate pressure detection results under different temperature conditions, adapts to complex gas pressure conditions, and improves the characterization ability and control accuracy of characteristics.
Smart Images

Figure CN117249940B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a gas pressure detection method and system. Background Art
[0002] Accurate detection and control of gas pressure is critical in today's industrial and scientific applications. In the field of oxygen storage, gas systems are precisely monitored to ensure safe, efficient and reliable operations.
[0003] Traditional gas pressure detection methods usually have some limitations, such as insufficient accuracy and stability under complex working conditions, sensitivity to temperature changes, etc., which leads to low control accuracy of gas output pressure of existing solutions. Summary of the invention
[0004] The present invention provides a gas pressure detection method and system for improving the control accuracy of gas output pressure.
[0005] A first aspect of the present invention provides a gas pressure detection method, the gas pressure detection method comprising:
[0006] A sensor array of a target oxygen storage device is set based on an immersed boundary method, and a gas output pressure of the target oxygen storage device is detected by the sensor array to obtain oxygen pressure data and carbon dioxide pressure data;
[0007] Acquire temperature monitoring data of the target oxygen storage device through the sensor array, and construct a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data, and construct a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data;
[0008] Performing pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and performing pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum;
[0009] Performing feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and performing feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set;
[0010] Performing feature compensation on the first oxygen pressure feature set by using the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and performing feature compensation on the first carbon dioxide pressure feature set by using the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set;
[0011] The second oxygen pressure feature set and the second carbon dioxide pressure feature set are input into a preset gas output pressure control analysis model to perform gas output pressure control analysis to generate a target pressure control parameter strategy.
[0012] In combination with the first aspect, in a first implementation of the first aspect of the present invention, the sensor array of the target oxygen storage device is set based on the immersed boundary method, and the gas output pressure of the target oxygen storage device is detected by the sensor array to obtain oxygen pressure data and carbon dioxide pressure data, including:
[0013] Based on the immersed boundary method, a sensor array is arranged at the gas output end of the target oxygen storage device, and the sensor array is connected to a data acquisition unit;
[0014] The target oxygen storage device is tested for gas output pressure by the sensor array to obtain raw oxygen signal data and raw carbon dioxide signal data;
[0015] Performing signal processing on the original oxygen signal data to obtain initial oxygen data, and performing signal processing on the original carbon dioxide signal data to obtain initial carbon dioxide data;
[0016] The initial oxygen data is subjected to data filtering and data calibration to obtain oxygen pressure data, and the initial carbon dioxide data is subjected to data filtering and data calibration to obtain carbon dioxide pressure data.
[0017] In combination with the first aspect, in a second implementation of the first aspect of the present invention, the step of acquiring the temperature monitoring data of the target oxygen storage device through the sensor array, and constructing a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data, and constructing a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data, includes:
[0018] Monitoring the temperature of the gas output end of the target oxygen storage device by using the sensor array to obtain temperature monitoring data;
[0019] Performing kernel matrix calculation on the temperature monitoring data by using a preset Gaussian kernel function to obtain a Gaussian kernel matrix;
[0020] Taking the oxygen pressure data as a first target value and the Gaussian kernel matrix as a first characteristic matrix, and constructing a first input-output pair according to the first target value and the first characteristic matrix, and taking the carbon dioxide pressure data as a second target value and the Gaussian kernel matrix as a second characteristic matrix, and constructing a second input-output pair according to the second target value and the second characteristic matrix;
[0021] Performing Gaussian linear regression parameter calculation on the first input-output pair by using a preset first Gaussian linear regression algorithm to obtain first Gaussian linear regression parameters, and performing Gaussian linear regression parameter calculation on the second input-output pair by using a preset second Gaussian linear regression algorithm to obtain second Gaussian linear regression parameters;
[0022] A first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data is constructed according to the first Gaussian linear regression parameters, and a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data is constructed according to the second Gaussian linear regression parameters.
[0023] In combination with the first aspect, in a third implementation of the first aspect of the present invention, performing pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and performing pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum, includes:
[0024] Performing Fourier transformation on the oxygen pressure data to obtain a first Fourier transformation result, and performing Fourier transformation on the carbon dioxide pressure data to obtain a second Fourier transformation result;
[0025] Square the first Fourier transform result to obtain a first power spectrum density, and square the second Fourier transform result to obtain a second power spectrum density;
[0026] A corresponding oxygen pressure spectrum is generated according to the first power spectrum density, and a corresponding carbon dioxide pressure spectrum is generated according to the second power spectrum density.
[0027] In combination with the first aspect, in a fourth implementation of the first aspect of the present invention, the feature extraction of the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and the feature extraction of the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set include:
[0028] Performing spectrum segmentation on the oxygen pressure spectrum to obtain a plurality of first pressure spectrum segments, and performing spectrum segmentation on the carbon dioxide pressure spectrum to obtain a plurality of second pressure spectrum segments;
[0029] Extracting spectrum features from each first pressure spectrum segment respectively to obtain a plurality of first initial pressure feature sets, and extracting spectrum features from each second pressure spectrum segment respectively to obtain a plurality of second initial pressure feature sets;
[0030] The plurality of first initial pressure feature sets are feature normalized to obtain a first oxygen pressure feature set, and the plurality of second initial pressure feature sets are feature normalized to obtain a first carbon dioxide pressure feature set.
[0031] In combination with the first aspect, in a fifth implementation of the first aspect of the present invention, the first oxygen pressure feature set is feature compensated by the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and the first carbon dioxide pressure feature set is feature compensated by the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set, including:
[0032] Calculating a first characteristic compensation parameter of the first oxygen pressure characteristic set by using the first temperature-pressure relationship model, and calculating a second characteristic compensation parameter of the first carbon dioxide pressure characteristic set by using the second temperature-pressure relationship model;
[0033] Performing a characteristic weight analysis on the first characteristic compensation parameter to obtain a first pressure characteristic weight, and performing a characteristic weight analysis on the second characteristic compensation parameter to obtain a second pressure characteristic weight;
[0034] The first oxygen pressure feature set is subjected to feature weighting processing according to the first pressure feature weight to obtain a second oxygen pressure feature set, and the first carbon dioxide pressure feature set is subjected to feature weighting processing according to the second pressure feature weight to obtain a second carbon dioxide pressure feature set.
[0035] In combination with the first aspect, in a sixth implementation of the first aspect of the present invention, the step of inputting the second oxygen pressure feature set and the second carbon dioxide pressure feature set into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy includes:
[0036] Performing vector encoding on the second oxygen pressure feature set to obtain a first pressure feature encoding vector, and performing vector encoding on the second carbon dioxide pressure feature set to obtain a second pressure feature encoding vector;
[0037] Performing vector fusion on the first pressure feature coding vector and the second pressure feature coding vector to obtain a target fused feature coding vector;
[0038] Inputting the target fusion feature encoding vector into a preset gas output pressure control analysis model, wherein the gas output pressure control analysis model includes an encoding network, a decoding network, and a strategy optimization network, wherein the encoding network includes a bidirectional threshold recurrent unit, the decoding network includes a unidirectional threshold recurrent unit and a fully connected layer, and the strategy optimization network includes a genetic algorithm;
[0039] Performing feature extraction on the target fusion feature encoding vector through a bidirectional threshold recurrent unit in the encoding network to obtain a target high-dimensional pressure feature vector;
[0040] Performing feature mapping on the target high-dimensional pressure feature vector through a unidirectional threshold recurrent unit in the decoding network to obtain a target pressure feature mapping vector, and performing gas output pressure control parameter prediction on the target pressure feature mapping vector through a fully connected layer in the decoding network to obtain a plurality of initial pressure control parameters;
[0041] Initializing the parameter strategies of the multiple initial pressure control parameters by using a genetic algorithm in the strategy optimization network to generate multiple initial pressure control parameter strategies;
[0042] Calculating the fitness data of each initial pressure control parameter strategy respectively, and dividing the multiple initial pressure control parameter strategies into strategy groups according to the fitness data to obtain a strategy group division result;
[0043] A plurality of corresponding candidate pressure control parameter strategies are generated according to the strategy group division result, and strategy optimization is performed on the plurality of candidate pressure control parameter strategies to generate a target pressure control parameter strategy.
[0044] A second aspect of the present invention provides a gas pressure detection system, the gas pressure detection system comprising:
[0045] A detection module, used to set a sensor array of a target oxygen storage device based on an immersed boundary method, and detect the gas output pressure of the target oxygen storage device through the sensor array to obtain oxygen pressure data and carbon dioxide pressure data;
[0046] A construction module, used to obtain the temperature monitoring data of the target oxygen storage device through the sensor array, and to construct a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data, and to construct a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data;
[0047] a conversion module, used to perform pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and to perform pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum;
[0048] a feature extraction module, configured to perform feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and perform feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set;
[0049] a feature compensation module, configured to perform feature compensation on the first oxygen pressure feature set through the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and perform feature compensation on the first carbon dioxide pressure feature set through the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set;
[0050] The analysis module is used to input the second oxygen pressure feature set and the second carbon dioxide pressure feature set into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy.
[0051] The third aspect of the present invention provides a gas pressure detection device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the gas pressure detection device executes the above-mentioned gas pressure detection method.
[0052] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned gas pressure detection method.
[0053] In the technical solution provided by the present invention, gas output pressure detection is performed based on the immersed boundary method to obtain oxygen pressure data and carbon dioxide pressure data; temperature monitoring data is obtained and a first temperature-pressure relationship model between oxygen pressure data and temperature monitoring data and a second temperature-pressure relationship model between carbon dioxide pressure data and temperature monitoring data are constructed; pressure spectrum conversion is performed to generate oxygen pressure spectrum and carbon dioxide pressure spectrum; feature extraction is performed to obtain a first oxygen pressure feature set and a first carbon dioxide pressure feature set; feature compensation is performed to obtain a second oxygen pressure feature set and a second carbon dioxide pressure feature set; gas output pressure control analysis is performed through a gas output pressure control analysis model to generate a target pressure control parameter strategy. The present invention can perform high-precision detection of oxygen and carbon dioxide pressures of a target oxygen storage device through an immersed boundary method and a sensor array, and provide accurate gas pressure data. Temperature compensation of the gas pressure feature set using a temperature-pressure relationship model improves the stability and reliability of the system, so that accurate pressure detection results can still be maintained under different temperature conditions. Through Fourier transform and power spectral density analysis, the optimized extraction of oxygen and carbon dioxide pressure spectra is achieved, which helps to capture more detailed information of gas pressure and improves the characterization capability of features. By using feature extraction and temperature feature compensation, key features are effectively extracted from the pressure spectrum, and compensation is performed through the temperature relationship model, which improves the stability and consistency of the features. Through the encoding, decoding and strategy optimization network, intelligent control of the target gas output pressure is achieved, and a target pressure control parameter strategy that adapts to different working conditions is generated. By comprehensively analyzing multiple feature sets and using vector fusion technology, a comprehensive analysis of oxygen and carbon dioxide is achieved, which improves the system's adaptability to complex gas pressure conditions and thereby improves the control accuracy of the gas output pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of an embodiment of a gas pressure detection method in an embodiment of the present invention;
[0055] Figure 2 A flow chart of constructing a temperature-pressure relationship model in an embodiment of the present invention;
[0056] Figure 3 A flow chart of generating a pressure spectrum in an embodiment of the present invention;
[0057] Figure 4 is a flow chart of feature extraction in an embodiment of the present invention;
[0058] Figure 5 A schematic diagram of an embodiment of a gas pressure detection system in an embodiment of the present invention;
[0059] Figure 6Schematic diagram of a gas pressure detection device in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] Embodiments of the present invention provide a gas pressure detection method and system for improving the control accuracy of gas output pressure. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0061] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the gas pressure detection method in the embodiment of the present invention includes:
[0062] S101, setting a sensor array of a target oxygen storage device based on an immersed boundary method, and detecting a gas output pressure of the target oxygen storage device through the sensor array to obtain oxygen pressure data and carbon dioxide pressure data;
[0063] It is understandable that the execution subject of the present invention may be a gas pressure detection system, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.
[0064] Specifically, based on the immersed boundary method, a sensor array is set at the gas output end of the target oxygen storage device, and the sensor array is connected to the data acquisition unit. The sensor array is responsible for monitoring the pressure at the gas output end. These sensors can be pressure sensors or other types of sensors for measuring the pressure of oxygen and carbon dioxide. The data acquisition unit will be used to capture the raw signal data generated by the sensor. The sensor array monitors the gas output pressure of the target oxygen storage device and generates raw oxygen signal data and raw carbon dioxide signal data. These raw signal data will contain information about the gas pressure, but usually require further processing to obtain useful data. The raw oxygen signal data and the raw carbon dioxide signal data will be processed to remove noise, eliminate unnecessary interference, and extract information related to gas pressure. Signal processing can include digital filtering, filter design, time domain and frequency domain analysis and other technologies to ensure that high-quality initial oxygen data and initial carbon dioxide data are obtained. Data filtering and data calibration are performed. Data filtering is to further remove noise and fluctuations in the signal to obtain more stable oxygen pressure data and carbon dioxide pressure data. Data calibration ensures the accuracy and reliability of the data. Through the calibration process, the data can be compared with a known standard to more accurately understand the gas pressure of the target oxygen storage device.
[0065] S102, acquiring temperature monitoring data of the target oxygen storage device through a sensor array, and constructing a first temperature-pressure relationship model between oxygen pressure data and temperature monitoring data, and constructing a second temperature-pressure relationship model between carbon dioxide pressure data and temperature monitoring data;
[0066] Specifically, the temperature of the gas output end of the target oxygen storage device is monitored by the sensor array. This process generates temperature monitoring data to reflect the temperature change of the oxygen storage device. The temperature monitoring data is calculated by using a preset Gaussian kernel function. The Gaussian kernel function can be used to map the original temperature data into a Gaussian kernel matrix, which helps to deal with nonlinear relationships and prepare data for modeling. The oxygen pressure data is used as the first target value, and the Gaussian kernel matrix is used as the first feature matrix to construct the first input-output pair. Similarly, the carbon dioxide pressure data is used as the second target value, and the Gaussian kernel matrix is used as the second feature matrix to construct the second input-output pair. This step is to prepare data for model training. The first input-output pair is calculated by the Gaussian linear regression parameter of the preset first Gaussian linear regression algorithm to obtain the first Gaussian linear regression parameter. Similarly, the second input-output pair is calculated by the Gaussian linear regression parameter of the preset second Gaussian linear regression algorithm to obtain the second Gaussian linear regression parameter. These parameters will be used to construct the temperature-pressure relationship model. A first temperature-pressure relationship model of oxygen pressure data and temperature monitoring data is constructed based on the first Gaussian linear regression parameter, and a second temperature-pressure relationship model of carbon dioxide pressure data and temperature monitoring data is constructed based on the second Gaussian linear regression parameter. These models will be used to predict the relationship between gas pressure and temperature, thereby better understanding the performance of the gas storage device.
[0067] S103, performing pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and performing pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum;
[0068] It should be noted that the oxygen pressure data is Fourier transformed. Fourier transform is a mathematical tool that converts a time domain signal (in this case, the change in oxygen pressure over time) into a frequency domain signal to reveal the spectral components of the signal. This will generate a first Fourier transform result, which contains information about the oxygen pressure spectrum. Similarly, the carbon dioxide pressure data is Fourier transformed to generate a second Fourier transform result. This result contains information about the carbon dioxide pressure spectrum. The Fourier transform converts the time domain data into frequency domain data, allowing the server to better understand the spectral characteristics of the pressure change. The first Fourier transform result is squared to obtain a first power spectrum density. The square process helps to highlight the energy distribution in the spectrum, allowing the server to better analyze the energy distribution of the pressure spectrum. Similarly, the second Fourier transform result is squared to obtain a second power spectrum density. This power spectrum density contains information about the energy distribution of the carbon dioxide pressure spectrum. A corresponding oxygen pressure spectrum is generated based on the first power spectrum density, and a corresponding carbon dioxide pressure spectrum is generated based on the second power spectrum density. These spectra will reflect the distribution of oxygen and carbon dioxide pressures on different frequency components, which will help the server to have a deeper understanding of the characteristics of gas pressure. For example, by performing a Fourier transform on oxygen and carbon dioxide pressure data, the server can convert this pressure data into the spectral domain, revealing specific frequency components in the spectrum. Squaring the first and second Fourier transform results will allow the server to better understand the energy distribution of the spectrum, that is, the contribution of different frequency components. The resulting power spectral density will show the energy distribution of the oxygen and carbon dioxide pressure spectra. This helps monitor the fluctuations in gas pressure in different frequency ranges, for example, whether there are specific frequency components that are related to equipment operation or process parameters.
[0069] S104, performing feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and performing feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set;
[0070] Specifically, the server performs spectrum segmentation on the oxygen pressure spectrum. The spectrum data is divided into multiple different spectrum segments. Similarly, the spectrum of the carbon dioxide pressure spectrum is also spectrum segmented to obtain multiple different spectrum segments. This step helps to divide the spectrum data into smaller parts so that the characteristics of each part can be analyzed in more detail. The server performs spectrum feature extraction on each first pressure spectrum segment respectively. The server analyzes each spectrum segment to extract its spectrum features. These features include the main frequency components in the spectrum, the amplitude information of the spectrum, the phase information of the spectrum, etc. These feature extraction processes will generate multiple first initial pressure feature sets. Similarly, the server performs spectrum feature extraction on each second pressure spectrum segment to obtain multiple second initial pressure feature sets. These feature sets will reflect the characteristics of different spectrum segments and help the server to more comprehensively understand the characteristics of oxygen and carbon dioxide pressure spectra. The server performs feature normalization on multiple first initial pressure feature sets. Feature normalization is to ensure that the numerical ranges of different features are consistent for comparison and analysis. This will obtain a first oxygen pressure feature set. Similarly, the server performs feature normalization on multiple second initial pressure feature sets to obtain a first carbon dioxide pressure feature set.
[0071] S105, feature-compensating the first oxygen pressure feature set using the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and feature-compensating the first carbon dioxide pressure feature set using the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set;
[0072] Specifically, the server uses the first temperature-pressure relationship model to calculate the first feature compensation parameter of the first oxygen pressure feature set, and uses the second temperature-pressure relationship model to calculate the second feature compensation parameter of the first carbon dioxide pressure feature set. These feature compensation parameters are calculated based on the known relationship between temperature and pressure, and are used to correct the data in the feature set. The server performs feature weight analysis on the first feature compensation parameter to obtain the first pressure feature weight. These weights reflect the degree of influence of different features in the first oxygen pressure feature set on pressure. Similarly, the server performs feature weight analysis on the second feature compensation parameter to obtain the second pressure feature weight, which reflects the degree of influence of different features in the first carbon dioxide pressure feature set on pressure. The server performs feature weighting processing on the first oxygen pressure feature set according to the first pressure feature weight to obtain the second oxygen pressure feature set. This weighting processing helps to highlight the features that have the greatest impact on pressure, thereby improving the information quality of the feature set. Similarly, the server performs feature weighting processing on the first carbon dioxide pressure feature set according to the second pressure feature weight to obtain the second carbon dioxide pressure feature set. For example, the server uses the first temperature-pressure relationship model to calculate the first feature compensation parameter of the first oxygen pressure feature set to correct the influence of temperature changes on the oxygen pressure feature. At the same time, a second characteristic compensation parameter of the first carbon dioxide pressure characteristic set is calculated using a second temperature-pressure relationship model to correct the effect of temperature change on the carbon dioxide pressure characteristic. The server performs characteristic weight analysis to determine which characteristics have the greatest effect on gas pressure under different temperature conditions. Based on these weights, the server performs weighted processing on the oxygen and carbon dioxide pressure characteristic sets to obtain a more accurate second oxygen pressure characteristic set and a second carbon dioxide pressure characteristic set.
[0073] S106: Input the second oxygen pressure feature set and the second carbon dioxide pressure feature set into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy.
[0074] Specifically, the server performs vector encoding on the second oxygen pressure feature set to obtain the first pressure feature encoding vector, and at the same time, performs vector encoding on the second carbon dioxide pressure feature set to obtain the second pressure feature encoding vector. This encoding process helps to represent the information of the feature set in vector form for subsequent analysis and processing. The server performs vector fusion on the first pressure feature encoding vector and the second pressure feature encoding vector to obtain a target fusion feature encoding vector. This fusion process helps to combine the feature information of oxygen and carbon dioxide to more comprehensively represent the state of the gas system. The server inputs the target fusion feature encoding vector into a preset gas output pressure control analysis model. This model includes an encoding network, a decoding network, and a policy optimization network. The encoding network includes a bidirectional threshold cyclic unit, the decoding network includes a unidirectional threshold cyclic unit and a fully connected layer, and the policy optimization network includes a genetic algorithm. Through the bidirectional threshold cyclic unit in the encoding network, the server performs feature extraction on the target fusion feature encoding vector to obtain a target high-dimensional pressure feature vector. This high-dimensional feature vector contains key information of the gas system and can be used for subsequent analysis and control. Through the unidirectional threshold cyclic unit in the decoding network, the server performs feature mapping on the target high-dimensional pressure feature vector to obtain a target pressure feature mapping vector. This mapping process helps to convert high-dimensional feature vectors into low-dimensional vectors that are more suitable for control parameter prediction. Through the fully connected layer in the decoding network, the server predicts the gas output pressure control parameters for the target pressure feature mapping vector and obtains multiple initial pressure control parameters. These parameters are predicted based on the input feature information and model training, and are used to control the gas output pressure. Through the genetic algorithm in the strategy optimization network, the server initializes the parameter strategy for multiple initial pressure control parameters and generates multiple initial pressure control parameter strategies. Genetic algorithm is an optimization method used to find the best parameter combination to achieve the desired control effect. The server calculates the fitness data of each initial pressure control parameter strategy, and divides the multiple initial pressure control parameter strategies into strategy groups based on these data to obtain the strategy group division results. This step helps to determine which parameter strategies are more suitable for practical applications, so as to search in a wider strategy space. According to the strategy group division results, multiple corresponding candidate pressure control parameter strategies are generated, and these strategies are optimized to generate the target pressure control parameter strategy. This strategy will be used to control the actual gas output pressure to ensure that the system works stably under different conditions.
[0075] In the embodiment of the present invention, the oxygen and carbon dioxide pressures of the target oxygen storage device can be detected with high precision by using the immersed boundary method and the sensor array, and accurate gas pressure data can be provided. The temperature-pressure relationship model is used to perform temperature compensation on the gas pressure feature set, which improves the stability and reliability of the system, so that accurate pressure detection results can be maintained under different temperature conditions. Through Fourier transform and power spectral density analysis, the optimized extraction of the oxygen and carbon dioxide pressure spectra is achieved, which helps to capture more detailed information of the gas pressure and improves the characterization ability of the features. By using feature extraction and temperature feature compensation, key features are effectively extracted from the pressure spectrum, and at the same time, compensation is performed by the temperature relationship model, which improves the stability and consistency of the features. Through encoding, decoding and strategy optimization networks, intelligent control of the target gas output pressure is achieved, and a target pressure control parameter strategy adapted to different working conditions is generated. By comprehensively analyzing multiple feature sets and using vector fusion technology, a comprehensive analysis of oxygen and carbon dioxide is achieved, which improves the system's adaptability to complex gas pressure conditions, thereby improving the control accuracy of the gas output pressure.
[0076] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0077] (1) Based on the immersed boundary method, a sensor array is arranged at the gas output end of the target oxygen storage device, and the sensor array is connected to a data acquisition unit;
[0078] (2) Detecting the gas output pressure of the target oxygen storage device through the sensor array to obtain raw oxygen signal data and raw carbon dioxide signal data;
[0079] (3) performing signal processing on the original oxygen signal data to obtain initial oxygen data, and performing signal processing on the original carbon dioxide signal data to obtain initial carbon dioxide data;
[0080] (4) Performing data filtering and data calibration on the initial oxygen data to obtain oxygen pressure data, and performing data filtering and data calibration on the initial carbon dioxide data to obtain carbon dioxide pressure data.
[0081] Specifically, the server sets up a sensor array, which is arranged at the gas output end of the target oxygen storage device to capture the pressure of the gas output. These sensors can use different technologies, such as piezoelectric sensors, piezoresistive sensors, or other types of sensors to meet the requirements of specific applications. This sensor array will become a key tool for the server to monitor gas pressure. The server connects the sensor array to the data acquisition unit. The data acquisition unit is an important component that is used to receive the signal data collected by the sensor array and perform signal processing and data storage. The data acquisition unit can be a dedicated hardware device or an embedded system, depending on the application requirements. By connecting the sensor array and the data acquisition unit, the server establishes a complete data acquisition system that can obtain gas pressure information in real time. Once the sensor array and the data acquisition unit are set up and connected, the server can start gas output pressure detection. The sensor array continuously monitors the gas output pressure of the target oxygen storage device and transmits the raw oxygen signal data and the raw carbon dioxide signal data to the data acquisition unit. The raw oxygen signal data and the raw carbon dioxide signal data contain noise and interference from the sensor, so signal processing is required. Signal processing includes steps such as noise removal, filtering, and calibration to extract useful information and accurately reflect the pressure changes of the gas. For the raw oxygen signal data, signal processing includes removing high-frequency noise, filtering to smooth the data, and then calibrating to convert the signal into a true oxygen pressure value. Similarly, for the raw carbon dioxide signal data, similar signal processing steps are required to obtain accurate carbon dioxide pressure data. These processed data will become the basis for gas output pressure detection and can be used for further analysis and control. Through this process, the server can realize gas output pressure detection of the target oxygen storage device and obtain accurate oxygen and carbon dioxide pressure data to meet the needs of various application fields. For example, the sensor array is installed on the oxygen output pipeline to monitor the output pressure of oxygen. The raw oxygen signal data collected by the sensor array undergoes signal processing steps, including removing noise from pipeline vibration and other environmental interference, and then converting the signal into an actual oxygen pressure value through calibration. These data can be used to ensure the stability of the oxygen supply system to meet oxygen demand.
[0082] In a specific embodiment, if Figure 2 As shown, the process of executing step S102 may specifically include the following steps:
[0083] S201, monitoring the temperature of the gas output end of the target oxygen storage device through a sensor array to obtain temperature monitoring data;
[0084] S202, performing kernel matrix calculation on the temperature monitoring data by using a preset Gaussian kernel function to obtain a Gaussian kernel matrix;
[0085] S203, taking the oxygen pressure data as the first target value, and the Gaussian kernel matrix as the first characteristic matrix, and constructing a first input-output pair according to the first target value and the first characteristic matrix, and at the same time, taking the carbon dioxide pressure data as the second target value, and the Gaussian kernel matrix as the second characteristic matrix, and constructing a second input-output pair according to the second target value and the second characteristic matrix;
[0086] S204, performing Gaussian linear regression parameter calculation on the first input-output pair using a preset first Gaussian linear regression algorithm to obtain first Gaussian linear regression parameters, and performing Gaussian linear regression parameter calculation on the second input-output pair using a preset second Gaussian linear regression algorithm to obtain second Gaussian linear regression parameters;
[0087] S205. Construct a first temperature-pressure relationship model between oxygen pressure data and temperature monitoring data according to the first Gaussian linear regression parameter, and construct a second temperature-pressure relationship model between carbon dioxide pressure data and temperature monitoring data according to the second Gaussian linear regression parameter.
[0088] Specifically, the temperature of the gas output end of the target oxygen storage device is monitored by a sensor array. These sensors monitor the temperature of the gas output end in real time and record the temperature monitoring data. These temperature monitoring data are critical for subsequent analysis because temperature changes can affect the pressure of the gas. The temperature monitoring data is calculated using a preset Gaussian kernel function. The Gaussian kernel function is a commonly used kernel function for feature mapping in machine learning and statistical analysis. The purpose of this step is to convert the temperature monitoring data into a Gaussian kernel matrix for subsequent analysis. The oxygen pressure data is used as the first target value, the Gaussian kernel matrix is used as the first feature matrix, and the first input-output pair is constructed based on the first target value and the first feature matrix. At the same time, the carbon dioxide pressure data is used as the second target value, the Gaussian kernel matrix is used as the second feature matrix, and the second input-output pair is constructed based on the second target value and the second feature matrix. These steps are to prepare data for regression analysis. The Gaussian linear regression parameters of the first input-output pair are calculated using the preset first Gaussian linear regression algorithm to obtain the first Gaussian linear regression parameters. At the same time, the second input-output pair is subjected to Gaussian linear regression parameter calculation by a preset second Gaussian linear regression algorithm to obtain second Gaussian linear regression parameters. These regression parameters will be used to construct a relationship model between temperature and oxygen pressure and carbon dioxide pressure. A first temperature-pressure relationship model between oxygen pressure data and temperature monitoring data is constructed based on the first Gaussian linear regression parameters, and a second temperature-pressure relationship model between carbon dioxide pressure data and temperature monitoring data is constructed based on the second Gaussian linear regression parameters. These relationship models will be used to analyze and predict the pressure changes of oxygen and carbon dioxide so as to better control and manage the gas output pressure of the oxygen storage device.
[0089] In a specific embodiment, if Figure 3 As shown, the process of executing step S103 may specifically include the following steps:
[0090] S301, performing Fourier transform on the oxygen pressure data to obtain a first Fourier transform result, and performing Fourier transform on the carbon dioxide pressure data to obtain a second Fourier transform result;
[0091] S302, square the first Fourier transform result to obtain a first power spectrum density, and square the second Fourier transform result to obtain a second power spectrum density;
[0092] S303: Generate a corresponding oxygen pressure spectrum according to the first power spectrum density, and generate a corresponding carbon dioxide pressure spectrum according to the second power spectrum density.
[0093] Specifically, the server needs to perform Fourier transform on the oxygen pressure data and the carbon dioxide pressure data respectively. Fourier transform is a mathematical tool used to convert time domain data (data changes over time) into frequency domain data (data changes over frequency). For example, suppose there is oxygen pressure data recorded over a period of time. By performing Fourier transform on this data, the server can convert it into a frequency domain representation, which contains component information of different frequencies. This helps the server identify periodic vibrations or fluctuations in the signal. Calculate the power spectral density. The power spectral density represents the intensity of different frequency components of the signal in the frequency domain. The server calculates the power spectral density of the oxygen pressure data and the power spectral density of the carbon dioxide pressure data. To calculate the power spectral density, the server needs to square the Fourier transform result, which can be regarded as the intensity of the frequency domain component of the signal. This will produce a first power spectral density and a second power spectral density, corresponding to the frequency spectra of the oxygen and carbon dioxide signals, respectively. Based on the first and second power spectral densities, the server can generate the spectrum of oxygen and carbon dioxide. The spectrum is a graphical representation of the frequency components relative to their intensity. This can help the server visualize the frequency domain characteristics of the gas pressure data. For example, suppose that after the server performs a Fourier transform on the oxygen data, the server sees significant peaks at certain frequencies, indicating the presence of specific vibrations or fluctuations. These vibrations are associated with specific aspects of the industrial process. Similarly, after performing a Fourier transform on the carbon dioxide data and calculating the power spectral density, the server can identify the frequency components associated with changes in carbon dioxide pressure. This analysis can help the server better understand the behavior of gases in industrial processes and take appropriate measures when necessary. For example, if the server finds that vibrations at a specific frequency are associated with equipment failure, the server can perform repairs and maintenance early to improve production efficiency.
[0094] In a specific embodiment, if Figure 4 As shown, the process of executing step S104 may specifically include the following steps:
[0095] S401, performing spectrum segmentation on the oxygen pressure spectrum to obtain a plurality of first pressure spectrum segments, and performing spectrum segmentation on the carbon dioxide pressure spectrum to obtain a plurality of second pressure spectrum segments;
[0096] S402, extracting spectrum features from each first pressure spectrum segment respectively to obtain a plurality of first initial pressure feature sets, and extracting spectrum features from each second pressure spectrum segment respectively to obtain a plurality of second initial pressure feature sets;
[0097] S403, performing feature normalization on multiple first initial pressure feature sets to obtain a first oxygen pressure feature set, and performing feature normalization on multiple second initial pressure feature sets to obtain a first carbon dioxide pressure feature set.
[0098] Specifically, the oxygen pressure spectrum and the carbon dioxide pressure spectrum are spectrally segmented. The entire spectrum is divided into multiple smaller spectrum segments, which can be achieved by methods such as window functions. This will generate multiple first pressure spectrum segments and multiple second pressure spectrum segments. Spectral feature extraction is performed on each first pressure spectrum segment respectively. This involves extracting features related to oxygen pressure from each spectrum segment. Common spectral features include center frequency, spectrum width, peak amplitude, etc. These feature extraction methods usually use signal processing techniques such as Fourier transform, etc. At the same time, spectral feature extraction is performed on each second pressure spectrum segment. These feature extraction methods are similar to the first pressure spectrum segment, but should be designed for features related to carbon dioxide pressure. Multiple first pressure feature sets are feature normalized. The extracted features are normalized to ensure that they are on the same scale. This can be achieved using a normalization method, such as Z-score normalization. Similarly, multiple second pressure feature sets are feature normalized. This is to ensure that the second oxygen pressure feature sets are on the same scale. Through these steps, the server will obtain the first oxygen pressure feature set and the first carbon dioxide pressure feature set. These feature sets contain useful information extracted from the oxygen pressure and carbon dioxide pressure spectra, which can be used for subsequent analysis, modeling, or control purposes. For example, assume that the server divides the spectrum into different frequency bands, such as low-frequency bands and high-frequency bands. For the oxygen spectrum in the low-frequency band, the server extracts the main low-frequency vibration frequencies and the corresponding amplitudes. For the carbon dioxide spectrum in the high-frequency band, the server finds the frequencies and amplitudes of high-frequency vibrations. The server normalizes these features to ensure that they have similar ranges for better comparison and analysis. This enables the server to compare the characteristics of gas pressure in different spectrum bands and identify the impact of different frequency components on industrial processes. For example, the server will find that changes in carbon dioxide pressure in the high-frequency band are related to equipment vibrations, while changes in oxygen pressure in the low-frequency band are related to adjustments to the gas supply system.
[0099] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0100] (1) calculating a first characteristic compensation parameter of a first oxygen pressure characteristic set by using a first temperature-pressure relationship model, and calculating a second characteristic compensation parameter of a first carbon dioxide pressure characteristic set by using a second temperature-pressure relationship model;
[0101] (2) performing a characteristic weight analysis on the first characteristic compensation parameter to obtain a first pressure characteristic weight, and performing a characteristic weight analysis on the second characteristic compensation parameter to obtain a second pressure characteristic weight;
[0102] (3) performing feature weighting processing on the first oxygen pressure feature set according to the first pressure feature weight to obtain a second oxygen pressure feature set, and performing feature weighting processing on the first carbon dioxide pressure feature set according to the second pressure feature weight to obtain a second carbon dioxide pressure feature set.
[0103] Specifically, a first characteristic compensation parameter of the first oxygen pressure feature set is calculated using a first temperature-pressure relationship model. This parameter will be used to correct or compensate the first oxygen pressure feature set to take into account the effect of temperature on oxygen pressure. The calculation of the first characteristic compensation parameter is usually based on an established temperature-pressure relationship model. At the same time, a second characteristic compensation parameter of the first carbon dioxide pressure feature set is calculated using a second temperature-pressure relationship model. This parameter will be used to correct or compensate the first carbon dioxide pressure feature set to take into account the effect of temperature on carbon dioxide pressure. The calculation of the second characteristic compensation parameter is also based on the established temperature-pressure relationship model. A characteristic weight analysis is performed on the first characteristic compensation parameter. The first characteristic compensation parameter is analyzed to determine the importance of different parameters to the oxygen pressure feature. These weights can be assigned according to the degree of influence of the parameters. At the same time, a characteristic weight analysis is performed on the second characteristic compensation parameter. This can determine the importance of different parameters to the carbon dioxide pressure feature. According to the first pressure characteristic weight, the first oxygen pressure feature set is subjected to a characteristic weighting process. This will take into account the weight of each feature to generate a second oxygen pressure feature set. This weighting process can be achieved by a simple linear combination, in which each feature is multiplied by its corresponding weight and then added together. Similarly, the first carbon dioxide pressure feature set is feature weighted according to the second pressure feature weight, which will generate a second oxygen pressure feature set, in which the weight of each feature is taken into account.
[0104] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0105] (1) performing vector encoding on the second oxygen pressure feature set to obtain a first pressure feature encoding vector, and performing vector encoding on the second carbon dioxide pressure feature set to obtain a second pressure feature encoding vector;
[0106] (2) performing vector fusion on the first pressure feature coding vector and the second pressure feature coding vector to obtain a target fused feature coding vector;
[0107] (3) Inputting the target fusion feature encoding vector into a preset gas output pressure control analysis model, the gas output pressure control analysis model includes an encoding network, a decoding network and a strategy optimization network, the encoding network includes a bidirectional threshold recurrent unit, the decoding network includes a unidirectional threshold recurrent unit and a fully connected layer, and the strategy optimization network includes a genetic algorithm;
[0108] (4) Extracting features from the target fusion feature encoding vector through the bidirectional threshold recurrent unit in the encoding network to obtain the target high-dimensional pressure feature vector;
[0109] (5) Feature mapping is performed on the target high-dimensional pressure feature vector through the unidirectional threshold recurrent unit in the decoding network to obtain a target pressure feature mapping vector, and the gas output pressure control parameter is predicted on the target pressure feature mapping vector through the fully connected layer in the decoding network to obtain multiple initial pressure control parameters;
[0110] (6) Initializing the parameter strategies of multiple initial pressure control parameters through the genetic algorithm in the strategy optimization network to generate multiple initial pressure control parameter strategies;
[0111] (7) Calculating the fitness data of each initial pressure control parameter strategy respectively, and dividing the multiple initial pressure control parameter strategies into strategy groups according to the fitness data to obtain the strategy group division results;
[0112] (8) Generate a corresponding plurality of candidate pressure control parameter strategies according to the strategy group division results, and perform strategy optimization on the plurality of candidate pressure control parameter strategies to generate a target pressure control parameter strategy.
[0113] Specifically, the second oxygen pressure feature set is vector encoded. The data in the second oxygen pressure feature set is converted into a vector representation. This usually involves mapping the feature values into a multidimensional vector space for calculation and processing. Similarly, the second carbon dioxide pressure feature set is vector encoded. The first pressure feature encoding vector and the second pressure feature encoding vector are vector fused. This is the process of merging two feature encoding vectors into a target fused feature encoding vector. Fusion can be performed in various ways, such as simply connecting them or applying matrix operations to ensure that they are effectively combined. The target fused feature encoding vector is input into a preset gas output pressure control analysis model. This model includes an encoding network, a decoding network, and a policy optimization network. The encoding network usually includes a bidirectional threshold cycle unit for extracting features. The decoding network usually includes a unidirectional threshold cycle unit and a fully connected layer for mapping features into pressure control parameters. The policy optimization network usually includes a genetic algorithm for optimizing the pressure control strategy. The target fused feature encoding vector is feature extracted by the bidirectional threshold cycle unit in the encoding network to obtain a target high-dimensional pressure feature vector. This stage is used to extract effective features from the encoding for further processing in subsequent steps. The target high-dimensional pressure feature vector is feature mapped by the unidirectional threshold recurrent unit in the decoding network to obtain the target pressure feature mapping vector. This is a representation that maps high-dimensional features to lower dimensions in order to better predict the gas output pressure control parameters. Subsequently, the target pressure feature mapping vector is predicted by the fully connected layer in the decoding network to obtain multiple initial pressure control parameters. This step is used to generate initial estimates of the control parameters from the mapped features. The multiple initial pressure control parameters are initialized by the genetic algorithm in the strategy optimization network to generate multiple initial pressure control parameter strategies. Genetic algorithms are usually used to optimize parameter strategies to better meet specific performance indicators or goals. The fitness data of each initial pressure control parameter strategy is calculated. This is to evaluate the performance of each strategy so that it can be compared and selected in subsequent strategy optimization. According to the fitness data, the multiple initial pressure control parameter strategies are divided into strategy groups to obtain strategy group division results. This helps to divide the strategies into different groups so that the candidate strategies can be better selected. According to the strategy group division results, multiple candidate pressure control parameter strategies are generated, and the strategy optimization solution is performed on the multiple candidate strategies. This step will eventually generate a target pressure control parameter strategy for controlling the gas output pressure.
[0114] The gas pressure detection method in the embodiment of the present invention is described above. The gas pressure detection system in the embodiment of the present invention is described below. Figure 5 In one embodiment of the present invention, a gas pressure detection system includes:
[0115] A detection module 501 is used to set a sensor array of a target oxygen storage device based on an immersed boundary method, and detect the gas output pressure of the target oxygen storage device through the sensor array to obtain oxygen pressure data and carbon dioxide pressure data;
[0116] A construction module 502 is used to obtain the temperature monitoring data of the target oxygen storage device through the sensor array, and to construct a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data, and to construct a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data;
[0117] The conversion module 503 is used to perform pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and to perform pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum;
[0118] A feature extraction module 504 is used to perform feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and to perform feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set;
[0119] a feature compensation module 505, configured to perform feature compensation on the first oxygen pressure feature set by using the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and perform feature compensation on the first carbon dioxide pressure feature set by using the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set;
[0120] The analysis module 506 is used to input the second oxygen pressure feature set and the second carbon dioxide pressure feature set into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy.
[0121] Through the cooperation of the above components, the immersed boundary method and the sensor array can detect the oxygen and carbon dioxide pressure of the target oxygen storage device with high precision and provide accurate gas pressure data. The temperature-pressure relationship model is used to compensate the gas pressure feature set, which improves the stability and reliability of the system and enables accurate pressure detection results to be maintained under different temperature conditions. Through Fourier transform and power spectral density analysis, the optimized extraction of oxygen and carbon dioxide pressure spectra is achieved, which helps to capture more detailed information of gas pressure and improves the characterization ability of features. By using feature extraction and temperature feature compensation, key features are effectively extracted from the pressure spectrum, and compensation is performed through the temperature relationship model to improve the stability and consistency of the features. Through the encoding, decoding and strategy optimization network, the intelligent control of the target gas output pressure is realized, and the target pressure control parameter strategy adapted to different working conditions is generated. By comprehensively analyzing multiple feature sets and using vector fusion technology, the comprehensive analysis of oxygen and carbon dioxide is realized, which improves the system's adaptability to complex gas pressure conditions and thus improves the control accuracy of gas output pressure.
[0122] above Figure 5 The gas pressure detection system in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the gas pressure detection device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0123] Figure 6 is a structural schematic diagram of a gas pressure detection device provided by an embodiment of the present invention. The gas pressure detection device 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 610 (for example, one or more processors) and a memory 620, and one or more storage media 630 (for example, one or more mass storage devices) storing application programs 633 or data 632. Among them, the memory 620 and the storage medium 630 can be short-term storage or permanent storage. The program stored in the storage medium 630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the gas pressure detection device 600. Furthermore, the processor 610 can be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the gas pressure detection device 600.
[0124] The gas pressure detection device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input and output interfaces 660, and / or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 6 The structure of the gas pressure detection device shown does not constitute a limitation on the gas pressure detection device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0125] The present invention also provides a gas pressure detection device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the gas pressure detection method in the above-mentioned embodiments.
[0126] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the gas pressure detection method.
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0128] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0129] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A gas pressure detection method, characterized in that: The gas pressure detection method comprises: A sensor array of a target oxygen storage device is set based on an immersed boundary method, and a gas output pressure of the target oxygen storage device is detected by the sensor array to obtain oxygen pressure data and carbon dioxide pressure data; The temperature monitoring data of the target oxygen storage device is acquired through the sensor array, and a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data is constructed, and a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data is constructed; specifically comprising: monitoring the temperature of the gas output end of the target oxygen storage device through the sensor array to obtain the temperature monitoring data; performing kernel matrix calculation on the temperature monitoring data through a preset Gaussian kernel function to obtain a Gaussian kernel matrix; taking the oxygen pressure data as a first target value, and taking the Gaussian kernel matrix as a first characteristic matrix, and constructing a first input-output pair according to the first target value and the first characteristic matrix, and at the same time, calculating the temperature monitoring data through a preset Gaussian kernel function to obtain a Gaussian kernel matrix; ... The method comprises the following steps: taking the oxygen pressure data as the second target value, taking the Gaussian kernel matrix as the second characteristic matrix, and constructing a second input-output pair according to the second target value and the second characteristic matrix; performing Gaussian linear regression parameter calculation on the first input-output pair by a preset first Gaussian linear regression algorithm to obtain a first Gaussian linear regression parameter, and performing Gaussian linear regression parameter calculation on the second input-output pair by a preset second Gaussian linear regression algorithm to obtain a second Gaussian linear regression parameter; constructing a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data according to the first Gaussian linear regression parameter, and constructing a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data according to the second Gaussian linear regression parameter; Performing pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and performing pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum; Performing feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and performing feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set; Performing feature compensation on the first oxygen pressure feature set by using the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and performing feature compensation on the first carbon dioxide pressure feature set by using the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set; The second oxygen pressure feature set and the second carbon dioxide pressure feature set are input into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy; specifically comprising: vector encoding the second oxygen pressure feature set to obtain a first pressure feature encoding vector, and vector encoding the second carbon dioxide pressure feature set to obtain a second pressure feature encoding vector; vector fusion of the first pressure feature encoding vector and the second pressure feature encoding vector to obtain a target fusion feature encoding vector; inputting the target fusion feature encoding vector into a preset gas output pressure control analysis model, the gas output pressure control analysis model comprising an encoding network, a decoding network and a strategy optimization network, the encoding network comprising a bidirectional threshold cyclic unit, the decoding network comprising a unidirectional threshold cyclic unit and a fully connected layer, and the strategy optimization network comprising a genetic algorithm; through the bidirectional threshold cyclic unit in the encoding network Perform feature extraction on the target fusion feature encoding vector to obtain a target high-dimensional pressure feature vector; perform feature mapping on the target high-dimensional pressure feature vector through the unidirectional threshold cyclic unit in the decoding network to obtain a target pressure feature mapping vector, and predict the gas output pressure control parameters of the target pressure feature mapping vector through the fully connected layer in the decoding network to obtain multiple initial pressure control parameters; perform parameter strategy initialization on the multiple initial pressure control parameters through the genetic algorithm in the strategy optimization network to generate multiple initial pressure control parameter strategies; calculate the fitness data of each initial pressure control parameter strategy respectively, and divide the multiple initial pressure control parameter strategies into strategy groups according to the fitness data to obtain a strategy group division result; generate multiple corresponding candidate pressure control parameter strategies according to the strategy group division result, and perform strategy optimization solution on the multiple candidate pressure control parameter strategies to generate a target pressure control parameter strategy.
2. The gas pressure detection method according to claim 1, characterized in that: The sensor array of the target oxygen storage device is set based on the immersed boundary method, and the gas output pressure of the target oxygen storage device is detected by the sensor array to obtain oxygen pressure data and carbon dioxide pressure data, including: Based on the immersed boundary method, a sensor array is arranged at the gas output end of the target oxygen storage device, and the sensor array is connected to a data acquisition unit; The target oxygen storage device is tested for gas output pressure by the sensor array to obtain raw oxygen signal data and raw carbon dioxide signal data; Performing signal processing on the original oxygen signal data to obtain initial oxygen data, and performing signal processing on the original carbon dioxide signal data to obtain initial carbon dioxide data; The initial oxygen data is subjected to data filtering and data calibration to obtain oxygen pressure data, and the initial carbon dioxide data is subjected to data filtering and data calibration to obtain carbon dioxide pressure data.
3. The gas pressure detection method according to claim 1, characterized in that: The step of performing pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and performing pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum, comprises: Performing Fourier transformation on the oxygen pressure data to obtain a first Fourier transformation result, and performing Fourier transformation on the carbon dioxide pressure data to obtain a second Fourier transformation result; Square the first Fourier transform result to obtain a first power spectrum density, and square the second Fourier transform result to obtain a second power spectrum density; A corresponding oxygen pressure spectrum is generated according to the first power spectrum density, and a corresponding carbon dioxide pressure spectrum is generated according to the second power spectrum density.
4. The gas pressure detection method according to claim 1, characterized in that: The extracting features from the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and extracting features from the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set, include: Performing spectrum segmentation on the oxygen pressure spectrum to obtain a plurality of first pressure spectrum segments, and performing spectrum segmentation on the carbon dioxide pressure spectrum to obtain a plurality of second pressure spectrum segments; Extracting spectrum features from each first pressure spectrum segment respectively to obtain a plurality of first initial pressure feature sets, and extracting spectrum features from each second pressure spectrum segment respectively to obtain a plurality of second initial pressure feature sets; The plurality of first initial pressure feature sets are feature normalized to obtain a first oxygen pressure feature set, and the plurality of second initial pressure feature sets are feature normalized to obtain a first carbon dioxide pressure feature set.
5. The gas pressure detection method according to claim 1, characterized in that: The method of performing feature compensation on the first oxygen pressure feature set by using the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and performing feature compensation on the first carbon dioxide pressure feature set by using the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set, comprises: Calculating a first characteristic compensation parameter of the first oxygen pressure characteristic set by using the first temperature-pressure relationship model, and calculating a second characteristic compensation parameter of the first carbon dioxide pressure characteristic set by using the second temperature-pressure relationship model; Performing a characteristic weight analysis on the first characteristic compensation parameter to obtain a first pressure characteristic weight, and performing a characteristic weight analysis on the second characteristic compensation parameter to obtain a second pressure characteristic weight; The first oxygen pressure feature set is subjected to feature weighting processing according to the first pressure feature weight to obtain a second oxygen pressure feature set, and the first carbon dioxide pressure feature set is subjected to feature weighting processing according to the second pressure feature weight to obtain a second carbon dioxide pressure feature set.
6. A gas pressure detection system, characterized in that: The gas pressure detection system comprises: A detection module, used to set a sensor array of a target oxygen storage device based on an immersed boundary method, and detect the gas output pressure of the target oxygen storage device through the sensor array to obtain oxygen pressure data and carbon dioxide pressure data; A construction module is used to obtain the temperature monitoring data of the target oxygen storage device through the sensor array, and to construct a first temperature-pressure relationship model between the oxygen pressure data and the temperature monitoring data, and to construct a second temperature-pressure relationship model between the carbon dioxide pressure data and the temperature monitoring data; specifically comprising: monitoring the temperature of the gas output end of the target oxygen storage device through the sensor array to obtain the temperature monitoring data; performing kernel matrix calculation on the temperature monitoring data through a preset Gaussian kernel function to obtain a Gaussian kernel matrix; taking the oxygen pressure data as a first target value, and taking the Gaussian kernel matrix as a first characteristic matrix, and constructing a first input-output pair according to the first target value and the first characteristic matrix, and at the same time, calculating the temperature monitoring data through a preset Gaussian kernel function to obtain a Gaussian kernel matrix; The carbon pressure data is used as the second target value, and the Gaussian kernel matrix is used as the second characteristic matrix, and a second input-output pair is constructed according to the second target value and the second characteristic matrix; Gaussian linear regression parameters are calculated for the first input-output pair by a preset first Gaussian linear regression algorithm to obtain first Gaussian linear regression parameters, and Gaussian linear regression parameters are calculated for the second input-output pair by a preset second Gaussian linear regression algorithm to obtain second Gaussian linear regression parameters; a first temperature-pressure relationship model of the oxygen pressure data and the temperature monitoring data is constructed according to the first Gaussian linear regression parameters, and a second temperature-pressure relationship model of the carbon dioxide pressure data and the temperature monitoring data is constructed according to the second Gaussian linear regression parameters; a conversion module, used to perform pressure spectrum conversion on the oxygen pressure data to generate an oxygen pressure spectrum, and to perform pressure spectrum conversion on the carbon dioxide pressure data to generate a carbon dioxide pressure spectrum; a feature extraction module, configured to perform feature extraction on the oxygen pressure spectrum to obtain a first oxygen pressure feature set, and perform feature extraction on the carbon dioxide pressure spectrum to obtain a first carbon dioxide pressure feature set; a feature compensation module, configured to perform feature compensation on the first oxygen pressure feature set through the first temperature-pressure relationship model to obtain a second oxygen pressure feature set, and perform feature compensation on the first carbon dioxide pressure feature set through the second temperature-pressure relationship model to obtain a second carbon dioxide pressure feature set; The analysis module is used for inputting the second oxygen pressure feature set and the second carbon dioxide pressure feature set into a preset gas output pressure control analysis model to perform gas output pressure control analysis and generate a target pressure control parameter strategy; specifically comprising: vector encoding the second oxygen pressure feature set to obtain a first pressure feature encoding vector, and vector encoding the second carbon dioxide pressure feature set to obtain a second pressure feature encoding vector; vector fusion of the first pressure feature encoding vector and the second pressure feature encoding vector to obtain a target fusion feature encoding vector; inputting the target fusion feature encoding vector into a preset gas output pressure control analysis model, the gas output pressure control analysis model comprising an encoding network, a decoding network and a strategy optimization network, the encoding network comprising a bidirectional threshold cyclic unit, the decoding network comprising a unidirectional threshold cyclic unit and a fully connected layer, and the strategy optimization network comprising a genetic algorithm; through the bidirectional threshold cyclic unit in the encoding network The ring unit performs feature extraction on the target fusion feature coding vector to obtain a target high-dimensional pressure feature vector; the one-way threshold loop unit in the decoding network performs feature mapping on the target high-dimensional pressure feature vector to obtain a target pressure feature mapping vector, and the fully connected layer in the decoding network predicts the gas output pressure control parameters of the target pressure feature mapping vector to obtain multiple initial pressure control parameters; the genetic algorithm in the strategy optimization network performs parameter strategy initialization on the multiple initial pressure control parameters to generate multiple initial pressure control parameter strategies; the fitness data of each initial pressure control parameter strategy is calculated respectively, and the multiple initial pressure control parameter strategies are divided into strategy groups according to the fitness data to obtain strategy group division results; a corresponding multiple candidate pressure control parameter strategies are generated according to the strategy group division results, and the multiple candidate pressure control parameter strategies are optimized to generate a target pressure control parameter strategy.
7. A gas pressure detection device, characterized in that: The gas pressure detection device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the gas pressure detection device to perform the gas pressure detection method according to any one of claims 1 to 5.
8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the gas pressure detection method according to any one of claims 1 to 5 is implemented.
