A formaldehyde concentration detection method based on a nano sensor and an FPNet

By using SnO₂ nanomaterials and the FPNet prediction network, the problems of insufficient sensitivity and accuracy of regression prediction algorithms in existing formaldehyde gas sensors are solved, and high-precision formaldehyde concentration detection is achieved.

CN117451793BActive Publication Date: 2026-11-24SOUTHWEST UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311388995.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2026-11-24
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

In existing technologies, the sensitivity of formaldehyde gas sensors and the accuracy of regression prediction algorithms are insufficient, making it difficult to achieve high-precision detection of formaldehyde concentration.

Method used

A gas sensor was fabricated using SnO₂ nanomaterials and combined with an FPNet prediction network. The MOF material Sn-MOF was synthesized via a microwave method. The sensor data was then optimized using the FPNet model to achieve high-precision formaldehyde concentration detection.

Benefits of technology

This improved the accuracy of the gas sensor's response value and prediction model, achieving high-precision detection of formaldehyde concentration, far exceeding the detection capabilities of commercial sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117451793B_ABST
    Figure CN117451793B_ABST
Patent Text Reader

Abstract

The application discloses a formaldehyde concentration detection method based on a nano sensor and an FPNet, and comprises the following steps: 1) preparing SnO2 nano material; 2) preparing a gas sensor by using the SnO2 nano material; 3) monitoring the formaldehyde gas concentration by using the gas sensor and transmitting the formaldehyde gas concentration to an upper computer; 4) constructing an FPNet prediction network; and 5) inputting the formaldehyde gas concentration into the FPNet prediction network to obtain an accurate formaldehyde concentration result. The application can realize accurate prediction of the formaldehyde concentration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of formaldehyde concentration detection, specifically a formaldehyde concentration detection method based on nanosensors and FPNet. Background Technology

[0002] Formaldehyde is a colorless, flammable gas with a pungent odor, widely used in the production of resins, plastics, textiles, and wood products. However, as a strong irritant, formaldehyde poses significant health and environmental hazards, causing profound and harmful effects on the respiratory, skin, and eye systems. Therefore, developing highly sensitive, reliable, and efficient gas sensors to monitor formaldehyde concentrations in residential environments is crucial.

[0003] An electronic nose (E-nose) consists of a gas sensor, a signal processing unit, and a pattern recognition algorithm. It utilizes artificial sensing technology to detect and identify various chemical substances based on their odor characteristics. Specifically, it compares the detected odor features with a predefined odor database to determine the corresponding substance. Therefore, a high-performance electronic nose requires a highly sensitive gas sensor and an accurate regression prediction algorithm.

[0004] Metal-oxide-semiconductor (MOS) sensors have been widely used to detect gas concentrations in the atmosphere. Several studies have reported on the use of various MOS sensors for formaldehyde detection, including ZnO, TiO2, WO3, In2O3, CuO, MnO2, and SnO2. SnO2, a typical n-type semiconductor with a relatively large band gap of 3.6 eV, is a promising metal oxide for gas sensing applications due to its excellent electrical properties and chemical stability.

[0005] Gas sensing performance is influenced by a variety of factors, including the surface area and crystal structure of the sensing material. The increased specific surface area of ​​nanomaterials provides more surface-active reaction sites, which is beneficial for the adsorption and reaction of gas molecules, thereby enhancing their gas sensing capabilities. Furthermore, the crystal structure of nanomaterials may differ from that of micrometer-scale materials, exhibiting higher lattice distortion, more lattice defects, and higher surface energy. These characteristics all contribute to improving the gas sensing performance of nanomaterials. Metal-organic frameworks (MOFs) are three-dimensional network structures composed of metal ions and organic ligands linked together by coordination bonds. These materials possess significant advantages, including large specific surface area, tunable pore size and shape, and predictable structure and chemical properties. Therefore, MOFs are widely used in the development of gas sensors.

[0006] Besides high-performance sensors based on sensing materials, regression prediction algorithms also play a crucial role in electronic nose systems. However, existing research shows that the accuracy of prediction models often falls short of practical requirements. Therefore, the urgent task is to determine a high-precision regression model. Summary of the Invention

[0007] The purpose of this invention is to provide a formaldehyde concentration detection method based on nanosensors and FPNet, comprising the following steps:

[0008] 1) Fabrication of SnO2 nanomaterials;

[0009] 2) Fabrication of gas sensors using SnO2 nanomaterials;

[0010] 3) Use a gas sensor to monitor the formaldehyde gas concentration and transmit the data to the host computer;

[0011] 4) Construct the FPNet prediction network;

[0012] 5) Input the gas sensor data into the FPNet prediction network to obtain accurate formaldehyde concentration results.

[0013] Furthermore, the steps for fabricating SnO2 nanomaterials include:

[0014] 1.1) Completely dissolve 1,3,5-benzenetricarboxylic acid in N,N-dimethylformamide solution and add SnCl4-5H2O;

[0015] 1-2) Stir magnetically until completely dissolved, then transfer the resulting solution to a microwave reactor for heating at 150°C.

[0016] 1.3) After the solution temperature reaches 55℃, the solution is removed and centrifuged; the product after centrifugation is washed multiple times with deionized water and dried to obtain the precursor Sn-MOF;

[0017] 1.4) The precursor Sn-MOF was calcined at high temperature to obtain SnO2 nanomaterials.

[0018] Furthermore, the steps for fabricating a gas sensor using SnO2 nanomaterials include:

[0019] 2.1) Four platinum wires are pre-installed at both ends of the alumina ceramic tube, and a nickel-chromium alloy coil is inserted into the alumina ceramic tube as a heating wire;

[0020] 2.2) Weld the two ends of the platinum wire and the heating wire to the electrode post in sequence;

[0021] 2.3) Mix SnO2 nanomaterials with anhydrous ethanol to form a slurry, and coat it uniformly on the surface of the alumina ceramic tube, ensuring that the SnO2 nanomaterials completely cover the electrode surface.

[0022] Furthermore, after the gas sensor is fabricated, it needs to be aged for 7 days at a temperature of 120°C.

[0023] Furthermore, the host computer is equipped with the JF02F testing system.

[0024] Furthermore, the gas sensor's response value to formaldehyde is shown below:

[0025] S = R a / R g

[0026] In the formula, R a and R g These are the resistances of the sensor in air and formaldehyde, respectively; S is the response value of the gas sensor to formaldehyde.

[0027] Furthermore, the FPNet prediction network includes a multi-layer residual structure.

[0028] Furthermore, the parameters of the FPNet prediction network are determined using a cosine annealing optimization algorithm;

[0029] Furthermore, the learning rate η of the FPNet prediction network... t As shown below:

[0030]

[0031] Where i is the index value, This represents the maximum value of the learning rate. T represents the minimum learning rate; cur Indicates how many epochs have been executed so far; T i This is the total calendar year.

[0032] The technical effectiveness of this invention is undeniable. This invention synthesizes a MOF material, Sn-MOF, using a microwave method, and then obtains SnO2 nanomaterials with a high specific surface area through a calcination process. The experimentally obtained tin dioxide nanomaterials are then coated onto an alumina ceramic tube to fabricate a gas sensing device. Subsequently, a sensor array consisting of a manganese dioxide gas sensor and five commercial sensors is used to detect formaldehyde at different concentrations, obtaining relevant datasets. These datasets are then trained using the proposed FPNet model, achieving accurate prediction of formaldehyde concentration with excellent evaluation metrics. Attached Figure Description

[0033] Figure 1 Images from the sensor. Figure 1(a) Before coating the tin dioxide sensing material Figure 1 (b) After coating, the magnified area shows the atomic structure of the tin dioxide film and formaldehyde molecules.

[0034] Figure 2 This is a data acquisition experimental setup.

[0035] Figure 3 This is a diagram of the FPNet architecture.

[0036] Figure 4 (a) shows the normalized resistance variation curves of the six sensors. Figure 4 (b) shows the response / recovery curve of the sulfur dioxide sensor to 100 ppm formaldehyde gas.

[0037] Figure 5 The sulfur dioxide sensor developed for this study and the commercial sensor's response to 100 ppm formaldehyde.

[0038] Figure 6 (a) shows the resistance curves of the tin dioxide sensor to different concentrations of formaldehyde; Figure 6 (b) is Figure 6 (a) is a magnified detail of a portion of the concentration.

[0039] Figure 7 It serves as an evaluation index for residual structures with different numbers of layers. Figure 7 (a) represents the mean squared error (MSE). Figure 7 (b) represents MAPE (Mean Absolute Percentage Error). Figure 7 (c) is R 2 .

[0040] Figure 8 A comparison of evaluation metrics between the baseline neural network without cosine annealing and FPNet: Figure 8 (a) represents MSE. Figure 8 (b) is MAPE. Figure 8 (c) is R 2 .

[0041] Figure 9 A comparison of evaluation metrics for CNN and FPNet: Figure 9 (a) represents MSE. Figure 9 (b)MAPE, Figure 9 (c) is R 2 ;

[0042] In the diagram, electrode post 1, platinum wire 2, alumina ceramic tube 3, and nickel-chromium alloy coil 4 are shown. Detailed Implementation

[0043] The present invention will be further described below with reference to embodiments, but it should not be construed that the scope of the present invention is limited to the following embodiments. Various substitutions and modifications made based on ordinary technical knowledge and common practices in the art without departing from the above-described technical concept of the present invention should be included within the scope of protection of the present invention.

[0044] Example 1:

[0045] See Figures 1 to 9 A method for formaldehyde concentration detection based on nanosensors and FPNet includes the following steps:

[0046] 1) Fabrication of SnO2 nanomaterials;

[0047] 2) Fabrication of gas sensors using SnO2 nanomaterials;

[0048] 3) Use a gas sensor to monitor the formaldehyde gas concentration and transmit the data to the host computer;

[0049] 4) Construct the FPNet prediction network;

[0050] 5) The data obtained from the gas sensor is fed into the FPNet prediction network to obtain an accurate formaldehyde concentration result. The FPNet prediction network is used to optimize the monitoring results of the gas sensor to obtain a more accurate formaldehyde concentration.

[0051] The steps involved in fabricating SnO2 nanomaterials include:

[0052] 1.1) Completely dissolve 1,3,5-benzenetricarboxylic acid in N,N-dimethylformamide solution and add SnCl4-5H2O;

[0053] 1.2) Stir magnetically until completely dissolved, then transfer the resulting solution to a microwave reactor for heating at 150°C;

[0054] 1.3) After the solution temperature reaches 55℃, the solution is removed and centrifuged; the product after centrifugation is washed multiple times with deionized water and dried to obtain the precursor Sn-MOF;

[0055] 1.4) The precursor Sn-MOF was calcined at high temperature to obtain SnO2 nanomaterials.

[0056] The steps for fabricating a gas sensor using SnO2 nanomaterials include:

[0057] 2.1) Four platinum wires are pre-installed at both ends of the alumina ceramic tube, and a nickel-chromium alloy coil 4 is inserted into the alumina ceramic tube 3 as a heating wire;

[0058] 2.2) Weld the two ends of the platinum wire 2 and the heating wire to the electrode post 1 in sequence;

[0059] 2.3) Mix SnO2 nanomaterials with anhydrous ethanol to form a slurry, and coat it uniformly on the surface of the alumina ceramic tube, ensuring that the SnO2 nanomaterials completely cover the electrode surface.

[0060] After the gas sensor is fabricated, it needs to be aged at 120°C for 7 days.

[0061] The host computer is equipped with the JF02F testing system.

[0062] The gas sensor's response to formaldehyde is shown below:

[0063] S = R a / R g

[0064] In the formula, R a and R g These are the resistances of the sensor in air and formaldehyde, respectively; S is the response value of the gas sensor to formaldehyde.

[0065] The FPNet prediction network includes a multi-layer residual structure.

[0066] The parameters of the FPNet prediction network are determined using a cosine annealing optimization algorithm;

[0067] Among them, the learning rate η of the FPNet prediction network t As shown below:

[0068]

[0069] Where i is the index value. This represents the maximum value of the learning rate. This represents the minimum value of the learning rate, defining the operating range of the learning rate. T cur This indicates how many epochs have been executed so far, but T cur It will be updated after each batch runs, at which point no epoch has been executed yet, therefore T cur The value of T can be a decimal. i This is the total calendar year.

[0070] Example 2:

[0071] A method for formaldehyde concentration detection based on nanosensors and FPNet includes the following steps:

[0072] 1) Fabrication of SnO2 nanomaterials;

[0073] 2) Fabrication of gas sensors using SnO2 nanomaterials;

[0074] 3) Use a gas sensor to monitor the formaldehyde gas concentration and transmit the data to the host computer;

[0075] 4) Construct the FPNet prediction network;

[0076] 5) Input the formaldehyde gas concentration into the FPNet prediction network to obtain the accurate formaldehyde concentration result.

[0077] Example 3:

[0078] A method for formaldehyde concentration detection based on nanosensors and FPNet, with the same technical content as in Example 2, further comprising the following steps for fabricating SnO2 nanomaterials:

[0079] 1.1) Completely dissolve 1,3,5-benzenetricarboxylic acid in N,N-dimethylformamide solution and add SnCl4-5H2O;

[0080] 1.2) Stir magnetically until completely dissolved, then transfer the resulting solution to a microwave reactor for heating at 150°C;

[0081] 1.3) After the solution temperature reaches 55℃, the solution is removed and centrifuged; the product after centrifugation is washed multiple times with deionized water and dried to obtain the precursor Sn-MOF;

[0082] 1.4) The precursor Sn-MOF was calcined at high temperature to obtain SnO2 nanomaterials.

[0083] Example 4:

[0084] A method for formaldehyde concentration detection based on nanosensors and FPNet, with the same technical content as any one of Examples 2-3, further comprising the steps of fabricating a gas sensor using SnO2 nanomaterials including:

[0085] 2.1) Four platinum wires are pre-installed at both ends of the alumina ceramic tube, and a nickel-chromium alloy coil is inserted into the alumina ceramic tube as a heating wire;

[0086] 2.2) Weld the two ends of the platinum wire and the heating wire to the electrode post in sequence;

[0087] 2.3) Mix SnO2 nanomaterials with anhydrous ethanol to form a slurry, and coat it uniformly on the surface of the alumina ceramic tube, ensuring that the SnO2 nanomaterials completely cover the electrode surface.

[0088] Example 5:

[0089] A formaldehyde concentration detection method based on nanosensors and FPNet, with the same technical content as any one of Examples 2-4. Furthermore, after the gas sensor is prepared, it needs to be aged at 120°C for 7 days.

[0090] Example 6:

[0091] A formaldehyde concentration detection method based on nanosensors and FPNet, with the same technical content as any one of Examples 2-5, and further, the host computer is equipped with a JF02F testing system.

[0092] Example 7:

[0093] A formaldehyde concentration detection method based on nanosensors and FPNet, with the same technical content as any one of Examples 2-6, further wherein the response value of the gas sensor to formaldehyde is as follows:

[0094] S = R a / R g

[0095] In the formula, R a and R g These are the resistances of the sensor in air and formaldehyde, respectively; S is the response value of the gas sensor to formaldehyde.

[0096] Example 8:

[0097] A formaldehyde concentration detection method based on nanosensors and FPNet, with the same technical content as any one of Examples 2-7, further wherein the FPNet prediction network includes a multilayer residual structure.

[0098] Example 9:

[0099] A formaldehyde concentration detection method based on nanosensors and FPNet, with the same technical content as any one of Examples 2-3, further wherein the parameters of the FPNet prediction network are determined by a cosine annealing optimization algorithm;

[0100] Example 10:

[0101] A method for formaldehyde concentration detection based on nanosensors and FPNet, with the same technical content as any one of Examples 2-9, further wherein the learning rate η of the FPNet prediction network is... t As shown below:

[0102]

[0103] Where i is the index value. This represents the maximum value of the learning rate. This represents the minimum value of the learning rate, defining the operating range of the learning rate. T cur This indicates how many epochs have been executed so far, but T cur It will be updated after each batch runs, at which point no epoch has been executed yet, therefore T cur The value of T can be a decimal. i This is the total calendar year.

[0104] Example 11:

[0105] A method for formaldehyde concentration detection based on nanosensors and FPNet is described below:

[0106] 1. Material growth

[0107] All reagents used in the experiment were analytical grade and required no further purification. The preparation of the MOF sacrificial template included the following steps: 0.12608 g of 1,3,5-benzenetricarboxylic acid was completely dissolved in 20 mL of N,N-dimethylformamide solution. Then, 0.26052 g of SnCl₄·5H₂O was metered and added to the above solution, and the mixture was magnetically stirred until completely dissolved. The resulting solution was then transferred to a microwave reactor and heated at 220 °C for 40 minutes. After reaching 55 °C, the solution was removed, and the milky white solution was centrifuged at 10,000 rpm for 10 minutes. The product was then washed several times with deionized water and dried at 80 °C for 12 hours to obtain the precursor Sn-MOF. Finally, the sacrificial template obtained in the above operation was calcined in air at 400 °C for 2 hours to obtain SnO₂ in a specific form.

[0108] 2. Fabrication of the sensor device

[0109] First, four platinum wires are pre-attached to both ends of an alumina ceramic tube with a diameter of 1 mm and a length of 4 mm, and a nickel-chromium alloy coil is inserted into the tube as a heating wire. Then, the two ends of the four platinum wires and the heating wire are sequentially soldered to six electrode posts on a black substrate, as shown below. Figure 1 As shown in (a). Finally, the obtained SnO2 nanomaterials were mixed with a small amount of anhydrous ethanol to form a slurry, which was then uniformly coated onto the surface of the ceramic tube to ensure that the sensing material completely covered the gold electrode surface, as shown. Figure 1 As shown in (b). During the experimental phase, formaldehyde molecules reacted with the tin dioxide nanocoating on the surface of the gas sensor, as... Figure 1 (b) shows the magnified area.

[0110] 3. Data Collection

[0111] Before conducting gas sensing tests, the prepared gas sensor was aged at 200°C for 7 days. For example... Figure 2As shown, the gas sensing performance of the sensor under static conditions was evaluated using the JF02F testing system and dedicated apparatus from Kunming Guizhou Research Institute of Technology Co., Ltd. The sensor prepared in the above experiment was placed in a TM-101 gas detection device, which was placed in a static chamber. The heating voltage was adjusted to 2.81V to maintain the optimal operating temperature of tin dioxide at 120℃. A certain amount of formaldehyde solution was carefully and precisely dispensed onto the heating stage using a micro-sampling needle. After the heating and evaporation process was completed, the sensor captured the generated signal and then transmitted it to the JF02F testing system via an RS232 interface. During the experiment, a certain amount of 37% CH2O solution was injected into the evaporator surface within the chamber using a micro-injection needle. A small fan was used in the test chamber to enhance gas diffusion. After the reaction reached a stable state, the test chamber was opened to allow the gas to dissipate.

[0112] Under the previous conditions, the correlation expression between the volume of the CH2O aqueous solution and the concentration of HCHO gas in the chamber is defined as follows:

[0113]

[0114] Where V x (mL) represents the injection volume of the CH2O aqueous solution; C (ppm) represents the concentration of the target gas; V (mL) represents the volume of the gas chamber, with the static gas chamber volume used for testing being 18.63 L; M represents the molecular weight of CH2O; d (g / mL) represents the density of the CH2O aqueous solution; p represents the weight ratio of CH2O in the aqueous solution, with the gas molar volume being 24.2 L / mol under the conditions of 22℃ and 101.3 kPa.

[0115] The collected dataset includes measurement results for 20 different concentrations of formaldehyde. To ensure sufficient data points, each concentration was measured 20 times, with a sampling frequency of 10 Hz, and 660 sampling points were uniformly extracted for each curve. Therefore, 400 × 6 reaction curves were obtained, each curve including the reaction phase, steady state, and recovery phase. The dataset is divided into 400 files, each file corresponding to one response cycle at a specific concentration.

[0116] 4. Sensor data analysis

[0117] In this section, to ensure the accuracy of concentration predictions and the reliability of the dataset, we constructed a sensor array by placing five commonly used commercial sensors and a sulfur dioxide sensor together in a gas detection chamber. Table 1 lists the models of these sensors. The responses of the sulfur dioxide sensor and the five commercial sensors to formaldehyde gas were evaluated. Subsequently, the sensor array was used to detect 20 different concentrations and gradients of formaldehyde. Finally, an analysis was performed to understand the response mechanism of the sulfur dioxide sensor to formaldehyde gas.

[0118] Table 1. Model and sensor responses in the experiment.

[0119]

[0120] To compare the response, the resistance values ​​of all sensors were normalized. Figure 5 It can be seen that the normalized sulfur dioxide gas sensor has a faster response time and a more stable response curve compared to commercial sensors. For example... Figure 5 As shown, the SnO2 sensor has a response time of 15 seconds, which is much faster than commercial sensors. From Figure 4 The response / recovery curve in (b) shows that the sulfur dioxide sensor's response value to 100 ppm formaldehyde is 15.098, calculated using the following formula:

[0121] S = R a / R g

[0122] Where R a and R g These represent the resistance of the sensor in air and formaldehyde, respectively. The responses of all sensors shown in Table 2 were also calculated using the above formulas.

[0123] Figure 6 This study compares the responses of a sulfur dioxide sensor and five commercially available sensors to 100 ppm formaldehyde, calculated using a formula. Among all sensors, the sulfur dioxide sensor exhibited the highest response to formaldehyde, reaching 15.098, significantly higher than all commercially available sensors.

[0124] like Figure 7 As shown in (a), the resistance curve of the self-made manganese dioxide sensor to formaldehyde exhibits a gradient change with increasing formaldehyde gas concentration. For example, when the gas concentration increases from 50 ppm to 70 ppm, the resistance decreases from 13 kΩ to 10 kΩ. Figure 7 As shown in (b), this observation highlights the crucial role of the self-made tin dioxide gas sensor in accurately predicting formaldehyde concentrations.

[0125] 5. Methodology

[0126] ResNet, a variant of CNN, is a large-scale network composed of residual blocks, significantly larger than models like AlexNet and VGG-16. This mechanism allows ResNet to be deeper than traditional networks while effectively avoiding the problems of vanishing gradients and training difficulties. This study investigated the impact of the number of residual structure layers on prediction performance and, based on this, incorporated cosine annealing to reduce the learning rate during training, helping the model converge to the optimal solution. The optimized ResNet was used for formaldehyde concentration prediction and named FPNet. A schematic diagram of the proposed FPNet network structure is shown below. Figure 3 As shown, the structure comprises a three-layer residual structure and cosine annealing. Normalized 400×660×6 data is input into the FPNet structure, and then three evaluation metrics are output.

[0127] 5.1. Cosine Annealing Method

[0128] Cosine annealing is a learning rate scheduling method used in optimization algorithms to help models converge to the optimal solution more quickly. In traditional annealing, the learning rate is typically decreased gradually according to a certain pattern in each training cycle or fixed step. Cosine annealing, on the other hand, utilizes the shape of the cosine function to smoothly reduce the learning rate during training.

[0129] The basic principle of cosine annealing is that the learning rate is gradually decreased during a training cycle, and then increased again in the next training cycle, and so on. The principle is as follows:

[0130]

[0131] The shape of the cosine function allows the learning rate to vary significantly at the beginning, less so in the middle, and more significantly again in the final stage of training. This oscillation helps the model escape local optima and explore the space of global optima.

[0132] 5.2. FPNet Model Optimization This section first optimizes and validates the parameters of FPNet using our dataset. Next, several evaluation metrics are set to measure the performance of the proposed network. Validation experiments are then conducted on the proposed model, including determining the optimal number of residual block layers and performing ablation experiments. Finally, FPNet and CNN are compared.

[0133] 5.3. Selection of the Number of Residual Layers

[0134] To achieve better prediction results, the number of residual layers was adjusted. Experiments were conducted on residual blocks with different numbers of layers, yielding ideal results, as shown below. Figure 8As shown in the figure. It can be demonstrated that, in terms of evaluation criteria, the 3-layer residual structure is more accurate than the 2-layer structure. The optimal evaluation index for each layer residual structure is shown in Table 4. To ensure the accuracy and visibility of the experimental results, the experiment was repeated for each layer, running for 1000 epochs each time, and the last 500 epochs are shown in all the charts below. The results show that the 3-layer residual structure is more accurate than other structures in predicting formaldehyde gas concentration.

[0135] 5.4. Ablation Test

[0136] Subtraction experiments are also used to evaluate the impact of neurons, layers, or other components on network performance and function. In this work, the residual layers of ResNet were modified, and cosine annealing was added to the network structure to obtain optimal prediction accuracy. For visualization purposes, the last 500 epochs were used for comparison. Figure 9 As shown, the baseline model without cosine annealing has a lower fit than FPNet. Therefore, the model using cosine annealing is significantly more stable.

[0137] 6. Conclusion

[0138] This study synthesized Sn-MOF using a microwave method and prepared SnO2 nanomaterials with high specific surface area through a calcination process. A gas sensor based on the prepared SnO2 was fabricated, exhibiting a response as high as 15.098, significantly higher than that of commercial sensors. Subsequently, a series of datasets were collected using a manganese dioxide sensor and five commercial sensors, with a total dataset size of 400×660×6.

[0139] The research then focuses on optimizing the ResNet model by adjusting the number of layers in the residual structure and combining it with cosine annealing. Different variants of FPNet with varying numbers of residual structure layers were compared, and the results show that the FPNet with three layers achieves the best evaluation metrics, with an MSE of 9.003, a MAPE of 0.015, and an R-value of [missing value]. 2 The efficiency score was 0.998. Furthermore, ablation experiments were conducted to verify the necessity of cosine annealing in FPNet. Results show that cosine annealing promotes model convergence to the optimal solution by gradually reducing the learning rate during training. Finally, the study found that FPNet outperforms CNN in terms of evaluation metrics. This work proposes a novel approach to electronic nose research, covering all aspects from gas material synthesis to gas sensor fabrication, data acquisition, and neural network prediction algorithm optimization.

Claims

1. A method for formaldehyde concentration detection based on nanosensors and FPNet, characterized in that, Includes the following steps: Step 1, Making Nanomaterials; Step 2, using Gas sensors made of nanomaterials; Step 3: Use a gas sensor to monitor the formaldehyde gas concentration and transmit the data to the host computer; Step 4: Construct the FPNet prediction network; Step 5: Input the formaldehyde gas concentration detected by the gas sensor into the FPNet prediction network to obtain the accurate formaldehyde concentration result; The steps involved in fabricating SnO2 nanomaterials include: Step 1.1, will Tribenzene acid is completely dissolved in Add dimethylformamide solution and add ; Step 1.2: Stir magnetically until completely dissolved, then transfer the resulting solution to a microwave reactor for heating at 150°C. Step 1.3: After the solution temperature reaches 55℃, remove the solution and centrifuge it; wash the centrifuged product several times with deionized water and dry it to obtain the precursor. ; Step 1.4, for the precursor High-temperature calcination is performed to obtain Nanomaterials; The FPNet prediction network includes a multi-layer residual structure; The parameters of the FPNet prediction network are determined using a cosine annealing optimization algorithm.

2. The formaldehyde concentration detection method based on nanosensors and FPNet according to claim 1, characterized in that, use The steps involved in fabricating a gas sensor using nanomaterials include: Step 2.1: Pre-install 4 platinum wires at both ends of the alumina ceramic tube, and insert a nickel-chromium alloy coil into the alumina ceramic tube as a heating wire; Step 2.2: Weld the two ends of the platinum wire and the heating wire to the electrode post in sequence; Step 2.3, will Nanomaterials are mixed with anhydrous ethanol to form a slurry, which is then uniformly coated onto the surface of an alumina ceramic tube, ensuring... Nanomaterials completely cover the electrode surface.

3. The formaldehyde concentration detection method based on nanosensors and FPNet according to claim 1, characterized in that, After the gas sensor is fabricated, it needs to be aged at 120°C for 7 days.

4. The formaldehyde concentration detection method based on nanosensors and FPNet according to claim 1, characterized in that, The host computer is equipped with the JF02F testing system.

5. The formaldehyde concentration detection method based on nanosensors and FPNet according to claim 1, characterized in that, The gas sensor's response to formaldehyde is shown below: In the formula, and These are the resistances of the sensor in air and formaldehyde, respectively; S is the response value of the gas sensor to formaldehyde.

6. The formaldehyde concentration detection method based on nanosensors and FPNet according to claim 1, characterized in that, FPNet predicts the learning rate of the network As shown below: (1) in, It is an index value. This represents the maximum value of the learning rate. This represents the minimum value of the learning rate; Indicates how many epochs have been executed so far; This is the total calendar year.

Citation Information

Patent Citations

  • Artificial intelligent measuring method for formaldehyde concentration

    CN109781809A

  • Preparation method of formaldehyde gas sensor based on SnO2 nanoparticles

    CN116559243A