A flow detection system and method based on artificial intelligence
By constructing an artificial intelligence traffic detection system and using visual monitoring point maps and hierarchical traffic tables to construct an impact model, the problem in the existing technology that the traffic detection system cannot control in time when faced with anomalies is solved, and rapid response and early warning are achieved. Improved the intelligence and modernization level of traffic monitoring.
Patent Information
- Application Number
- CN202410903784.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-08
AI Technical Summary
When faced with an abnormal situation, the existing flow detection system may not be able to control the abnormal problem in time due to factors such as flow rate, resulting in increased difficulty in abnormal propagation and control, and the lack of effective early warning and intervention mechanisms.
By building a flow detection system based on artificial intelligence, using visual monitoring point maps to determine unit flow meters, establishing hierarchical flow tables, and building correlation and independent impact models, the flow meters can be matched in real time to determine abnormal responses and achieve early warning and intervention.
The system can quickly locate flow meter abnormalities, make judgments through data and visualization, prepare or intervene in advance, minimize the impact of abnormal diffusion, and improve the intelligent and modern level of flow monitoring and control of industrial equipment.
Smart Images

Figure CN118445640B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of flow detection, and in particular to a flow detection system and method based on artificial intelligence. Background Art
[0002] The intelligent valve remote control online monitoring system is a modern industrial monitoring system built using technologies such as the Internet of Things, cloud computing, and big data. The system mainly performs real-time online monitoring, remote control, and intelligent management of key equipment such as industrial valves to improve the operating efficiency, maintenance level, and safety of industrial equipment; the application of the intelligent equipment monitoring system collects the working status, parameter data, and other information of the equipment in real time through sensors and data acquisition modules deployed on the valve equipment, and remotely monitors and controls it through the cloud platform. Users can view the equipment status, receive warning information, and perform remote control at any time through the Web interface or mobile application to achieve intelligent management of the equipment; and based on flow detection, unlike other data detection, flow detection is dynamic. Through the visual detection point map set by the system, the flow data of different target detection objects can be understood in real time and dynamically, and real-time warning response can be achieved based on the warning value set by the system; but at the same time, due to the characteristics of the flow, the data can only be judged and responded to when the target object exists in the flow segment detected by the flow meter. If there is an abnormality, it may cause the spread of the abnormality due to the influence of other factors such as flow rate, resulting in the inability to control the abnormality in time. Summary of the invention
[0003] The purpose of the present invention is to provide a flow detection system and method based on artificial intelligence to solve the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a flow detection method based on artificial intelligence, comprising the following analysis steps:
[0005] Step S100: monitor the industrial equipment group using the intelligent valve remote monitoring system, extract the visual monitoring point map composed of the industrial equipment and the flow connection relationship between the equipment in the monitoring system; determine the unit flow meter in the industrial equipment group based on the visual monitoring point map;
[0006] Step S200: establishing a hierarchical flow meter based on a unit flow meter, and determining whether there are associated flow meters between the hierarchical flow meters;
[0007] Step S300: when there is an associated flow meter, construct an associated impact model corresponding to the hierarchical flow table; when there is no associated flow meter, construct an independent impact model corresponding to the hierarchical flow table;
[0008] Step S400: matching the real-time hierarchical flow table corresponding to the flow meter in real time, and judging whether the next unit flow meter in the corresponding hierarchical flow table responds to an early warning when the unit flow meter responds abnormally based on the impact model.
[0009] Furthermore, step S100 includes the following specific steps:
[0010] Step S110: The flow connection relationship refers to the connection relationship established based on the presence of the detection object of the flow meter in the industrial equipment; the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located is marked according to the flow direction sequence; the minimum flow segment is composed of the flow source industrial equipment adjacent to the flow meter, the flow destination industrial equipment and the corresponding flow meter;
[0011] Step S120: searching each minimum flow segment, marking the flow meter recorded in the minimum flow segment as the target flow meter; searching whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter;
[0012] If it exists, the target flow meter is output as the unit flow meter, and the minimum flow segment corresponding to the target flow meter is the unit flow segment; if it does not exist, based on the flow relationship between the industrial equipment, the industrial equipment and the flow direction are added to the minimum flow segment of the target flow meter, and each additional industrial equipment requires a search for the flow destination industrial equipment until there is a flow destination industrial equipment record in the minimum flow segment of other flow meters except the target flow meter, then the addition stops, and the unit flow segment corresponding to the target flow meter is formed, and the target flow meter is output as the unit flow meter corresponding to the unit flow segment.
[0013] Determining the unit flowmeter can clearly and quickly locate the range of flowmeter measurement and the range of influence of the flowmeter based on the flow direction relationship.
[0014] Furthermore, a hierarchical flow meter based on a unit flow meter is established, and it is determined whether there are associated flow meters between the hierarchical flow meters, including the following steps:
[0015] Step S210: extracting the unit flow meter under real-time inspection as the unit flow meter to be inspected, and the unit flow segment corresponding to the unit flow meter to be inspected, marking the last flow destination industrial equipment in the unit flow segment as the target industrial equipment, and searching whether the target industrial equipment constitutes the flow source industrial equipment in the unit flow segment corresponding to other unit flow meters except the unit flow meter to be inspected;
[0016] When it is not constituted, the output unit flow meter to be examined does not record the level flow meter;
[0017] When forming, the unit flow meter contained in the formed unit flow segment is stored as a layer of associated flow meters of the unit flow meter to be examined in the hierarchical flow table of the unit flow meter to be examined, and the unit flow segments corresponding to the unit flow meter to be examined and the layer of associated flow meters in the hierarchical flow table are spliced and stored according to the flow direction;
[0018] Step S220: Obtain hierarchical flow tables of all unit flow meters in the visual monitoring point map, mark hierarchical flow tables with the same associated flow meters in each hierarchical flow table as associated flow tables; the unit flow meters to be examined recorded in the associated flow table are associated flow meters with each other.
[0019] Furthermore, step S300 includes the following specific steps:
[0020] When there is an associated flow meter, the corresponding associated flow table is extracted for comparison, and the difference characteristics of the unit flow segment recorded in the associated flow table are output, and the difference characteristics include the type characteristics of industrial equipment with functional differences and the numerical difference characteristics of industrial equipment records;
[0021] The purpose of analyzing the characteristics of industrial equipment types is to facilitate the rapid search for reference flow direction structures when performing subsequent abnormal response monitoring; the purpose of analyzing data difference characteristics is to find input parameters that affect abnormal frequency fluctuations;
[0022] When the associated flow meter records a unit flow segment with a numerical difference feature, obtain the industrial equipment numerical difference h of the associated flow meter in the historical data record, where h≠0. The numerical differences of different industrial equipment represent a type of numerical difference feature; obtain the maintenance time T of the industrial equipment numerical difference h and the number of abnormal responses Q of a layer of associated flow meters in the monitoring period after the associated flow meter responds abnormally during the maintenance time. The length of the monitoring period is less than the maintenance time; use the formula:
[0023] Y=Q / T
[0024] Calculate the associated abnormal response frequency Y under the numerical difference h of the industrial equipment, obtain the associated abnormal response frequency Y corresponding to each type of numerical difference feature, construct the first data pair A corresponding to the associated flow table, A=(h,Y), establish the first associated influence model y, y=a1*h+ε1, substitute m groups of first data pairs to calculate the coefficient a1 and error term ε1 corresponding to the numerical difference h of the industrial equipment and the associated abnormal response frequency Y, m represents the number of types of numerical difference features recorded in the associated flow table;
[0025] When there is no numerical difference feature or no difference feature in the associated flow meter record of the unit flow segment, the abnormal response ratio g of the associated flow meter in the unit flow segment is obtained, and the abnormal response ratio refers to the ratio of the abnormal response of the associated flow meter to the normal response of other associated flow meters during the monitoring period of the associated flow meter record. Different ratios indicate different types of abnormal response ratios. Based on the abnormal response ratio g, the feedback response index F of the associated flow meter corresponding to each type of abnormal response ratio is calculated, F=d1 / d2, where d1 represents the number of abnormal responses of the associated flow meter under the corresponding abnormal response ratio, and d2 represents the total number of records of the corresponding abnormal response ratio. Based on the abnormal response ratio g and the feedback response index, a second data pair B is constructed, B=(g,F), and a second associated influence model f is established, f=a2*g+ε2, and the coefficient a2 and error term ε2 corresponding to the abnormal response ratio g and the feedback response index F are calculated by substituting n groups of the second data pairs, and n represents the total number of types of abnormal response ratio records.
[0026] When there is no associated flow meter, an independent influence model P corresponding to the hierarchical flow meter is constructed, P=r1 / r2, where r1 represents the number of abnormal responses of a layer of associated flow meters during the monitoring period when the unit flow meter to be investigated responds abnormally, and r2 represents the total number of abnormal responses of the unit flow meter to be investigated.
[0027] Furthermore, step S400 includes the following specific steps:
[0028] Get the real-time hierarchical flow meter. When there is no associated flow meter in the real-time hierarchical flow meter, set the independent impact threshold P0, match the independent impact model corresponding to the same real-time hierarchical flow meter, and get the output value of the independent impact model. When the output value is greater than P0, an early warning response is issued to indicate that there is an abnormal signal in a layer of associated flow meters in the corresponding hierarchical flow table.
[0029] When there is an associated flow meter in the real-time hierarchical flow meter, the historical hierarchical flow meter with the same industrial equipment type characteristics corresponding to the unit flow segment where the flow meter in the real-time hierarchical flow meter is located is matched as the reference flow meter, and the real-time industrial equipment value difference h0 recorded by the real-time associated flow meter is obtained.
[0030] When h0=0, obtain the real-time abnormal response ratio of the associated flow meter in the unit flow section, substitute it into the second associated influence model f, obtain the real-time feedback response index F0 of the model output value, set the feedback response index threshold f0, if F0>f0, the early warning response corresponds to the abnormal signal of the associated flow meter in the corresponding hierarchical flow table; otherwise, no early warning response is performed;
[0031] When h0≠0, substitute h0 into the first associated influence model to obtain the model output value associated abnormal reaction frequency Y0, set the associated abnormal reaction frequency threshold y0, and if Y0>y0, an early warning response is given to the presence of an abnormal signal in a layer of associated flowmeters in the corresponding hierarchical flow table; otherwise, no early warning response is given.
[0032] A flow detection system based on artificial intelligence, comprising a visual monitoring point map extraction module, a unit flow meter determination module, a correlation flow meter judgment module, an impact model construction module and an early warning response module;
[0033] The visual monitoring point map extraction module is used to extract the visual monitoring point map composed of various industrial equipment and the flow connection relationship between the equipment in the monitoring system;
[0034] The unit flow meter determination module is used to determine the unit flow meter in the industrial equipment group based on the visual monitoring point map;
[0035] The associated flow meter judgment module is used to establish a hierarchical flow meter based on a unit flow meter and determine whether there is an associated flow meter between the hierarchical flow meters;
[0036] The impact model building module is used to build the associated impact model and the independent impact model;
[0037] The early warning response module is used to match the real-time hierarchical flow table corresponding to the flow meter in real time, and judge whether the next unit flow meter in the corresponding hierarchical flow table responds to the early warning when the unit flow meter responds abnormally based on the impact model.
[0038] Further, the unit flow meter determination module includes a minimum flow segment marking unit, a device retrieval unit, and a unit flow meter output unit;
[0039] The minimum flow segment marking unit is used to mark the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located according to the flow direction sequence;
[0040] The equipment retrieval unit is used to search for each minimum flow segment, mark the flow meter recorded in the minimum flow segment during the search as the target flow meter; search whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter;
[0041] The unit flow meter output unit is used to output the unit flow meter based on the search result.
[0042] Further, the impact model building module includes an independent impact model building unit and a related impact model building unit;
[0043] The independent impact model building unit is used to obtain the number of abnormal responses of a layer of associated flow meters during the monitoring period when the unit flow meter to be investigated responds abnormally, and the total number of abnormal responses of the unit flow meter to be investigated, when there is no associated flow meter, and to build an independent impact model corresponding to the hierarchical flow meter;
[0044] The association influence model building unit is used to build an association influence model of a corresponding level flow meter based on the association flow meter.
[0045] Further, the association influence model building unit includes a difference feature extraction unit, a data pair building unit, a first association influence model building unit and a second association influence model building unit;
[0046] The difference feature extraction unit is used to extract the corresponding associated flow table for comparison when there is an associated flow meter, and output the difference feature of the unit flow segment recorded in the associated flow table; when there is a numerical difference feature in the unit flow segment recorded in the associated flow table, obtain the numerical difference of the industrial equipment recorded in the historical data of the associated flow meter;
[0047] The data pair construction unit is used to calculate the associated abnormal response frequency, and construct the first data pair based on the numerical difference of the industrial equipment, and calculate the feedback response index and the abnormal response ratio to construct the second data pair;
[0048] The first correlation influence model building unit is used to build based on the first data pair;
[0049] The second association influence model building unit is used for building the model based on the second data pair.
[0050] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention determines the unit flow meters in the industrial equipment group based on the visual monitoring point map of the system, analyzes the correlation between the unit flow meters and the unit flow meters of the next level that may be affected based on the flow direction; and searches for abnormal events corresponding to the same equipment characteristics in historical records to analyze the impact relationship between different flow meters; so that the system can quickly and effectively locate historical flow meters of the same type when detecting an abnormality in any flow meter, so as to realize abnormal judgment based on data and visualization; thereby intervening or preparing for abnormal response before reaching the flow meter of the next level, minimizing the impact of uncontrollable spread of abnormalities based on flow characteristics; making the system control based on flow monitoring for industrial equipment more intelligent and modern. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0052] Figure 1It is a schematic diagram of the module structure of a flow detection system based on artificial intelligence of the present invention;
[0053] Figure 2 The present invention discloses a local visualized monitoring point map of a flow detection method based on artificial intelligence. DETAILED DESCRIPTION
[0054] 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.
[0055] See also Figure 1 The present invention provides a technical solution: a flow detection method based on artificial intelligence, comprising the following analysis steps:
[0056] Step S100: monitor the industrial equipment group using the intelligent valve remote monitoring system, extract the visual monitoring point map composed of the industrial equipment and the flow connection relationship between the equipment in the monitoring system; determine the unit flow meter in the industrial equipment group based on the visual monitoring point map;
[0057] Step S200: establishing a hierarchical flow meter based on a unit flow meter, and determining whether there are associated flow meters between the hierarchical flow meters;
[0058] Step S300: when there is an associated flow meter, construct an associated impact model corresponding to the hierarchical flow table; when there is no associated flow meter, construct an independent impact model corresponding to the hierarchical flow table;
[0059] Step S400: matching the real-time hierarchical flow table corresponding to the flow meter in real time, and judging whether the next unit flow meter in the corresponding hierarchical flow table responds to an early warning when the unit flow meter responds abnormally based on the impact model.
[0060] Step S100 includes the following specific steps:
[0061] Step S110: The flow connection relationship refers to the connection relationship established based on the detection object of the flow meter existing in the industrial equipment; Figure 2As shown, the wastewater in the cyanide wastewater pool flows through the lift pump and then flows through the cyanide breaking reactor, and a pressure gauge and a flow meter are set in the flow pipeline from the lift pump to the cyanide breaking reactor for detection; the detection object of the above flow meter is the liquid in the flow pipeline from the lift pump to the cyanide breaking reactor, and the connected industrial equipment is the lift pump and the cyanide breaking reactor; the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located is marked according to the flow direction sequence; the minimum flow segment is composed of the flow meter's adjacent flow source industrial equipment, flow destination industrial equipment and the corresponding flow meter; as shown Figure 2 The lifting pump, flow meter 1, and cyanide breaking reactor shown constitute the minimum flow section of the flow meter 1; in this application, other detection devices such as pressure gauges except the flow meter are not included in the category of industrial equipment;
[0062] Step S120: searching each minimum flow segment, marking the flow meter recorded in the minimum flow segment as the target flow meter; searching whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter;
[0063] If it exists, the target flow meter is output as the unit flow meter, and the minimum flow segment corresponding to the target flow meter is the unit flow segment; if it does not exist, based on the flow relationship between the industrial equipment, the industrial equipment and the flow direction are added to the minimum flow segment of the target flow meter, and each additional industrial equipment requires a search for the flow destination industrial equipment until there is a flow destination industrial equipment record in the minimum flow segment of other flow meters except the target flow meter, then the addition stops, and the unit flow segment corresponding to the target flow meter is formed, and the target flow meter is output as the unit flow meter corresponding to the unit flow segment.
[0064] like Figure 2 As shown: when searching for the minimum flow segment including flow meter 1, flow meter 1 is the target flow meter, the flow destination industrial equipment is the cyanide breaking reactor, and the cyanide breaking reactor does not exist in the minimum flow segment of other flow meters, then the minimum flow segment of flow meter 1 can be increased by the segment of "the dosing box flows into the cyanide breaking reactor" and the segment of "the cyanide breaking reactor flows into the comprehensive collection pool"; at the same time, the analysis of flow meter 2 is the same as the above, and the above flow segments can be increased to form the current minimum flow segment; after further increase, it is necessary to search, and the search object is the comprehensive collection pool, because the dosing box has no other flow direction, so it does not need to be analyzed; when analyzing and judging the comprehensive collection pool, it can be known that the comprehensive collection pool is also the flow destination industrial equipment in the minimum flow segment corresponding to flow meter 2, so the increase is stopped at this time;
[0065] Unit flow section 1 constituting flow meter 1: cyanide wastewater pool → lifting pump → (flow meter 1) → cyanide breaking reactor (← dosing box) → comprehensive collection pool; "cyanide wastewater pool → lifting pump" means that the flow flows from the cyanide wastewater pool to the lifting pump, "lifting pump → (flow meter 1) → cyanide breaking reactor" means that a flow meter is provided between the lifting pump and the cyanide breaking reactor; "cyanide breaking reactor (← dosing box)" means that the flow flows from the dosing box to the cyanide breaking reactor;
[0066] In this unit flow section, flow meter 1 is a unit flow meter.
[0067] Determining the unit flowmeter can clearly and quickly locate the range of flowmeter measurement and the range of influence of the flowmeter based on the flow direction relationship.
[0068] Establishing a hierarchical flow meter based on a unit flow meter and determining whether there are associated flow meters between the hierarchical flow meters includes the following steps:
[0069] Step S210: extracting the unit flow meter under real-time inspection as the unit flow meter to be inspected, and the unit flow segment corresponding to the unit flow meter to be inspected, marking the last flow destination industrial equipment in the unit flow segment as the target industrial equipment, and searching whether the target industrial equipment constitutes the flow source industrial equipment in the unit flow segment corresponding to other unit flow meters except the unit flow meter to be inspected;
[0070] When it is not constituted, the output unit flow meter to be examined does not record the level flow meter;
[0071] When forming, the unit flow meter contained in the formed unit flow segment is stored as a layer of associated flow meters of the unit flow meter to be examined in the hierarchical flow table of the unit flow meter to be examined, and the unit flow segments corresponding to the unit flow meter to be examined and the layer of associated flow meters in the hierarchical flow table are spliced and stored according to the flow direction;
[0072] If the target industrial equipment consists of more than one flow source industrial equipment in the unit flow segment corresponding to the unit flow meters other than the unit flow meter to be investigated, all the unit flow meters that meet the requirements are regarded as a layer of associated flow meters and stored in parallel;
[0073] Step S220: Obtain hierarchical flow tables of all unit flow meters in the visual monitoring point map, mark hierarchical flow tables with the same associated flow meters in each hierarchical flow table as associated flow tables; the unit flow meters to be examined recorded in the associated flow table are associated flow meters with each other.
[0074] Step S300 includes the following specific steps:
[0075] When there is an associated flow meter, the corresponding associated flow table is extracted for comparison, and the difference characteristics of the unit flow segment recorded in the associated flow table are output, and the difference characteristics include the type characteristics of industrial equipment with functional differences and the numerical difference characteristics of industrial equipment records;
[0076] The purpose of analyzing the characteristics of industrial equipment types is to facilitate the rapid search for reference flow direction structures when performing subsequent abnormal response monitoring; the purpose of analyzing data difference characteristics is to find input parameters that affect abnormal frequency fluctuations;
[0077] When the associated flow meter records a unit flow segment with a numerical difference feature, obtain the industrial equipment numerical difference h of the associated flow meter in the historical data record, where h≠0, such as Figure 2 The water levels of the cyanide wastewater pool and the chromium wastewater pool shown in the figure are different, recorded as 1.65m and 0.67m respectively, so the corresponding industrial equipment numerical difference is 0.98m; the numerical differences of different industrial equipment represent a type of numerical difference characteristics; obtain the maintenance time T of the industrial equipment numerical difference h and the number of abnormal responses of a layer of associated flow meters in the monitoring period after the associated flow meter responds abnormally during the maintenance time Q, the length of the monitoring period is less than the maintenance time; use the formula:
[0078] Y=Q / T
[0079] Calculate the associated abnormal response frequency Y under the numerical difference h of the industrial equipment, obtain the associated abnormal response frequency Y corresponding to each type of numerical difference feature, construct the first data pair A corresponding to the associated flow table, A=(h,Y), establish the first associated influence model y, y=a1*h+ε1, substitute m groups of first data pairs to calculate the coefficient a1 and error term ε1 corresponding to the numerical difference h of the industrial equipment and the associated abnormal response frequency Y, m represents the number of types of numerical difference features recorded in the associated flow table;
[0080] When there is no numerical difference feature or no difference feature in the associated flow meter record of the unit flow segment, the abnormal response ratio g of the associated flow meter in the unit flow segment is obtained, and the abnormal response ratio refers to the ratio of the abnormal response of the associated flow meter to the normal response of other associated flow meters during the monitoring period of the associated flow meter record. Different ratios indicate different types of abnormal response ratios. Based on the abnormal response ratio g, the feedback response index F of the associated flow meter corresponding to each type of abnormal response ratio is calculated, F=d1 / d2, where d1 represents the number of abnormal responses of the associated flow meter under the corresponding abnormal response ratio, and d2 represents the total number of records of the corresponding abnormal response ratio. Based on the abnormal response ratio g and the feedback response index, a second data pair B is constructed, B=(g,F), and a second associated influence model f is established, f=a2*g+ε2, and the coefficient a2 and error term ε2 corresponding to the abnormal response ratio g and the feedback response index F are calculated by substituting n groups of the second data pairs, and n represents the total number of types of abnormal response ratio records.
[0081] When there is no associated flow meter, an independent influence model P corresponding to the hierarchical flow meter is constructed, P=r1 / r2, where r1 represents the number of abnormal responses of a layer of associated flow meters during the monitoring period when the unit flow meter to be investigated responds abnormally, and r2 represents the total number of abnormal responses of the unit flow meter to be investigated.
[0082] Step S400 includes the following specific steps:
[0083] Get the real-time hierarchical flow meter. When there is no associated flow meter in the real-time hierarchical flow meter, set the independent impact threshold P0, match the independent impact model corresponding to the same real-time hierarchical flow meter, and get the output value of the independent impact model. When the output value is greater than P0, an early warning response is issued to indicate that there is an abnormal signal in a layer of associated flow meters in the corresponding hierarchical flow table.
[0084] When there is an associated flow meter in the real-time hierarchical flow table, the historical hierarchical flow table with the same industrial equipment type characteristics corresponding to the unit flow segment where the flow meter in the real-time hierarchical flow table and the associated flow meter are located is used as the reference flow table. Here, the same as the historical hierarchical flow table can be the same industrial equipment type characteristics of the associated unit flow segment in the real-time hierarchical flow table, such as the wastewater pools in unit flow segment 1 and unit flow segment 2 are both cyanide-containing wastewater pools, or the industrial equipment type characteristics are different, such as the unit flow segment 1 is a cyanide-containing wastewater pool, and the unit flow segment 2 is a chromium-containing wastewater pool; obtain the real-time industrial equipment value difference h0 recorded by the real-time associated flow meter,
[0085] When h0=0, obtain the real-time abnormal response ratio of the associated flow meter in the unit flow section, substitute it into the second associated influence model f, obtain the real-time feedback response index F0 of the model output value, set the feedback response index threshold f0, if F0>f0, the early warning response corresponds to the abnormal signal of the associated flow meter in the corresponding hierarchical flow table; otherwise, no early warning response is performed;
[0086] When h0≠0, substitute h0 into the first associated influence model to obtain the model output value associated abnormal reaction frequency Y0, set the associated abnormal reaction frequency threshold y0, and if Y0>y0, an early warning response is given to the presence of an abnormal signal in a layer of associated flowmeters in the corresponding hierarchical flow table; otherwise, no early warning response is given.
[0087] A flow detection system based on artificial intelligence, comprising a visual monitoring point map extraction module, a unit flow meter determination module, a correlation flow meter judgment module, an impact model construction module and an early warning response module;
[0088] The visual monitoring point map extraction module is used to extract the visual monitoring point map composed of various industrial equipment and the flow connection relationship between the equipment in the monitoring system;
[0089] The unit flow meter determination module is used to determine the unit flow meter in the industrial equipment group based on the visual monitoring point map;
[0090] The associated flow meter judgment module is used to establish a hierarchical flow meter based on a unit flow meter and determine whether there is an associated flow meter between the hierarchical flow meters;
[0091] The impact model building module is used to build the associated impact model and the independent impact model;
[0092] The early warning response module is used to match the real-time hierarchical flow table corresponding to the flow meter in real time, and judge whether the next unit flow meter in the corresponding hierarchical flow table responds to the early warning when the unit flow meter responds abnormally based on the impact model.
[0093] The unit flow meter determination module includes a minimum flow segment marking unit, a device retrieval unit and a unit flow meter output unit;
[0094] The minimum flow segment marking unit is used to mark the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located according to the flow direction sequence;
[0095] The equipment retrieval unit is used to search for each minimum flow segment, mark the flow meter recorded in the minimum flow segment during the search as the target flow meter; search whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter;
[0096] The unit flow meter output unit is used to output the unit flow meter based on the search result.
[0097] The impact model building module includes an independent impact model building unit and a related impact model building unit;
[0098] The independent impact model building unit is used to obtain the number of abnormal responses of a layer of associated flow meters during the monitoring period when the unit flow meter to be investigated responds abnormally, and the total number of abnormal responses of the unit flow meter to be investigated, when there is no associated flow meter, and to build an independent impact model corresponding to the hierarchical flow meter;
[0099] The association influence model building unit is used to build an association influence model of a corresponding level flow meter based on the association flow meter.
[0100] The association influence model building unit includes a difference feature extraction unit, a data pair building unit, a first association influence model building unit and a second association influence model building unit;
[0101] The difference feature extraction unit is used to extract the corresponding associated flow table for comparison when there is an associated flow meter, and output the difference feature of the unit flow segment recorded in the associated flow table; when there is a numerical difference feature in the unit flow segment recorded in the associated flow table, obtain the numerical difference of the industrial equipment recorded in the historical data of the associated flow meter;
[0102] The data pair construction unit is used to calculate the associated abnormal response frequency, and construct the first data pair based on the numerical difference of the industrial equipment, and calculate the feedback response index and the abnormal response ratio to construct the second data pair;
[0103] The first correlation influence model building unit is used to build based on the first data pair;
[0104] The second association influence model building unit is used for building the model based on the second data pair.
[0105] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0106] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A traffic detection method based on artificial intelligence, It is characterized in that The analysis steps include: Step S100: monitor the industrial equipment group using the intelligent valve remote monitoring system, and extract a visual monitoring point map consisting of each industrial equipment and the flow connection relationship corresponding to the equipment in the monitoring system; Determine the unit flow meter in the industrial equipment group based on the visual monitoring point map; Step S200: establishing a hierarchical flow meter based on a unit flow meter, and determining whether there are associated flow meters between the hierarchical flow meters; The step of establishing a hierarchical flow meter based on a unit flow meter and determining whether there are associated flow meters between the hierarchical flow meters comprises the following steps: Step S210: extracting the unit flow meter under real-time inspection as the unit flow meter to be inspected, and the unit flow segment corresponding to the unit flow meter to be inspected, marking the last flow destination industrial equipment in the unit flow segment as the target industrial equipment, and searching whether the target industrial equipment constitutes the flow source industrial equipment in the unit flow segment corresponding to other unit flow meters except the unit flow meter to be inspected; When it is not formed, the unit flow meter to be examined is outputted without recording the level flow table; When forming, the unit flow meter contained in the formed unit flow segment is stored as a layer of associated flow meters of the unit flow meter to be examined in the hierarchical flow table of the unit flow meter to be examined, and the unit flow segments corresponding to the unit flow meter to be examined and the layer of associated flow meters in the hierarchical flow table are spliced and stored according to the flow direction; Step S220: Obtain the hierarchical flow tables of all unit flow meters in the visual monitoring point map, and mark the hierarchical flow tables with the same associated flow meters as associated flow tables; the unit flow meters to be examined recorded in the associated flow tables are associated flow meters with each other; Step S300: when there is an associated flow meter, construct an associated impact model corresponding to the hierarchical flow table; when there is no associated flow meter, construct an independent impact model corresponding to the hierarchical flow table; The step S300 includes the following specific steps: When there is an associated flow meter, extract the corresponding associated flow table for comparison, and output the difference characteristics of the unit flow segment recorded in the associated flow table, wherein the difference characteristics include the type characteristics of industrial equipment with functional differences and the numerical difference characteristics of industrial equipment records; When the associated flow meter records a unit flow segment with a numerical difference feature, obtain the industrial equipment numerical difference h of the associated flow meter in the historical data record, where h≠0; the numerical differences of different industrial equipment represent a type of numerical difference feature; obtain the maintenance time T of the industrial equipment numerical difference h and the number of abnormal responses Q of a layer of associated flow meters in the monitoring period after the associated flow meter responds abnormally during the maintenance time, where the length of the monitoring period is less than the maintenance time; use the formula: Y=Q / T; Calculate the associated abnormal response frequency Y under the numerical difference h of industrial equipment, obtain the associated abnormal response frequency Y corresponding to each type of numerical difference feature, construct the first data pair A corresponding to the associated flow table, A=(h,Y), and establish the first associated influence model y, y=a 1 *h+ε 1 , substitute the first data pair of group m to calculate the coefficient a corresponding to the industrial equipment numerical difference h and the associated abnormal response frequency Y 1 and the error term ε 1 , m represents the number of types of numerical difference features of the associated flow table records; When the associated flow meter records no numerical difference feature or no difference feature in the unit flow segment, the abnormal response ratio g of the associated flow meter in the unit flow segment is obtained. The abnormal response ratio refers to the ratio of the abnormal response of the associated flow meter to the normal response of other associated flow meters during the monitoring period of the associated flow meter record. Different ratios indicate different types of abnormal response ratios. Based on the abnormal response ratio g, the feedback response index F of the associated flow meter corresponding to each type of abnormal response ratio is calculated. F=d 1 / d 2 , where d 1 Indicates the number of abnormal responses of the corresponding flowmeter compared to the abnormal response of the next layer, d 2 Represents the total number of records corresponding to the abnormal response ratio; based on the abnormal response ratio g and the feedback response index, a second data pair B is constructed, B=(g,F), and a second correlation influence model f is established, f=a 2 *g+ε 2 , substitute into n sets of second data pairs to calculate the coefficient a corresponding to the abnormal response ratio g and the feedback response index F 2 and the error term ε 2 , n represents the total number of types of abnormal response ratio records; When there is no associated flow meter, construct the independent impact model P corresponding to the hierarchical flow table, P=r 1 / r 2 , where r 1 It indicates the number of abnormal responses of the associated flow meter of a layer during the monitoring period when the unit flow meter to be investigated responds abnormally, r 2 Indicates the total number of abnormal responses of the unit flow meter to be investigated; Step S400: matching the real-time hierarchical flow table corresponding to the flow meter in real time, and judging whether the next unit flow meter in the corresponding hierarchical flow table responds to an early warning when the unit flow meter responds abnormally based on the impact model.
2. According to the artificial intelligence-based flow detection method of claim 1, Features: The step S100 includes the following specific steps: Step S110: The flow connection relationship refers to the connection relationship established based on the presence of the detection object of the flow meter in the industrial equipment; the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located is marked in the order of flow direction; the minimum flow segment is composed of the flow source industrial equipment adjacent to the flow meter, the flow destination industrial equipment and the corresponding flow meter; Step S120: searching each minimum flow segment, marking the flow meter recorded in the minimum flow segment as the target flow meter; searching whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter; If it exists, the target flow meter is output as a unit flow meter, and the minimum flow segment corresponding to the target flow meter is the unit flow segment; if it does not exist, based on the flow relationship between the industrial equipment, the industrial equipment and the flow direction are added to the minimum flow segment of the target flow meter, and each additional industrial equipment requires a search for the flow destination industrial equipment until there is a flow destination industrial equipment record in the minimum flow segment of other flow meters except the target flow meter, then the addition is stopped, and a unit flow segment corresponding to the target flow meter is formed, and the target flow meter is output as the unit flow meter corresponding to the unit flow segment.
3. According to the flow detection method based on artificial intelligence in claim 2, Features: The step S400 includes the following specific steps: Get the real-time hierarchical flow meter. When there is no associated flow meter in the real-time hierarchical flow meter, set the independent impact threshold P0, match the independent impact model corresponding to the same real-time hierarchical flow meter, and get the output value of the independent impact model. When the output value is greater than P0, an early warning response is issued to indicate that there is an abnormal signal in a layer of associated flow meters in the corresponding hierarchical flow table. When there is an associated flow meter in the real-time hierarchical flow meter, the historical hierarchical flow meter with the same industrial equipment type characteristics as the unit flow segment where the flow meter in the real-time hierarchical flow meter is located is matched as the reference flow meter, and the real-time industrial equipment value difference h recorded by the real-time associated flow meter is obtained. 0 , When h 0 =0, obtain the real-time abnormal response ratio of the associated flow meter in the unit flow section, substitute it into the second associated influence model f, and obtain the real-time feedback response index F of the model output value 0 , set the feedback response index threshold f 0 , if F 0 >f 0 When an abnormal signal is present in a related flow meter of a layer in the corresponding hierarchical flow table, an early warning response is made; otherwise, no early warning response is made; When h 0 ≠0, substitute h 0 To the first correlation influence model, obtain the model output value associated with the abnormal reaction frequency Y 0 , set the associated abnormal response frequency threshold y 0 , if Y 0 >y 0 When an abnormal signal is detected in a related flow meter of a layer in the corresponding hierarchical flow table, an early warning response is made; otherwise, no early warning response is made.
4. A flow detection system based on artificial intelligence, such as using a flow detection method based on artificial intelligence as described in any one of claims 1 to 3, It is characterized in that It includes a visual monitoring point map extraction module, a unit flow meter determination module, a correlation flow meter judgment module, an impact model construction module and an early warning response module; The visual monitoring point map extraction module is used to extract the visual monitoring point map composed of various industrial equipment and the flow connection relationship corresponding to the equipment in the monitoring system; The unit flow meter determination module is used to determine the unit flow meters in the industrial equipment group based on the visual monitoring point map; The associated flow meter judgment module is used to establish a hierarchical flow meter based on a unit flow meter and determine whether there is an associated flow meter between the hierarchical flow meters; The impact model building module is used to build an associated impact model and an independent impact model; The early warning response module is used to match the real-time hierarchical flow table corresponding to the flow meter in real time, and judge whether the next unit flow meter in the corresponding hierarchical flow table responds to an early warning when the unit flow meter responds abnormally based on the impact model.
5. According to claim 4, a flow detection system based on artificial intelligence, Features: The unit flow meter determination module includes a minimum flow segment marking unit, a device retrieval unit and a unit flow meter output unit; The minimum flow segment marking unit is used to mark the minimum flow segment in the visual monitoring point map where the detection object of each flow meter is located according to the flow direction sequence; The device retrieval unit is used to search for each minimum flow segment, mark the flow meter recorded in the minimum flow segment as the target flow meter during the search; search whether the flow destination industrial equipment in the minimum flow segment is recorded in the minimum flow segment of other flow meters except the target flow meter; The unit flow meter output unit is used to output the unit flow meter based on the search result.
6. The artificial intelligence-based flow detection system according to claim 5, Features: The impact model building module includes an independent impact model building unit and an associated impact model building unit; The independent impact model building unit is used to obtain the number of abnormal responses of a layer of associated flow meters within a monitoring period when the unit flow meter to be investigated responds abnormally, and the total number of abnormal responses of the unit flow meter to be investigated, when there is no associated flow meter, and to build an independent impact model corresponding to the hierarchical flow table; The association influence model building unit is used to build an association influence model of a corresponding level flow meter based on the association flow meter.
7. The artificial intelligence-based flow detection system according to claim 6, Features: The association influence model building unit includes a difference feature extraction unit, a data pair construction unit, a first association influence model construction unit and a second association influence model construction unit; The difference feature extraction unit is used to extract the corresponding associated flow table for comparison when there is an associated flow meter, and output the difference feature of the associated flow table recording the unit flow segment; When the associated flow meter records a unit flow segment with a numerical difference feature, obtaining the industrial equipment numerical difference recorded in the historical data of the associated flow meter; The data pair construction unit is used to calculate the associated abnormal response frequency, and construct a first data pair based on the numerical difference of the industrial equipment, and calculate the feedback response index and the abnormal response ratio to construct a second data pair; The first association influence model building unit is used to build based on the first data pair; The second association influence model building unit is used for building the model based on the second data pair.
