A method for rapid on-site prediction of the surface tension of foam extinguishing agents

By integrating a high-speed camera and image recognition technology into the maximum bubble pressure method, and combining temperature compensation and machine learning models, the problems of bubble generation rate and pressure value accuracy are solved, enabling rapid and accurate prediction of the surface tension of foam extinguishing agents, which is suitable for on-site detection in complex high-temperature environments.

CN121499320BActive Publication Date: 2026-03-13TIANJIN FIRE SCI & TECH RES INST OF MEM
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-13
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In the existing technology, when measuring the surface tension of foam extinguishing agents using the maximum bubble pressure method, the bubble generation rate is not easy to control precisely, and the accuracy of the maximum pressure value read at the moment the bubble detaches is poor, resulting in low accuracy of the measurement results.

Method used

A small high-speed camera and an LED fiber optic cold light source are integrated into the measuring device. The bubble radius is determined by image recognition technology, the surface tension is calculated using the Laplace formula, and data mapping and prediction are performed by establishing a temperature-compensated machine learning model and using artificial neural networks.

Benefits of technology

It enables rapid and accurate prediction of the surface tension of foam extinguishing agents in complex high-temperature environments, meeting the requirements of convenient on-site operation and measurement accuracy, and providing reliable data support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121499320B_ABST
    Figure CN121499320B_ABST
Patent Text Reader

Abstract

This invention provides a method for rapidly predicting the surface tension of foam extinguishing agents on-site, comprising the following steps: S1, collecting surface tension data for different types of foam extinguishing agents under different temperature conditions; S2, using the first surface tension and temperature measured by a thermocouple as input data, and the second surface tension as output data; S3, establishing a machine learning model; S4, after initializing the model parameters, establishing a mapping relationship between the input and output data; S5, re-collecting the first surface tension and temperature as input data, and using the machine learning model to predict the second surface tension data. The method described in this invention, based on a high-speed camera and image recognition-based improved maximum bubble pressure method, combined with temperature compensation and a machine learning model, predicts the surface tension of foam extinguishing agents at fire-fighting and rescue sites, meeting the requirements of convenient on-site surface tension measurement operation, simple device structure, and high accuracy of surface tension measurement results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of fire protection, and in particular relates to a method for rapidly predicting the surface tension of foam extinguishing agents on site. Background Technology

[0002] Foam film-forming properties are a key factor determining the extinguishing effectiveness of aqueous film-forming foam (AFCF) fire extinguishing agents, while surface tension is an important parameter affecting its film-forming behavior. In firefighting and rescue operations, rapid and accurate detection of the surface tension of AFCF is crucial for evaluating its performance. Commonly used surface tension measurement methods include the capillary rise method, platinum ring method, platinum plate method, swirl drop method, drop drop method, and maximum bubble pressure method. Among these, the maximum bubble pressure method is suitable for the complex high-temperature environment of firefighting sites because it is insensitive to surface contamination; while the platinum ring method requires high cleanliness of the ring and sample cell, and is usually limited to laboratory conditions, making it unsuitable for complex environments such as high temperature and high pressure. Therefore, portable instruments based on the maximum bubble pressure method are often used for surface tension measurement in the field.

[0003] The search revealed the following publicly available patent documents related to this application, the specific contents of which are as follows:

[0004] Patent document CN117054295A discloses a testing device and method for dynamic surface tension using the bubble pressure method. It includes a pressure sensor, an air pump, a control unit, a flow sensor, and a needle, as well as a gas processing unit connected to a T-junction. One port of the T-junction is connected to an exhaust throttle valve, and the other port is connected to the air pump. This patent effectively solves the problems of existing bubble pressure methods for surface tension measurement, such as susceptibility to bubble movement pulses, influence from additional air pump pressure, inaccurate calculation of dynamic surface tension time, and inability to measure the equilibrium surface tension of surfactants during the bubble pressure method. These problems are addressed by adding a T-junction and an exhaust throttle valve at the air input end, as well as a gas storage chamber pressure plate and a silicone rubber pressure-reducing membrane to the gas processing unit.

[0005] Although the aforementioned patent uses the maximum bubble pressure method to measure surface tension, the bubble generation rate is not easy to control precisely, and the accuracy of the maximum pressure value read at the moment the bubble detaches is difficult to guarantee, resulting in poor accuracy of the surface tension measurement results. Summary of the Invention

[0006] In view of this, the present invention aims to propose a method for rapid on-site prediction of the surface tension of foam extinguishing agents, in order to solve the problems of poor accuracy in surface tension measurement results caused by the existing maximum bubble pressure method for measuring surface tension, which has difficulties in accurately controlling the bubble generation rate and ensuring the accuracy of the maximum pressure value read at the moment of bubble release.

[0007] To achieve the above objectives, the technical solution of the present invention is implemented as follows:

[0008] A method for rapidly predicting the surface tension of foam extinguishing agents on-site includes the following steps:

[0009] S1. Collect surface tension data of different types of foam extinguishing agents under different temperature conditions;

[0010] S2. Set the first surface tension and temperature as input data, set the second surface tension as output data, and preprocess the input and output data;

[0011] S3. Establish a machine learning model for predicting the surface tension of foam extinguishing agents based on temperature compensation;

[0012] S4. After initializing the model parameters, use the first surface tension and temperature as input data and the second surface tension as output data to establish a mapping relationship between the input data and the output data.

[0013] S5. Re-collect the first surface tension and temperature as input data, and use a machine learning model to predict the second surface tension data to obtain a rapid and accurate on-site prediction result of the surface tension of the foam extinguishing agent.

[0014] Furthermore, in step S1, the maximum bubble pressure method involves integrating a small high-speed camera, an LED fiber optic cold light source, a thermocouple, and an embedded microprocessor into the measuring device body. A capillary tube is inserted into the liquid, and gas is blown in to form a bubble. The LED fiber optic cold light source provides illumination to the bubble. The small high-speed camera captures dynamic images of bubble growth. An image recognition method is used to determine whether the bubble radius is consistent with the capillary radius. The internal pressure value of the bubble when they are consistent is extracted, and the surface tension is calculated according to the Laplace formula.

[0015] Furthermore, in step S1, the different types of foam extinguishing agents are 1% AFFF foam extinguishing agent, 3% AFFF foam extinguishing agent, 6% AFFF foam extinguishing agent, 3% AFFF / AR foam extinguishing agent, or 6% AFFF / AR foam extinguishing agent.

[0016] Furthermore, in step S1, the temperature range is 5-50℃.

[0017] Furthermore, in step S2, the surface tension measured by the maximum bubble pressure method and the temperature measured by the thermocouple are used as input data, and the input vector is represented as [γ_mbp, T].

[0018] The surface tension measured by the platinum ring method is the output data, and the output vector is represented as [γ_ring].

[0019] The preprocessing of input and output data includes normalizing the input data and mapping the input vector to the [0,1] region using the Min-Max method.

[0020]

[0021] in, This is the original data; This is the smallest data point in the original dataset; The largest data point in the original dataset; The data has been normalized.

[0022] The preprocessing of the output data is performed using the following formula:

[0023]

[0024] in, This is the original data; This is the processed data.

[0025] Furthermore, in step S3, the machine learning model for rapidly predicting the surface tension of foam extinguishing agents on-site is an artificial neural network (ANN) model or other machine learning models containing ANN. The multi-layer feedforward network of the artificial neural network model consists of an input layer, a hidden layer, and an output layer, with each unit layer consisting of several artificial neurons. The input layer has 2 artificial neurons, and the input layer data is the surface tension and temperature measured by the maximum bubble pressure method. The output layer has 1 artificial neuron, and the output layer data is the predicted surface tension data measured by the platinum ring method. The hidden layer has 3 hidden layers, and each hidden layer has 6 neurons. The data partitioning mode of the artificial neural network model is that the data samples are randomly divided into training data, validation data, and test data.

[0026] Furthermore, in step S5, a machine learning model is used to predict the data of the second surface tension, and the prediction accuracy is evaluated using the root mean square error (RMSE). The formula for calculating RMSE is as follows.

[0027]

[0028] in, The number of data points; and These are the experimental value and the predicted value, respectively.

[0029] Compared with existing technologies, the method for rapidly predicting the surface tension of foam extinguishing agents on-site according to the present invention has the following beneficial effects:

[0030] (1) The present invention provides a method for rapid on-site prediction of the surface tension of foam extinguishing agent. It uses the maximum bubble pressure method and the platinum ring method to measure surface tension data. The maximum bubble pressure method is improved based on high-speed photography and image recognition. It combines temperature compensation and machine learning models to predict the surface tension of foam extinguishing agent at the fire extinguishing and rescue site. It can meet the requirements of convenient on-site surface tension measurement operation, simple device structure and high accuracy of surface tension measurement results.

[0031] (2) The present invention provides a method for rapidly predicting the surface tension of foam extinguishing agents on site. This method utilizes the advantages of the maximum bubble pressure method, which is highly resistant to the environment and suitable for on-site use. Combined with the high-precision data of the laboratory standard method (platinum ring method), a machine learning dataset and prediction model based on temperature compensation are constructed. This method can quickly estimate the surface tension closer to the true value in complex and high-temperature fire extinguishing environments, effectively solving the problem that traditional methods are difficult to balance between ease of operation and measurement accuracy under on-site conditions.

[0032] (3) The method for rapid on-site prediction of surface tension of foam extinguishing agent described in this invention achieves real-time and efficient prediction of surface tension by establishing a machine learning model represented by artificial neural network. It is easy to operate, does not require complex and expensive equipment, can meet the needs of rapid on-site detection, and provides reliable data support for the quality judgment of fire extinguishing agent and the evaluation of fire extinguishing effectiveness at fire scene. Attached Figure Description

[0033] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0034] Figure 1 This is a schematic flowchart of a method for rapidly predicting the surface tension of foam extinguishing agents in the field, as described in an embodiment of the present invention.

[0035] Figure 2 This is a schematic diagram of a method for rapidly predicting the surface tension of foam extinguishing agents on-site, as described in an embodiment of the present invention.

[0036] Figure 3 The surface tension prediction result A is the artificial neural network training data described in this embodiment of the invention.

[0037] Figure 4 The surface tension prediction result B is the artificial neural network verification data described in this embodiment of the invention.

[0038] Figure 5 C represents the surface tension prediction result of the artificial neural network test data described in this embodiment of the invention. Detailed Implementation

[0039] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.

[0040] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.

[0041] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0042] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0043] A method for rapidly predicting the surface tension of foam extinguishing agents on-site includes the following steps:

[0044] S1. Thermocouples are placed inside the container of the liquid to be tested. The surface tension of different types of foam extinguishing agents under different temperature conditions is collected in a laboratory environment using the maximum bubble pressure method and the platinum ring method.

[0045] S2. The surface tension measured by the maximum bubble pressure method is the first surface tension. The first surface tension and the temperature measured by the thermocouple are used as input data. The surface tension measured by the platinum ring method is the second surface tension. The second surface tension is used as output data. The input data and output data are preprocessed.

[0046] S3. Establish a machine learning model for predicting the surface tension of foam extinguishing agents based on temperature compensation;

[0047] S4. After initializing the model parameters, use the first surface tension and temperature as input data and the second surface tension as output data to establish a mapping relationship between the input data and the output data.

[0048] S5. Re-collect the first surface tension and temperature as input data, and use a machine learning model to predict the second surface tension data to obtain a rapid and accurate on-site prediction result of the surface tension of the foam extinguishing agent.

[0049] In step S1, the maximum bubble pressure method integrates a small high-speed camera, an LED fiber optic cold light source, a thermocouple, and an embedded microprocessor into the measuring device body. In this embodiment, the measuring device body is a K100C fully automatic surface tension meter, and the small high-speed camera, LED fiber optic cold light source, thermocouple, and embedded microprocessor are all existing technologies. A capillary tube is inserted into the liquid and gas is blown in to form a bubble. The LED fiber optic cold light source provides illumination to the bubble, and the small high-speed camera captures dynamic images of bubble growth. An image recognition method is used to determine whether the bubble radius is consistent with the capillary radius. The internal pressure value of the bubble when they are consistent is extracted, and the surface tension is calculated according to the Laplace formula.

[0050] This paper proposes a method to measure surface tension using the maximum bubble pressure method and the platinum ring method. The maximum bubble pressure method is improved based on high-speed photography and image recognition. Combined with temperature compensation and a machine learning model, this method predicts the surface tension of foam extinguishing agents at fire-fighting and rescue sites. It meets the requirements of convenient operation, simple device structure, and high accuracy in surface tension measurement. This method leverages the advantages of the maximum bubble pressure method—its strong environmental tolerance and suitability for field use—and combines high-precision data from the standard laboratory method (platinum ring method) to construct a temperature-compensated machine learning dataset and prediction model. This allows for the rapid estimation of surface tension values ​​closer to the true values ​​in complex, high-temperature fire-fighting environments, effectively solving the problem of traditional methods struggling to balance operational convenience and measurement accuracy under field conditions.

[0051] In a laboratory environment, the surface tension values ​​(γ-ring) of different types of foam extinguishing agents under different temperature conditions were collected using the platinum ring method. The platinum ring method was performed using the SITA DynoTester+, and the different types of foam extinguishing agents mentioned in step S1 were 1% AFFF foam extinguishing agent, 3% AFFF foam extinguishing agent, 6% AFFF foam extinguishing agent, 3% AFFF / AR foam extinguishing agent, or 6% AFFF / AR foam extinguishing agent. The temperature range for data collection was 5-50℃.

[0052] The input data consists of surface tension measured by the maximum bubble pressure method and temperature measured by thermocouples, denoted as [γ_mbp, T]. The output data consists of surface tension measured by the platinum ring method, denoted as [γ_ring].

[0053] The input and output data are preprocessed, including normalizing the input data and mapping the input vector to the [0,1] region using the Min-Max method.

[0054]

[0055] in, This is the original data; This is the smallest data point in the original dataset; The largest data point in the original dataset; This is the data after normalization.

[0056] The preprocessing of the output data is performed using the following formula:

[0057]

[0058] in, This is the original data; This is the processed data.

[0059] Before evaluating the predictive performance, the data needs to be inversely transformed to remap the prediction results back to the original data range. The prediction performance of the machine learning is then evaluated using the inversely transformed prediction results.

[0060] A machine learning model, represented by an artificial neural network, was established for rapid on-site prediction of the surface tension of foam extinguishing agents. Model parameter initialization included randomly setting initial values ​​for weights and corresponding biases. The multi-layered feedforward network of the artificial neural network model consisted of an input layer, hidden layers, and an output layer, with each unit layer composed of several artificial neurons. The input layer had 2 artificial neurons, and the input data consisted of surface tension and temperature measured by the maximum bubble pressure method; the output layer had 1 artificial neuron, and the output data consisted of predicted surface tension measured by the platinum ring method; the hidden layers had 3 layers, each with 6 neurons. The data partitioning pattern for the artificial neural network model involved randomly dividing the data samples into training data, validation data, and test data. 70% of the data was used for training (30 sets of experimental data), 15% for validation (7 sets of experimental data), and 15% for testing (7 sets of experimental data). The model was trained using the training data, and the surface tension prediction result A of the artificial neural network training data is shown below. Figure 3As shown in Table 1, the experimental and predicted values ​​of the training data are presented. The model was evaluated using validation data, and the surface tension prediction result B of the artificial neural network validation data is shown in the table. Figure 4 As shown in Table 2, the experimental and predicted values ​​of the validation data are presented. The surface tension prediction result C of the artificial neural network test data is shown in Table 2. Figure 5 As shown in Table 3, the experimental and predicted values ​​of the test data are presented.

[0061] Table 1. Experimental and predicted values ​​of surface tension from artificial neural network training data.

[0062]

[0063] Table 2. Experimental and predicted values ​​of surface tension from artificial neural network validation data.

[0064]

[0065] Table 3. Experimental and predicted values ​​of surface tension from artificial neural network training data.

[0066]

[0067] Table 4. Surface tension data measured by the maximum bubble pressure method and the platinum ring method.

[0068]

[0069] The trained and validated machine learning model was used to predict the surface tension test data. The prediction accuracy was evaluated using the root mean square error (RMSE), which is calculated using the following formula.

[0070]

[0071] in, The number of data points; and These are the experimental value and the predicted value, respectively.

[0072] The root mean square errors (RMSE) of the constructed machine learning model for rapid on-site prediction of foam extinguishing agent surface tension were 0.405, 0.83, and 0.93 for the training, validation, and test data, respectively. According to Table 4, the RMSE of the surface tension not predicted by the machine learning model (measured by the maximum bubble pressure method) was 1.68. The prediction results of the machine learning model for rapid on-site prediction of foam extinguishing agent surface tension constructed in this invention show good agreement with the experimental data.

[0073] By establishing machine learning models represented by artificial neural networks, real-time and efficient prediction of surface tension can be achieved. The operation is simple and does not require complex and expensive equipment. It can meet the needs of rapid on-site detection and provides reliable data support for judging the quality of fire extinguishing agents and evaluating fire extinguishing effectiveness at fire scenes.

[0074] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for rapidly predicting the surface tension of a foam extinguishing agent on site, characterized by: It comprises the following steps, S1, collecting the surface tension of different types of foam extinguishing agent under different temperature conditions; S2, setting the first surface tension and temperature as input data, setting the second surface tension as output data, and preprocessing the input data and output data; S3, establishing a machine learning model for predicting the surface tension of foam extinguishing agent based on temperature compensation; S4, after initializing the model parameters, using the first surface tension and temperature in step S2 as input data, and the second surface tension as output data, to establish the mapping relationship between input data and output data; S5, re-collecting the first surface tension and temperature as input data, using the machine learning model to predict the second surface tension data, and obtaining the on-site fast and accurate prediction result of the surface tension of foam extinguishing agent; In step S2, the first surface tension is measured by the maximum bubble pressure method, and the temperature measured by the thermocouple is used as input data, and the input vector is represented as [gamma_mbp, T]; The second surface tension is measured by the platinum ring method, and the surface tension measured by the platinum ring method is used as output data, and the output vector is represented as [gamma_ring]; The preprocessing of input data and output data includes normalization processing of input data, and the input vector is mapped to the [0, 1] region by using the Min-Max method: wherein, x i is the original data; x min is the minimum data in the original data; x max is the maximum data in the original data; x nor is the normalized data; The preprocessing of output data uses the following formula: wherein, y i is raw data; y nor is processed data.

2. A method of rapidly predicting the surface tension of a foam extinguishing agent on site according to claim 1, characterized in that: In step S1, a thermocouple needs to be arranged inside the liquid loading container, and the surface tension is collected by using the maximum bubble pressure method and the platinum ring method in the laboratory environment. The maximum bubble pressure method integrates a small high-speed camera, an LED fiber cold light source, a thermocouple and an embedded microprocessor into the measurement device body. A capillary tube is inserted into the liquid and gas is blown into the capillary tube to form a bubble. The LED fiber cold light source provides light for the bubble, and the small high-speed camera collects the dynamic image of the bubble growth. The image recognition method is used to judge whether the bubble radius is consistent with the capillary tube radius. The corresponding bubble internal pressure value is extracted when they are consistent. The surface tension is calculated according to the Laplace formula.

3. A method of rapidly predicting the surface tension of a foam extinguishing agent on site according to claim 1, characterized in that: In step S1, the different types of foam extinguishing agent are AFFF foam extinguishing agent or AFFF / AR foam extinguishing agent with different contents.

4. A method of rapidly predicting the surface tension of a foam extinguishing agent on site according to claim 1, characterized in that: In step S1, the temperature range is 5-50℃.

5. A method of rapidly predicting the surface tension of a foam extinguishing agent on site according to claim 1, characterized in that: In step S3, the machine learning model for fast prediction of the surface tension of foam extinguishing agent at least includes an artificial neural network model, and the multi-layer structure of the feedforward network of the artificial neural network model is composed of an input layer, a hidden layer and an output layer. Each unit layer is composed of a plurality of artificial neurons; the number of artificial neurons in the input layer is 2, and the input layer data is the surface tension and temperature measured by the maximum bubble pressure method; the number of artificial neurons in the output layer is 1, and the output layer data is the predicted platinum ring method measured surface tension data; the number of hidden layers is 3, and the number of neurons in each hidden layer is 6; the data division mode of the artificial neural network model is that the data samples are randomly divided into training data, validation data and test data.

6. A method of rapidly predicting the surface tension of a foam extinguishing agent on site according to claim 1, characterized in that: In step S5, the machine learning model is used to predict the data of the second surface tension, and the prediction accuracy is evaluated by using a root mean square error, and a calculation formula of the root mean square error is as follows: wherein, n is the number of data points; y Exp,m and y Pre,m are the experimental and predicted values, respectively.

Citation Information

Patent Citations

  • Device and method for testing dynamic surface tension through bubble pressure method

    CN117054295A

  • High-speed controllable temperature dynamic interfacial tension meter and test method

    CN104865167A

  • Mixed surfactant system surface tension prediction method and system based on machine learning

    CN120877931A