Fire-fighting water supply regulation control system and method based on artificial intelligence
By setting up water pressure sensors in the fire hydrant water supply pipeline, real-time monitoring and calculating the water pressure loss value, dynamically adjusting the power of the fire water pump, the water pressure loss problem caused by corners in the fire hydrant water supply pipeline is solved, and the fire extinguishing effect and emergency response capabilities are improved .
Patent Information
- Application Number
- CN202510020266.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-02-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The corners in the fire hydrant water supply pipe increase the water pressure loss, resulting in insufficient water pressure control during fire extinguishing, affecting the fire extinguishing effect and efficiency.
By setting up a water pressure sensor, the water pressure changes in the fire hydrant water supply pipeline are monitored in real time, the water pressure loss value along the route and the local loss value are calculated, and the power of the fire water pump is dynamically adjusted to meet different water flow needs.
Accurate monitoring and prediction of the water pressure of fire hydrant water supply pipes is achieved, ensuring that the water pressure is always maintained at an appropriate level during the fire extinguishing process, improving emergency response capabilities, and reducing the risk of energy waste and equipment failure.
Smart Images

Figure CN119406019A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of big data analysis, and in particular to a fire water supply regulation control system and method based on artificial intelligence. Background Art
[0002] The existence of fire protection is of great significance in protecting the safety of life and property. It can not only effectively prevent the occurrence of fires, but also quickly control and extinguish fires when they occur, reducing casualties and property losses. The improvement of fire protection facilities and systems provides a solid guarantee for emergency response, ensuring rapid response in emergency situations. At the same time, the existence of fire protection has enhanced the overall sense of security of the society, promoted the development of public safety management and urbanization, and become an indispensable part of social operation and residents' lives, reflecting its important role in maintaining social stability.
[0003] Fire hydrants are a key firefighting equipment used to provide a water source for firefighting, ensuring that fire hoses can be quickly connected when a fire occurs, and supporting firefighters to effectively extinguish fires. However, during the installation of fire hydrants, the water supply pipes need to be erected above the ground and bypass obstacles, and corners are inevitable in the design. These corners increase the water pressure loss value, making the flow of water in the pipe complicated. The superposition of this water pressure loss leads to inaccurate water pressure control during firefighting, which in turn affects the firefighting effect, may reduce firefighting efficiency and delay rescue time. Summary of the invention
[0004] The purpose of the present invention is to provide a fire water supply regulation control system and method based on artificial intelligence to solve the problems raised in the prior art.
[0005] To achieve the above object, the present invention provides the following technical solution: a fire water supply regulation and control method based on artificial intelligence, the fire water supply regulation and control method comprising the following steps: Step S1, setting a water pressure data collection cycle, and obtaining water pressure data of the outer side of the corner position of the fire hydrant water supply pipe closest to the fire hydrant according to the water pressure data collection cycle, and water pressure data of the straight section adjacent to the corner position and far from one end of the fire hydrant; Step S1-1, a water pressure sensor is arranged outside the corner position of the fire hydrant water supply pipe closest to the fire hydrant, and on a straight section adjacent to the corner position and away from one end of the fire hydrant to monitor the water pressure of the fire hydrant water supply pipe; Step S1-2: Set a water pressure data collection period T, use a water pressure sensor to obtain water pressure data of the fire hydrant water supply pipe according to the water pressure data collection period T, and store and record the collected water pressure data.
[0006] Setting a water pressure data collection cycle and installing water pressure sensors at key locations can help monitor water pressure changes in fire hydrant water supply pipes in real time, thereby identifying potential problems and abnormal conditions in a timely manner. By regularly collecting and storing water pressure data, pipeline performance can be effectively analyzed to ensure the reliability and safety of the water supply system.
[0007] Step S2, calculating the water pressure loss along the fire hydrant water supply pipe according to the water pressure data outside the corner position and the water pressure data of the straight section; According to the water pressure data obtained by the water pressure sensor, the water pressure loss along the water flow in the fire hydrant water supply pipe is calculated. The water pressure loss along the water flow is calculated as follows: ; Where P along It is expressed as the water pressure loss along the fire hydrant water supply pipe; P straight It is represented by the water pressure data of the monitoring position of the straight section of the fire hydrant water supply pipeline; P corner Represented as water pressure data at the monitored location outside the corner of the fire hydrant water supply pipe.
[0008] Calculating the water pressure loss along the fire hydrant water supply pipe helps evaluate the pipe performance and water flow efficiency. By comparing the water pressure data of the straight section and the corner position, the water pressure loss caused by the change of pipe shape can be identified, thus providing data support for optimizing the design and operation of the water supply system and ensuring the reliability and effectiveness of fire water supply.
[0009] Step S3, obtaining the water flow velocity of the fire hydrant water supply pipeline, calculating the local water pressure loss value of the fire hydrant water supply pipeline according to the water flow velocity, and obtaining the total water pressure loss value in the fire hydrant water supply pipeline in combination with the water pressure loss value along the way; Step S3-1, obtain the water flow velocity of the fire hydrant water supply pipe, and calculate the local water pressure loss value of the straight section water pressure data and the water pressure data outside the corner position according to the obtained water flow velocity. The local water pressure loss value is calculated using the following formula: ; Where P n part Expressed as the local water pressure loss value at position n; K n It is represented by the local loss coefficient corresponding to the position n; M represents the density of water flow; V represents the flow velocity of water in the fire hydrant water supply pipe; n represents the position where the local water pressure loss value is calculated; Step S3-2: Calculate the total water pressure loss value of the water flow in the fire hydrant water supply pipeline in combination with the water pressure loss value along the fire hydrant water supply pipeline. The total water pressure loss value calculation formula of the fire hydrant water supply pipeline is as follows: ; Where P all It is expressed as the total water pressure loss value of water flow in the fire hydrant water supply pipe; It is expressed as the local water pressure loss value of water flow in the straight section of the fire hydrant water supply pipe; It is expressed as the local water pressure loss value outside the corner of the fire hydrant water supply pipe.
[0010] By calculating the local water pressure loss values at straight sections and corners, and combining them with the water pressure loss values along the way, the total water pressure loss of the fire hydrant water supply pipeline can be comprehensively evaluated. This process helps to identify potential sources of water pressure loss, improve the operating efficiency of the water supply system, and provide data support for maintenance and optimization of pipeline design, thereby ensuring the reliability of fire water sources in emergency situations.
[0011] Step S4, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and setting a water pressure loss abnormal threshold value according to the historical water pressure data; Step S4-1, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and obtaining historical water pressure data based on each water pressure data collection period T; Step S4-2, calculating the average and standard deviation of the historical water pressure loss values of the fire hydrant water supply pipeline according to the historical water pressure data, and there is only one total water pressure loss value in one historical water pressure data collection period T; Step S4-3: Use the calculated average value and standard deviation to set the water pressure loss abnormal threshold R max , according to the water pressure data collection cycle T, the water pressure loss abnormal threshold R is dynamically updated. max , water pressure loss abnormal threshold R max The specific process of setting and dynamic updating is as follows: Water pressure loss abnormal threshold R max The setting formula is: ; In the formula, R max It is represented by the abnormal threshold of water pressure loss; u is represented by the average value of the historical water pressure loss value of the fire hydrant water supply pipeline; l is represented by the sensitivity coefficient of the abnormal threshold of water pressure loss; h is represented by the standard deviation of the historical water pressure loss value of the fire hydrant water supply pipeline; Water pressure loss abnormal threshold R max Dynamic update formula: ; In the formula, u new Expressed as the average value of water pressure loss after update; h new Expressed as the standard deviation of the updated water pressure loss value, It is represented as the abnormal threshold of water pressure loss after dynamic update; each time new water pressure loss data is stored in the historical water pressure data, the updated average value u is used new and standard deviation h new Update the abnormal threshold of water pressure loss and set R max The value of .
[0012] By obtaining historical water pressure data and calculating its average and standard deviation, a dynamic water pressure loss abnormal threshold Rmax can be established. This mechanism enables the change of water pressure loss to be reflected in a timely manner during the operation of the fire hydrant water supply pipeline, thereby enhancing the flexibility and adaptability of the system. The dynamically updated threshold helps to identify abnormal situations in a timely manner and ensure the safety and reliability of the water supply system under various working conditions.
[0013] Step S5, creating a water pressure loss anomaly set, combining the water pressure loss anomaly threshold, making an abnormal judgment on the water pressure loss value in the fire hydrant water supply pipeline, and adding the judgment result to the water pressure loss anomaly set after processing; Create a water pressure loss anomaly set, which is a set consisting of numbers 1 and 0. Use the water pressure loss anomaly threshold as a judgment condition to perform an abnormal judgment on the water pressure loss value of the fire hydrant water supply pipeline obtained. The judgment process is as follows: When R max <P all When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is abnormal within the current water pressure data collection period T, and the result is marked as 1 and added to the water pressure loss abnormality set; When R max ≥P all When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is within the normal range within the current water pressure data collection period T, and the result is marked as a number 0 and added to the water pressure loss anomaly set.
[0014] Step S6: predict the water pressure data anomaly of the fire hydrant water supply pipeline in the next water pressure data collection cycle according to the water pressure loss anomaly set, and adjust the power of the fire hydrant water supply pump according to the predicted water pressure data anomaly result.
[0015] Step S6-1, construct a state transfer matrix according to the water pressure loss anomaly set, determine the transition probabilities from state 0 to state 0, state 0 to state 1, state 1 to state 0, and state 1 to state 1, the state transfer matrix is in the form of: ; Use the latest number added to the current water pressure loss anomaly set to predict the number added to the water pressure loss anomaly set during the next water pressure data collection cycle T. The prediction calculation uses the following formula: In the next water pressure data collection cycle T, the probability that the number added to the water pressure loss anomaly set is 1 is: ; The probability that the number added to the water pressure loss anomaly set is 0 during the next water pressure data collection cycle T is: ; In the formula, S n Represents the state within the current water pressure data collection cycle T; S n+1 It represents the state in the next water pressure data collection cycle T; Step S6-2: Make a judgment based on the predicted probability, and use the judgment result to adjust the power of the fire hydrant water supply pump. The adjustment process is as follows: When P (S n+1 =1)≥P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is higher than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , adjust the power of the fire hydrant water supply pump to the minimum power required when the number in the water pressure loss abnormality set is 0; When P (S n+1 =1)<P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is lower than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , there is no need to adjust the power of the fire hydrant water supply pump; When the water pressure loss anomaly set number is 0, the minimum power required is calculated using the following formula: ; In the formula, W represents the power that needs to be adjusted by the fire hydrant water supply pump; Q represents the water flow rate of the fire hydrant water supply pipe; Z represents the efficiency of the fire hydrant water supply pump; when the number in the water pressure loss anomaly set is 0, the minimum power required is W.
[0016] The benefit of using prediction and adjustment is to improve system efficiency and stability. By identifying water pressure loss in advance and adjusting the water supply pump power in time, insufficient water pressure can be avoided during fire extinguishing, the risk of equipment failure can be reduced, and the water demand for different fire extinguishing can be adapted.
[0017] Further, a fire water supply regulation and control system based on artificial intelligence, the fire water supply regulation and control system includes a data acquisition module, a water pressure loss calculation module, a historical data analysis module, an abnormality judgment module and a power regulation module; The data acquisition module is used to collect data generated when the fire hydrant is used; the water pressure loss calculation module is used to calculate the water pressure loss along the way, the local water pressure loss value and the total water pressure loss value of the water flow in the fire hydrant water supply pipeline; the abnormality judgment module is used to judge the abnormality of the water pressure loss value; the power adjustment module is used to adjust the power of the fire hydrant water supply pump according to the prediction result; The output end of the data acquisition module is electrically connected to the input end of the water pressure loss calculation module; the output end of the water pressure loss calculation module is electrically connected to the input end of the historical data analysis module; the output end of the historical data analysis module is electrically connected to the input end of the abnormality judgment module; the output end of the abnormality judgment module is electrically connected to the input end of the power regulation module.
[0018] The data acquisition module includes a sensor unit and a data storage unit; the sensor unit is used to manage each sensor; the data storage unit is used to store data acquired by each sensor; The water pressure loss calculation module includes an along-the-way loss calculation unit and a local loss calculation unit; the along-the-way loss calculation unit is used to calculate the water pressure loss along the water pressure; the local loss calculation unit is used to calculate the local water pressure loss of the fire hydrant water supply pipeline; The historical data analysis module includes a historical data collection unit and a threshold management unit; the historical data collection unit is used to collect and store historical water pressure data of the fire hydrant water supply pipeline; the threshold management unit is used for historical data analysis and setting the water pressure loss abnormal threshold.
[0019] The abnormality judgment module includes an abnormality detection unit and a result processing unit; the abnormality detection unit is used to judge the abnormality of the water pressure loss value; the result processing unit is used to process the judgment result and add the water pressure loss value that meets the conditions to the water pressure loss abnormality set; The power regulation module includes a prediction and analysis unit and a power regulation unit; the prediction and analysis unit is used to predict the water pressure data anomaly in the next water pressure data collection cycle; the power regulation unit is used to regulate the power of the fire hydrant water supply pump.
[0020] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention can quickly identify potential abnormal situations by monitoring the water pressure changes in the fire hydrant water supply pipeline in real time and calculating the water pressure loss. During the fire fighting process, it ensures that the water pressure is always maintained at an appropriate level to avoid fire fighting failure due to insufficient water pressure. This efficient early warning mechanism significantly improves emergency response capabilities, ensuring that at critical moments, the fire brigade can obtain the required water volume and water pressure to effectively respond to emergencies such as fires.
[0021] 2. The present invention can effectively avoid unnecessary energy waste by dynamically adjusting the power of the fire pump to adapt to different water flow requirements. In actual operation, the operating state of the water supply pump is adjusted in time to provide the best water flow and water pressure when needed, thereby reducing unnecessary energy consumption.
[0022] 3. Through historical data analysis and real-time monitoring, the present invention can timely discover potential problems in the fire hydrant water supply pipeline and ensure that the water pressure loss value under normal working conditions is within an acceptable range. The dynamically updated water pressure loss abnormal threshold makes the system more flexible and adaptable, and can quickly respond to the water pressure requirements of the fire extinguishing environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a flow chart of a fire water supply regulation and control method based on artificial intelligence of the present invention; Figure 2 The present invention is a structural schematic diagram of a fire water supply regulation and control system based on artificial intelligence. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Embodiment 1: Figure 1 As shown, the present invention provides a technical solution, a fire water supply regulation and control method based on artificial intelligence, and the fire water supply regulation and control method comprises the following steps: Step S1, setting a water pressure data collection cycle, and obtaining water pressure data of the outer side of the corner position of the fire hydrant water supply pipe closest to the fire hydrant according to the water pressure data collection cycle, and water pressure data of the straight section adjacent to the corner position and far from one end of the fire hydrant; Step S1-1, a water pressure sensor is arranged outside the corner position of the fire hydrant water supply pipe closest to the fire hydrant, and on a straight section adjacent to the corner position and away from one end of the fire hydrant to monitor the water pressure of the fire hydrant water supply pipe; Step S1-2: Set a water pressure data collection period T, use a water pressure sensor to obtain water pressure data of the fire hydrant water supply pipe according to the water pressure data collection period T, and store and record the collected water pressure data.
[0026] Step S2, calculating the water pressure loss along the fire hydrant water supply pipe according to the water pressure data outside the corner position and the water pressure data of the straight section; According to the water pressure data obtained by the water pressure sensor, the water pressure loss along the water flow in the fire hydrant water supply pipe is calculated. The water pressure loss along the water flow is calculated by the following formula: ; Where P along It is expressed as the water pressure loss along the fire hydrant water supply pipe; P straight It is represented by the water pressure data of the monitoring position of the straight section of the fire hydrant water supply pipeline; P corner Represented as water pressure data at the monitored location outside the corner of the fire hydrant water supply pipe.
[0027] Step S3, obtaining the water flow velocity of the fire hydrant water supply pipeline, calculating the local water pressure loss value of the fire hydrant water supply pipeline according to the water flow velocity, and obtaining the total water pressure loss value in the fire hydrant water supply pipeline in combination with the water pressure loss value along the way; Step S3-1, obtain the water flow velocity of the fire hydrant water supply pipe, and calculate the local water pressure loss value of the straight section water pressure data and the water pressure data outside the corner position according to the obtained water flow velocity. The local water pressure loss value is calculated using the following formula: ; Where P n part Expressed as the local water pressure loss value at position n; K n It is represented by the local loss coefficient corresponding to the position n; M represents the density of water flow; V represents the flow velocity of water in the fire hydrant water supply pipe; n represents the position where the local water pressure loss value is calculated; Step S3-2: Calculate the total water pressure loss value of the water flow in the fire hydrant water supply pipeline in combination with the water pressure loss value along the fire hydrant water supply pipeline. The total water pressure loss value calculation formula of the fire hydrant water supply pipeline is as follows: ; Where P all It is expressed as the total water pressure loss value of water flow in the fire hydrant water supply pipe; It is expressed as the local water pressure loss value of water flow in the straight section of the fire hydrant water supply pipe; It is expressed as the local water pressure loss value outside the corner of the fire hydrant water supply pipe.
[0028] Step S4, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and setting a water pressure loss abnormal threshold value according to the historical water pressure data; Step S4-1, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and obtaining historical water pressure data based on each water pressure data collection period T; Step S4-2, calculating the average and standard deviation of the historical water pressure loss values of the fire hydrant water supply pipeline according to the historical water pressure data, and there is only one total water pressure loss value in one historical water pressure data collection period T; Step S4-3: Use the calculated average value and standard deviation to set the water pressure loss abnormal threshold R max , according to the water pressure data collection cycle T, the water pressure loss abnormal threshold R is dynamically updated. max , water pressure loss abnormal threshold R max The specific process of setting and dynamic updating is as follows: Water pressure loss abnormal threshold R max The setting formula is: ; In the formula, R max It is represented by the abnormal threshold of water pressure loss; u is represented by the average value of the historical water pressure loss value of the fire hydrant water supply pipeline; l is represented by the sensitivity coefficient of the abnormal threshold of water pressure loss; h is represented by the standard deviation of the historical water pressure loss value of the fire hydrant water supply pipeline; Water pressure loss abnormal threshold R max Dynamic update formula: ; In the formula, u new Expressed as the average value of water pressure loss after update; h new Expressed as the standard deviation of the updated water pressure loss value, It is represented as the abnormal threshold of water pressure loss after dynamic update; each time new water pressure loss data is stored in the historical water pressure data, the updated average value u is used new and standard deviation h new Update the abnormal threshold of water pressure loss and set R max The value of .
[0029] Step S5, creating a water pressure loss anomaly set, combining the water pressure loss anomaly threshold, making an abnormal judgment on the water pressure loss value in the fire hydrant water supply pipeline, and adding the judgment result to the water pressure loss anomaly set after processing; Create a water pressure loss anomaly set, which is a set consisting of numbers 1 and 0. Use the water pressure loss anomaly threshold as a judgment condition to perform an abnormal judgment on the water pressure loss value of the fire hydrant water supply pipeline obtained. The judgment process is as follows: When R max <P all When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is abnormal within the current water pressure data collection period T, and the result is marked as 1 and added to the water pressure loss abnormality set; When R max ≥Pall When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is within the normal range within the current water pressure data collection period T, and the result is marked as a number 0 and added to the water pressure loss anomaly set.
[0030] Step S6: predict the water pressure data anomaly of the fire hydrant water supply pipeline in the next water pressure data collection cycle according to the water pressure loss anomaly set, and adjust the power of the fire hydrant water supply pump according to the predicted water pressure data anomaly result.
[0031] Step S6-1, construct a state transfer matrix according to the water pressure loss anomaly set, determine the transition probabilities from state 0 to state 0, state 0 to state 1, state 1 to state 0, and state 1 to state 1, the state transfer matrix is in the form of: ; Use the latest number added to the current water pressure loss anomaly set to predict the number added to the water pressure loss anomaly set during the next water pressure data collection cycle T. The prediction calculation uses the following formula: In the next water pressure data collection cycle T, the probability that the number added to the water pressure loss anomaly set is 1 is: ; In the next water pressure data collection cycle T, the probability that the number added to the water pressure loss anomaly set is 0 is: ; In the formula, S n Represents the state within the current water pressure data collection cycle T; S n+1 It represents the state in the next water pressure data collection cycle T; Step S6-2: Make a judgment based on the predicted probability, and use the judgment result to adjust the power of the fire hydrant water supply pump. The adjustment process is as follows: When P (S n+1 =1)≥P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is higher than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , adjust the power of the fire hydrant water supply pump to the minimum power required when the number in the water pressure loss abnormality set is 0; When P (S n+1 =1)<P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is lower than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , there is no need to adjust the power of the fire hydrant water supply pump; When the water pressure loss anomaly set number is 0, the minimum power required is calculated using the following formula: ; In the formula, W represents the power that needs to be adjusted by the fire hydrant water supply pump; Q represents the water flow rate of the fire hydrant water supply pipe; Z represents the efficiency of the fire hydrant water supply pump; when the number in the water pressure loss anomaly set is 0, the minimum power required is W.
[0032] For example, the water pressure data collection period T = 10 seconds, the water pressure data outside the corner position P corner =2.5bar, straight section water pressure data P straight =3.0bar; water flow velocity V of fire hydrant water supply pipe = 2m / s; water flow density M = 1000kg / m 3 ; Local loss coefficient K of the straight section of the fire hydrant water supply pipeline straight =0.2; local loss coefficient K outside the corner of the fire hydrant water supply pipe corner =0.5; the data of the water pressure loss anomaly set is {001100011010} Calculate the water pressure loss along the way: Bring in known input for calculation, the calculation process is: P along =3.0-2.5=0.5bar; Calculate the local water pressure loss value: Substitute known inputs for calculation, and the calculation process of the local water pressure loss value of the straight section is: =0.2*1000*4 / 2=0.004bar; The calculation process of the local water pressure loss value outside the corner of the fire hydrant water supply pipe is: =0.5*1000*4 / 2=0.01bar; The total water pressure loss of the fire hydrant water supply pipeline is: P all =0.5+0.004+0.01=0.514bar; The average value of the historical water pressure loss of the fire hydrant water supply pipeline is u=0.45bar; the standard deviation is h=0.05bar; the sensitivity coefficient is l=1.5; Bring in known data to set the abnormal threshold of water pressure loss, and set the calculation as follows: R max =0.45+1.5*0.05=0.525bar; 0.525>0.514, we get R max >P all ; It is determined that within the current water pressure data acquisition period T, the water pressure loss value generated in the fire hydrant water supply pipeline is within the normal range, and the result is marked as the number 0 and added to the water pressure loss anomaly set.
[0033] P(S n+1 =1|S n =0)=P(0->1)≈0.429; P(S n+1 =1|S n =0)=P(0->0)≈0.571; 0.429 < 0.571, it is concluded that P(S n+1 =1)<P(S n+1 =0), it is determined that in the next water pressure data acquisition period T, the water pressure loss value generated in the fire hydrant water supply pipeline is lower than the water pressure loss anomaly threshold R max , and there is no need to adjust the power of the fire hydrant water supply pump; Embodiment 2, as Figure 2 shown, the present invention provides an artificial intelligence-based fire water supply regulation control system, which includes a data acquisition module, a water pressure loss calculation module, a historical data analysis module, an anomaly judgment module, and a power regulation module; The data acquisition module is used to collect data generated when the fire hydrant is used; the water pressure loss calculation module is used to calculate the water pressure along-the-way loss value, local water pressure loss value, and total water pressure loss value of the water flow in the fire hydrant water supply pipeline; the anomaly judgment module is used to judge the anomaly of the water pressure loss value; the power regulation module is used to adjust the power of the fire hydrant water supply pump according to the prediction result; The output end of the data acquisition module is electrically connected to the input end of the water pressure loss calculation module; the output end of the water pressure loss calculation module is electrically connected to the input end of the historical data analysis module; the output end of the historical data analysis module is electrically connected to the input end of the anomaly judgment module; the output end of the anomaly judgment module is electrically connected to the input end of the power regulation module.
[0034] The data acquisition module includes a sensor unit and a data storage unit; the sensor unit is used to manage each sensor; the data storage unit is used to store the data obtained by each sensor; The water pressure loss calculation module includes a long-term loss calculation unit and a local loss calculation unit; the long-term loss calculation unit is used to calculate the water pressure loss along the way; the local loss calculation unit is used to calculate the local water pressure loss of the fire hydrant water supply pipeline; The historical data analysis module includes a historical data collection unit and a threshold management unit; the historical data collection unit is used to collect and store historical water pressure data of the fire hydrant water supply pipeline; the threshold management unit is used for historical data analysis and setting the water pressure loss abnormal threshold.
[0035] The abnormality judgment module includes an abnormality detection unit and a result processing unit; the abnormality detection unit is used to judge the abnormality of the water pressure loss value; the result processing unit is used to process the judgment result and add the water pressure loss value that meets the conditions to the water pressure loss abnormality set; The power regulation module includes a prediction and analysis unit and a power regulation unit; the prediction and analysis unit is used to predict the water pressure data anomaly in the next water pressure data collection cycle; the power regulation unit is used to regulate the power of the fire hydrant water supply pump.
[0036] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A fire water supply regulation and control method based on artificial intelligence, characterized in that: The fire water supply regulation control method comprises the following steps: Step S1, setting a water pressure data collection cycle, and obtaining water pressure data of the outer side of the corner position of the fire hydrant water supply pipe closest to the fire hydrant according to the water pressure data collection cycle, and water pressure data of the straight section adjacent to the corner position and far from one end of the fire hydrant; Step S2, calculating the water pressure loss along the fire hydrant water supply pipe according to the water pressure data outside the corner position and the water pressure data of the straight section; Step S3, obtaining the water flow velocity of the fire hydrant water supply pipeline, calculating the local water pressure loss value of the fire hydrant water supply pipeline according to the water flow velocity, and obtaining the total water pressure loss value in the fire hydrant water supply pipeline in combination with the water pressure loss value along the way; Step S4, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and setting a water pressure loss abnormal threshold value according to the historical water pressure data; Step S5, creating a water pressure loss anomaly set, combining the water pressure loss anomaly threshold, making an abnormal judgment on the water pressure loss value in the fire hydrant water supply pipeline, and adding the judgment result to the water pressure loss anomaly set after processing; Step S6: predict the water pressure data anomaly of the fire hydrant water supply pipeline in the next water pressure data collection cycle according to the water pressure loss anomaly set, and adjust the power of the fire hydrant water supply pump according to the predicted water pressure data anomaly result.
2. The fire water supply regulation and control method based on artificial intelligence according to claim 1 is characterized in that: The specific steps of step S1 are as follows: Step S1-1, a water pressure sensor is arranged outside the corner position of the fire hydrant water supply pipe closest to the fire hydrant, and on a straight section adjacent to the corner position and away from one end of the fire hydrant to monitor the water pressure of the fire hydrant water supply pipe; Step S1-2: Set a water pressure data collection period T, use a water pressure sensor to obtain water pressure data of the fire hydrant water supply pipe according to the water pressure data collection period T, and store and record the collected water pressure data.
3. The fire water supply regulation and control method based on artificial intelligence according to claim 2 is characterized in that: In step S2, the water pressure loss along the water flow in the fire hydrant water supply pipe is calculated according to the water pressure data obtained by the water pressure sensor. The water pressure loss along the water flow pipe is calculated as follows: ; Where P along It is expressed as the water pressure loss along the fire hydrant water supply pipe; P straight It is represented by the water pressure data of the monitoring position of the straight section of the fire hydrant water supply pipeline; P corner Represented as water pressure data at the monitored location outside the corner of the fire hydrant water supply pipe.
4. The fire water supply regulation and control method based on artificial intelligence according to claim 3 is characterized in that: The specific steps of step S3 are as follows: Step S3-1, obtain the water flow velocity of the fire hydrant water supply pipe, and calculate the local water pressure loss value of the straight section water pressure data and the water pressure data outside the corner position according to the obtained water flow velocity. The local water pressure loss value is calculated using the following formula: ; Where P n part Expressed as the local water pressure loss value at position n; K n It is represented by the local loss coefficient corresponding to the position n; M represents the density of water flow; V represents the flow velocity of water in the fire hydrant water supply pipe; n represents the position where the local water pressure loss value is calculated; Step S3-2: Calculate the total water pressure loss value of the water flow in the fire hydrant water supply pipeline in combination with the water pressure loss value along the fire hydrant water supply pipeline. The total water pressure loss value calculation formula of the fire hydrant water supply pipeline is as follows: ; Where P all It is expressed as the total water pressure loss value of water flow in the fire hydrant water supply pipe; It is expressed as the local water pressure loss value of water flow in the straight section of the fire hydrant water supply pipe; It is expressed as the local water pressure loss value outside the corner of the fire hydrant water supply pipe.
5. The fire water supply regulation and control method based on artificial intelligence according to claim 4 is characterized in that: The specific steps of step S4 are as follows: Step S4-1, obtaining historical water pressure data of the fire hydrant water supply pipeline under normal working conditions, and obtaining historical water pressure data based on each water pressure data collection period T; Step S4-2, calculating the average and standard deviation of the historical water pressure loss values of the fire hydrant water supply pipeline according to the historical water pressure data, and there is only one total water pressure loss value in one historical water pressure data collection period T; Step S4-3: Use the calculated average value and standard deviation to set the water pressure loss abnormal threshold R max , according to the water pressure data collection cycle T, the water pressure loss abnormal threshold R is dynamically updated. max , water pressure loss abnormal threshold R max The specific process of setting and dynamic updating is as follows: Water pressure loss abnormal threshold R max The setting formula is: ; In the formula, R max It is represented by the abnormal threshold of water pressure loss; u is represented by the average value of the historical water pressure loss value of the fire hydrant water supply pipeline; l is represented by the sensitivity coefficient of the abnormal threshold of water pressure loss; h is represented by the standard deviation of the historical water pressure loss value of the fire hydrant water supply pipeline; Water pressure loss abnormal threshold R max Dynamic update formula: ; In the formula, u new Expressed as the average value of water pressure loss after update; h new Expressed as the standard deviation of the updated water pressure loss value, It is represented as the abnormal threshold of water pressure loss after dynamic update; each time new water pressure loss data is stored in the historical water pressure data, the updated average value u is used new and standard deviation h new Update the abnormal threshold of water pressure loss and set R max The value of .
6. The fire water supply regulation and control method based on artificial intelligence according to claim 5 is characterized in that: In step S5, a water pressure loss anomaly set is created, which is a set consisting of a number 1 and a number 0. The water pressure loss anomaly threshold is used as a judgment condition to perform an abnormal judgment on the water pressure loss value of the fire hydrant water supply pipeline obtained. The judgment process is as follows: When R max <P all When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is abnormal within the current water pressure data collection period T, and the result is marked as 1 and added to the water pressure loss abnormality set; When R max ≥P all When , it is determined that the water pressure loss value generated in the fire hydrant water supply pipeline is within the normal range within the current water pressure data collection period T, and the result is marked as a number 0 and added to the water pressure loss anomaly set.
7. The fire water supply regulation and control method based on artificial intelligence according to claim 6 is characterized in that: The specific steps of step S6 are as follows: Step S6-1, construct a state transfer matrix according to the water pressure loss anomaly set, determine the transition probabilities from state 0 to state 0, state 0 to state 1, state 1 to state 0, and state 1 to state 1, the state transfer matrix is in the form of: ; Use the latest number added to the current water pressure loss anomaly set to predict the number added to the water pressure loss anomaly set during the next water pressure data collection cycle T. The prediction calculation uses the following formula: In the next water pressure data collection cycle T, the probability that the number added to the water pressure loss anomaly set is 1 is: ; The probability that the number added to the water pressure loss anomaly set is 0 during the next water pressure data collection cycle T is: ; In the formula, S n Represents the state within the current water pressure data collection cycle T; S n+1 It represents the state in the next water pressure data collection cycle T; Step S6-2: Make a judgment based on the predicted probability, and use the judgment result to adjust the power of the fire hydrant water supply pump. The adjustment process is as follows: When P (S n+1 =1)≥P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is higher than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , adjust the power of the fire hydrant water supply pump to the minimum power required when the number in the water pressure loss abnormality set is 0; When P (S n+1 =1)<P(S n+1 =0), it is judged that the water pressure loss value generated by the fire hydrant water supply pipeline is lower than the water pressure loss abnormal threshold R in the next water pressure data collection cycle T. max , there is no need to adjust the power of the fire hydrant water supply pump; When the water pressure loss anomaly set number is 0, the minimum power required is calculated using the following formula: ; In the formula, W represents the power that needs to be adjusted by the fire hydrant water supply pump; Q represents the water flow rate of the fire hydrant water supply pipe; Z represents the efficiency of the fire hydrant water supply pump; when the number in the water pressure loss anomaly set is 0, the minimum power required is W.
8. An artificial intelligence-based fire water supply regulation and control system, which is applied to an artificial intelligence-based fire water supply regulation and control method according to any one of claims 1 to 7, characterized in that: The fire water supply regulation and control system includes a data acquisition module, a water pressure loss calculation module, a historical data analysis module, an abnormality judgment module and a power regulation module; The data acquisition module is used to collect data generated when the fire hydrant is used; the water pressure loss calculation module is used to calculate the water pressure loss along the way, the local water pressure loss value and the total water pressure loss value of the water flow in the fire hydrant water supply pipeline; the abnormality judgment module is used to judge the abnormality of the water pressure loss value; the power adjustment module is used to adjust the power of the fire hydrant water supply pump according to the prediction result; The output end of the data acquisition module is electrically connected to the input end of the water pressure loss calculation module; the output end of the water pressure loss calculation module is electrically connected to the input end of the historical data analysis module; the output end of the historical data analysis module is electrically connected to the input end of the abnormality judgment module; the output end of the abnormality judgment module is electrically connected to the input end of the power regulation module.
9. The fire water supply regulation and control system based on artificial intelligence according to claim 8 is characterized in that: The data acquisition module includes a sensor unit and a data storage unit; the sensor unit is used to manage each sensor; the data storage unit is used to store data acquired by each sensor; The water pressure loss calculation module includes an along-the-way loss calculation unit and a local loss calculation unit; the along-the-way loss calculation unit is used to calculate the water pressure loss along the water pressure; the local loss calculation unit is used to calculate the local water pressure loss of the fire hydrant water supply pipeline; The historical data analysis module includes a historical data collection unit and a threshold management unit; the historical data collection unit is used to collect and store historical water pressure data of the fire hydrant water supply pipeline; the threshold management unit is used for historical data analysis and setting the water pressure loss abnormal threshold.
10. The fire water supply regulation and control system based on artificial intelligence according to claim 8, characterized in that: The abnormality judgment module includes an abnormality detection unit and a result processing unit; the abnormality detection unit is used to judge the abnormality of the water pressure loss value; the result processing unit is used to process the judgment result and add the water pressure loss value that meets the conditions to the water pressure loss abnormality set; The power regulation module includes a prediction and analysis unit and a power regulation unit; the prediction and analysis unit is used to predict the water pressure data anomaly in the next water pressure data collection cycle; the power regulation unit is used to regulate the power of the fire hydrant water supply pump.