A valve control method, controller and system of an Internet of Things valve controller

By collecting and analyzing valve pipeline transportation data, constructing characteristic change coefficients and correlations, and using clustering algorithms to adaptively adjust valve openings, the problem of difficult and low accuracy of medium flow control under fixed openings is solved, and the efficiency of pipeline transportation is improved. Efficiency and accuracy.

CN118564707BActive Publication Date: 2024-10-18NAVICO (JINAN) INTELLIGENT EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411035754.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-18
Estimated Expiration
2044-07-31

Smart Images

  • Figure CN118564707B_ABST
    Figure CN118564707B_ABST
Patent Text Reader

Abstract

The present application relates to the field of valve control technology, and specifically to a valve control method, controller and system of an Internet of Things valve controller, the method comprising: collecting relevant data in the process of conveying medium in the valve pipeline; clustering all point pairs based on the difference in the linear change relationship between the difference in medium flow data and the difference in pipeline pressure data between the point pairs before and after each historical valve opening control, and under the influence of the valve opening data corresponding to the point pairs, combined with the change in the difference in medium flow data of the point pairs at different medium temperatures; determining the reference class of the current valve opening control based on the similarity between the relevant data before the current valve opening control and the valve opening control of each point pair in each cluster; and taking the mean of the valve opening data of all point pairs in the reference class as the opening of the current valve. The present application aims to improve the accuracy and efficiency of valve opening control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of valve control technology, and in particular to a valve control method, controller and system of an Internet of Things valve controller. Background Art

[0002] The valve controller is a product used in conjunction with the valve electric device to control the opening and closing of the electric valve, and can realize the remote control of the electric valve in the control room. With the continuous development of intelligent control valves, the requirements for automatic control valves are getting higher and higher. In the process of pipeline transportation, valves are the key components for controlling the safe transportation of pipelines, and they play an especially important role in the entire pipeline transportation process. Among them, the control of the valve opening of the automatic control valve is the core of the entire valve control system. Implementing the necessary valve position opening control is an urgent problem to be solved in the pipeline transportation industry.

[0003] Due to the different properties of different media, the medium flow rate changes differently with the valve opening during the transportation process. When using a fixed valve opening to regulate the transportation flow of different media, if the valve opening is too large, the medium flow rate will be too large, which will make valve control more difficult, resulting in a large gap between the final actual flow rate and the target flow rate, and the accuracy of the valve pipeline transportation flow rate is low; if the valve opening is too small, the medium flow rate will be too small, which will cause the valve pipeline to transport the medium for too long, thereby reducing the efficiency of pipeline transportation. Summary of the invention

[0004] In order to solve the above technical problems, the purpose of this application is to provide a valve control method, controller and system of an Internet of Things valve controller. The technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present application provides a valve control method of an Internet of Things valve controller, the method comprising the following steps:

[0006] A1, collecting relevant data during the process of the valve pipeline transporting the medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data;

[0007] A2, before and after each valve opening control in history, select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change, to form a point pair before and after each valve opening control in history;

[0008] A3, determining the degree of change between the point pairs based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs;

[0009] A4, under the influence of the valve opening data corresponding to the point pair, based on the distribution of the difference in medium flow data of all point pairs at different medium temperatures, and the difference change in flow data at adjacent medium temperatures, determine the correlation between temperature and flow data;

[0010] A5, combining the correlation between temperature and flow, optimizes the degree of variation between point pairs to obtain the optimized degree of variation between point pairs;

[0011] A6, based on the optimized change degree between point pairs as the metric distance, cluster all point pairs to obtain several clusters; based on the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension, take it as the similarity between the current valve and each point pair; based on the similarity and value between all point pairs in each cluster and the current valve, determine the reference class of the current valve opening control; take the mean of the valve opening data of all point pairs in the reference class as the opening of the current valve.

[0012] Preferably, the method for determining the degree of change between the point pairs includes:

[0013] Based on the medium flow data difference and pipeline pressure data difference between two data points in each point pair, a characteristic variation coefficient of the transported medium of each point pair is constructed;

[0014] The difference in characteristic variation coefficient of the transport medium between any two point pairs is taken as the degree of variation between any two point pairs.

[0015] Preferably, the characteristic variation coefficient is constructed by taking the ratio of the medium flow data difference and the pipeline pressure data difference between two data points in each point pair as the characteristic variation coefficient of the transport medium of each point pair.

[0016] Preferably, the method for determining the correlation between the temperature and flow data includes:

[0017] Get the average temperature of each point pair as the horizontal coordinate, get the absolute value of the flow data difference of each point pair as the vertical coordinate, and construct a coordinate graph with all the point pairs as coordinate data points;

[0018] Based on the difference between the medium temperature and medium flow data between adjacent coordinate data points in the coordinate graph under the influence of the valve opening, the change alignment between the temperature and flow data is determined;

[0019] Obtain the percentage of medium flow data differences with different values ​​in the coordinate graph;

[0020] The product of the proportion and the change alignment is taken as the correlation between the temperature and flow data.

[0021] Preferably, the calculation formula of the change alignment is: ; Where D represents the change alignment between temperature and flow data under the influence of valve opening between all adjacent coordinate data points in the coordinate graph, R represents the number of coordinate data points in the coordinate graph, , Respectively represent the average temperature of the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph, , They represent the absolute value of the flow data difference between the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph, respectively. , They represent the valve opening data of the i-th coordinate data point and the i+1-th coordinate data point in the coordinate diagram under the corresponding point pair, respectively. A very small positive number to prevent the denominator from being zero.

[0022] Preferably, the method for obtaining the optimized degree of change between the point pairs is: taking the degree of change between the point pairs as the numerator, taking the correlation between the temperature and flow data as the denominator; and taking the ratio of the numerator to the denominator as the optimized degree of change between the point pairs.

[0023] Preferably, among the two data points for calculating the inverse of the sum of the differences in corresponding dimensions, one data point is: the first data point of the valve opening in the corresponding point pair; the other data point is: the data point closest to the current moment before the current valve opening is controlled, and the related data at its adjacent moments do not change.

[0024] Preferably, the reference class of the current valve opening control is the cluster having the maximum similarity and value.

[0025] In a second aspect, an embodiment of the present application provides an Internet of Things valve controller, the Internet of Things valve controller comprising:

[0026] The valve pipeline related data acquisition module is used to collect the relevant data in the process of the valve pipeline conveying the medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data;

[0027] The valve pipeline related data analysis module is used to select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change before and after each historical valve opening control, to form a point pair before and after each historical valve opening control; based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs, determine the degree of change between the point pairs; under the influence of the valve opening data corresponding to the point pairs, based on the distribution of the medium flow data difference of all point pairs at different medium temperatures, and the difference change of flow data at adjacent medium temperatures, determine the correlation between temperature and flow data; combined with the correlation between temperature and flow, optimize the degree of change between point pairs to obtain the optimized degree of change between point pairs;

[0028] The valve opening control module is used to cluster all point pairs to obtain several clusters based on the optimized change degree between point pairs as the metric distance; the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension is used as the similarity between the current valve and each point pair; the reference class of the current valve opening control is determined based on the similarity and value between all point pairs in each cluster and the current valve; the mean of the valve opening data of all point pairs in the reference class is used as the opening of the current valve.

[0029] In a third aspect, an embodiment of the present application further provides an Internet of Things valve control system, the system comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the valve control method of an Internet of Things valve controller described in any one of the above items when executing the computer program.

[0030] It can be seen from the above embodiments that the valve control method, controller and system of the IoT valve controller provided by the embodiments of the present application have at least the following beneficial effects:

[0031] In the present application, the data in the historical control process of the valve opening is analyzed to obtain the corresponding point pairs in order to accurately identify the changes in the relevant data before and after each historical valve opening control; based on the characteristics of the valve's delivery pipeline that transports different media, the degree of variation of the property characteristics of the transported medium between the point pairs is constructed, which can more accurately distinguish the differences between different types of point pairs; under the influence of the valve opening data, based on the influence of temperature and the flow data of the transported medium, the correlation between the temperature and flow data is determined to characterize the influence of temperature on the flow data, thereby optimizing the degree of variation between the corresponding point pairs, clustering all the point pairs in the historical control process based on the optimized degree of variation, and then completing the selection of the reference class of the current valve, thereby improving the clustering effect of the historical medium transportation process, and then through the valve opening average of all point pairs in the same category, the control of the current valve opening is more accurate, and at the same time, the efficiency of valve pipeline medium transportation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A flow chart of the steps of a valve control method of an Internet of Things valve controller provided in one embodiment of the present application;

[0034] Figure 2 A coordinate diagram provided for one embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the valve control method, controller and system of an Internet of Things valve controller proposed in the present application, its specific implementation method, structure, features and effects are described in detail as follows in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0036] Unless otherwise specified and limited, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application.

[0037] The following is a detailed description of a valve control method, controller and system of an Internet of Things valve controller provided by the present application in conjunction with the accompanying drawings.

[0038] The purpose of this application is to adaptively control the valve opening during the process of conveying media in the IoT valve pipeline, reduce the possibility of a large gap between the actual flow rate and the target flow rate or a long delivery time, and improve the delivery efficiency of the valve pipeline medium and the accuracy of the delivery flow rate.

[0039] See also Figure 1 , which shows a flow chart of the steps of a valve control method of an Internet of Things valve controller provided by an embodiment of the present application, the method comprising the following steps:

[0040] A1, collecting relevant data during the process of valve pipeline conveying medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data.

[0041] The IoT valve controller is mainly composed of valves, pressure transmitters, flow meters, temperature transmitters, electric actuators, intelligent processors, cloud servers, terminal devices, etc.

[0042] This application uses three monitoring devices, namely, a pressure transmitter, a flow meter, and a temperature transmitter, to monitor the pipeline pressure, medium flow rate, and medium temperature in the process of the valve pipeline transporting the medium in the system in real time. The pressure transmitter and the flow meter are installed downstream of the valve to measure the pressure on the pipeline caused by the medium passing through the valve and the flow rate of the medium, respectively. The temperature transmitter is installed on the pipeline near the valve to measure the temperature of the medium when it passes through the valve.

[0043] The data collection time interval is t, and in this embodiment, t is set to 1s.

[0044] At this point, the acquisition of pipeline pressure data, medium flow data, and medium temperature data during the valve pipeline conveying medium can be completed.

[0045] A2, before and after each valve opening control in history, select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change, to form a point pair before and after each valve opening control in history.

[0046] When controlling the valve opening, it is usually to ensure that the liquid or gas in a device or system passes through at a specific flow rate, so a target flow rate can be obtained, which is a specific flow value at which the medium is finally transported in the device or system.

[0047] Generally speaking, since the relevant data in the process of conveying the medium in the valve pipeline will change to a certain extent before and after the valve opening control, in order to accurately identify such changes before and after each historical valve opening control, the present application analyzes any historical valve opening control moment, and selects a data point that is closest to the valve opening control moment before and after the valve opening control, and the relevant data at the adjacent moments do not change.

[0048] The data point that meets the above conditions before the valve opening control is recorded as the first valve opening data point, and the data point that meets the above conditions after the valve opening control is recorded as the second valve opening data point. These two data points form a point pair corresponding to any historical valve opening control before and after.

[0049] The relevant data of each data point are the medium flow data, pipeline pressure data, and medium temperature data at the time corresponding to the data point.

[0050] At this point, the point pairs before and after each valve opening control in history can be obtained according to the above steps.

[0051] In the specific implementation process, in view of the different flow characteristics of different media in the valve pipeline, it is necessary to adaptively control the valve opening at the target flow rate of different media. If the valve opening is too large, the flow rate of the medium is too large, which will make the valve control more difficult, resulting in a large gap between the final actual flow and the target flow, and the accuracy of the valve pipeline flow delivery is low; if the valve opening is too small, the flow rate of the medium is too small, which will cause the valve pipeline to transport the medium for too long, thereby reducing the efficiency of pipeline transportation.

[0052] Based on this, the application first obtains the valve opening corresponding to the target flow rate during the current valve pipeline conveying medium based on the historical valve opening control data, and combines the relationship between the remaining target flow rate and the current valve opening during the real-time valve pipeline conveying medium to adaptively control the valve opening to improve the flow control accuracy and efficiency of the conveying pipeline. The specific process is as follows:

[0053] A3, based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs, the degree of change between the point pairs is determined.

[0054] According to the above step A2, there is a point pair before and after each valve opening control in history. This application performs a difference analysis on the point pairs before and after the valve opening control in different histories. When different valve openings are controlled, the viscosity, density and type of the medium being transported may be different, which leads to different data changes during the medium transportation process.

[0055] Based on this, the present application analyzes the differences between the point pairs before and after the valve opening control under different historical times, adaptively constructs the measurement index between the point pairs, and then completes the cluster analysis of the point pairs, classifies the point pairs of the valve opening control process with similar flow control conditions of the conveying medium into one category, and then completes the adaptive control of the current valve opening based on the difference between the point pairs in the same category and the relevant data of the current conveying medium. The specific process is as follows:

[0056] This embodiment takes point pair Q and point pair W as examples, obtains the medium flow data difference and pipeline pressure data difference between the two data points in each point pair, and determines the characteristic variation coefficient of the corresponding point pair conveying medium by the ratio of the medium flow data difference to the pipeline pressure data difference. It should be understood that when conveying different media, the flow rate of the corresponding conveying medium and the change of the pipeline pressure are often in a linear relationship, and different mediums have different characteristic variation coefficients when conveying different media.

[0057] In another embodiment of the present application, the product of the medium flow data difference and the pipeline pressure data difference is used as the characteristic variation coefficient of the corresponding point to the transported medium.

[0058] The difference in characteristic variation coefficient of the medium transported between point pair Q and point pair W is recorded as the variation degree between point pair Q and point pair W. It should be understood that the greater the difference in characteristic variation coefficient of the medium transported between point pair Q and point pair W, the more likely different media are transported between point pair Q and point pair W, and the greater the variation degree between point pair Q and point pair W.

[0059] A4, under the influence of the valve opening data corresponding to the point pair, based on the distribution of the difference in medium flow data of all point pairs at different medium temperatures, and the change in the difference in flow data at adjacent medium temperatures, the correlation between temperature and flow data is determined.

[0060] According to the above steps, the construction of the degree of variation between point pairs is completed. However, the changes in medium flow data and pipeline pressure data often change with the changes in temperature and valve opening. Therefore, in different corresponding point pairs, due to changes in temperature or valve opening, the difference in the characteristic variation coefficient of the same type of conveying medium during transportation may change greatly, which in turn leads to deviations in the calculation of the degree of variation of the two corresponding point pairs.

[0061] Based on this, under the influence of valve opening data, this application adaptively constructs the correlation between temperature and flow data by analyzing the change of medium flow data and medium temperature at different medium temperatures. Among them, the specific method for constructing the correlation between temperature and flow data is:

[0062] First, the temperature data of each point pair is counted to obtain the average temperature of each point pair and the absolute value of the flow data difference under the corresponding point pair.

[0063] The average temperature of all point pairs is used as the horizontal axis, the absolute value of the flow data difference of all point pairs is used as the vertical axis, and all point pairs are used as coordinate data points to construct a coordinate graph.

[0064] In one embodiment of the present application, the coordinate diagram is as shown in the attached Figure 2 As shown. In the coordinate graph, each coordinate data point represents the absolute value of the flow data difference of a point pair at the corresponding average temperature. The horizontal axis in the coordinate graph is the average temperature in degrees Celsius, and the vertical axis is the absolute value of the flow data difference in cubic meters per hour.

[0065] According to prior knowledge, an increase in the temperature of the transported medium will reduce the viscosity of the medium. The lower the viscosity, the smaller the resistance of the liquid in the pipeline, which in turn leads to an increase in flow data.

[0066] Under the influence of the valve opening of the corresponding point pair, the correlation between temperature and flow data is obtained based on the change characteristics between temperature and flow data. : ; Where M represents the proportion of the absolute value of the flow data difference with different values ​​in the coordinate graph. The more data points with different absolute values ​​of the flow data difference, the more it means that as the temperature rises, the absolute value of the flow data difference changes linearly, rather than repeatedly appearing within the same absolute value of the flow data difference, which means that the correlation between temperature and flow data is greater. D represents the alignment of the change between temperature and flow data under the influence of valve opening between all adjacent coordinate data points in the coordinate graph.

[0067] ; Among them, R represents the number of coordinate data points in the coordinate graph, and the coordinate data points are sorted from small to large in the order of the absolute value of the difference between the average temperature and flow data. , Respectively represent the average temperature of the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph, , They respectively represent the absolute value of the flow data difference between the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph. The larger the value is, the greater the difference between the absolute values ​​of the flow data differences at adjacent average temperatures is, which means that there is a linear relationship between the average temperature and the absolute value of the flow data difference, and the influence of the linear relationship is large, which means that the change alignment between the temperature and flow data is greater, and there is a more obvious synchronous change between the two data, which means that the correlation between the temperature and flow data is also greater. , They represent the valve opening data of the i-th coordinate data point and the i+1-th coordinate data point in the corresponding point pair in the coordinate graph. When calculating the correlation between temperature and flow data, if the difference in valve opening data between two coordinate data points is not large, it means that the valve opening data between the two coordinate data points is not large. The calculation results are smaller The value of is more valuable for analyzing the correlation between temperature and flow data. In order to prevent the denominator from being 0, a very small positive number is set. In this embodiment, the value is 0.01, which can be adjusted by the implementer.

[0068] It should be understood that the difference in valve opening is added as a weight here. The smaller the difference in valve opening, the smaller the impact of the difference in valve opening, and the more accurate the calculated correlation.

[0069] At this point, the construction of the correlation index between temperature and flow data can be completed according to the above steps.

[0070] A5, combining the correlation between temperature and flow, optimizes the degree of variation between point pairs to obtain the optimized degree of variation between point pairs.

[0071] According to the above steps, the correlation index between temperature and flow data under the influence of valve opening is constructed. By combining the influence of the correlation between temperature and flow data on the degree of change between point pairs, the optimized degree of change between point pairs can be obtained. : ;in, represents the degree of change between point pairs, Represents the correlation between temperature and flow data.

[0072] By calculating the correlation between temperature and conveying medium flow data under the influence of valve opening, the variation degree between corresponding point pairs is optimized so that the optimized variation degree can take into account the influence of different temperatures and more accurately reflect the properties of the conveying medium.

[0073] A6, based on the optimized change degree between point pairs as the metric distance, cluster all point pairs to obtain several clusters; based on the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension, take it as the similarity between the current valve and each point pair; based on the similarity and value between all point pairs in each cluster and the current valve, determine the reference class of the current valve opening control; take the mean of the valve opening data of all point pairs in the reference class as the opening of the current valve.

[0074] According to the above steps, the optimized degree of change between any two point pairs is constructed, and the optimized degree of change between the point pairs is used as the metric distance in the clustering process. All point pairs are clustered to obtain several clusters.

[0075] This embodiment adopts the DBSCAN clustering algorithm, which is a well-known technology and will not be described in detail, wherein the clustering radius is set to 0.5 and the minimum sample parameter is set to 6. In another embodiment of the present application, the k-means clustering algorithm is used to cluster all point pairs, and the specific clustering process is set by the implementer according to the actual situation.

[0076] The data point before the current valve opening control, which is closest to the current moment and whose related data at adjacent moments do not change, is obtained as a feature point.

[0077] The reciprocal of the sum of differences between the feature point before the current valve opening control and the first data point of the valve opening before the valve opening control in each point pair in the corresponding dimension is taken as the similarity between the current valve and each point pair.

[0078] Based on the similarity and value between all point pairs in each cluster and the current valve, the cluster with the maximum similarity and value is used as the reference class for the current valve opening control. The mean of the valve opening data of all point pairs in the reference class is used as the opening of the current valve.

[0079] By clustering all point pairs using the optimized degree of change, the clustering effect of the historical medium transportation process is improved, and then the control of the current valve opening is made more accurate through the average valve opening of all point pairs in the same category.

[0080] The adjusted valve opening is used as the valve opening of the current conveying medium, and the position or angle of the valve is adjusted by the electric-hydraulic system in the electric actuator connected to the valve shaft, so that the valve reaches a specific opening. The specific process is a well-known technology and will not be repeated here.

[0081] Based on the same inventive concept as the above method, an embodiment of the present application also provides an Internet of Things valve controller, which includes: a valve pipeline related data acquisition module, a valve pipeline related data analysis module and a valve opening control module.

[0082] The valve pipeline related data acquisition module is used to collect the relevant data in the process of the valve pipeline conveying the medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data;

[0083] The valve pipeline related data analysis module is used to select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change before and after each historical valve opening control, to form a point pair before and after each historical valve opening control; based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs, determine the degree of change between the point pairs; under the influence of the valve opening data corresponding to the point pairs, based on the distribution of the medium flow data difference of all point pairs at different medium temperatures, and the difference change of flow data at adjacent medium temperatures, determine the correlation between temperature and flow data; combined with the correlation between temperature and flow, optimize the degree of change between point pairs to obtain the optimized degree of change between point pairs;

[0084] The valve opening control module is used to cluster all point pairs to obtain several clusters based on the optimized change degree between point pairs as the metric distance; the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension is used as the similarity between the current valve and each point pair; the reference class of the current valve opening control is determined based on the similarity and value between all point pairs in each cluster and the current valve; the mean of the valve opening data of all point pairs in the reference class is used as the opening of the current valve.

[0085] Based on the same inventive concept as the above method, an embodiment of the present application also provides an Internet of Things valve control system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of the valve control method of an Internet of Things valve controller described in any one of the above items are implemented.

[0086] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0087] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, 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 article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.

[0088] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.

[0089] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A valve control method for an Internet of Things valve controller, It is characterized in that The method comprises the following steps: A1, collecting relevant data during the process of the valve pipeline transporting the medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data; A2, before and after each valve opening control in history, select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change, to form a point pair before and after each valve opening control in history; A3, determining the degree of change between the point pairs based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs; A4, under the influence of the valve opening data corresponding to the point pair, based on the distribution of the difference in medium flow data of all point pairs at different medium temperatures, and the difference change in flow data at adjacent medium temperatures, determine the correlation between temperature and flow data; A5, combining the correlation between temperature and flow, optimizes the degree of variation between point pairs to obtain the optimized degree of variation between point pairs; A6, based on the optimized change degree between point pairs as the metric distance, cluster all point pairs to obtain several clusters; based on the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension, take it as the similarity between the current valve and each point pair; based on the similarity and value between all point pairs in each cluster and the current valve, determine the reference class of the current valve opening control; take the mean of the valve opening data of all point pairs in the reference class as the opening of the current valve; The method for determining the degree of change between the point pairs includes: Based on the medium flow data difference and pipeline pressure data difference between two data points in each point pair, a characteristic variation coefficient of the transported medium of each point pair is constructed; The difference in characteristic variation coefficient of the transport medium between any two point pairs is taken as the degree of variation between any two point pairs; The characteristic variation coefficient is constructed by taking the ratio of the medium flow data difference and the pipeline pressure data difference between the two data points in each point pair as the characteristic variation coefficient of the transport medium of each point pair; The method for determining the correlation between the temperature and flow data includes: Get the average temperature of each point pair as the horizontal coordinate, get the absolute value of the flow data difference of each point pair as the vertical coordinate, and construct a coordinate graph with all the point pairs as coordinate data points; Based on the difference between the medium temperature and medium flow data between adjacent coordinate data points in the coordinate graph under the influence of the valve opening, the change alignment between the temperature and flow data is determined; Obtain the percentage of medium flow data differences with different values ​​in the coordinate graph; The product of the proportion and the change alignment is taken as the correlation between the temperature and flow data.

2. The valve control method of the Internet of Things valve controller as claimed in claim 1, It is characterized in that The calculation formula of the change alignment is: ; Where D represents the change alignment between temperature and flow data under the influence of valve opening between all adjacent coordinate data points in the coordinate graph, R represents the number of coordinate data points in the coordinate graph, , Respectively represent the average temperature of the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph, , They represent the absolute value of the flow data difference between the i-th coordinate data point and the i+1-th coordinate data point in the coordinate graph, respectively. , They represent the valve opening data of the i-th coordinate data point and the i+1-th coordinate data point in the coordinate diagram under the corresponding point pair, respectively. A very small positive number to prevent the denominator from being zero.

3. The valve control method of the Internet of Things valve controller as claimed in claim 1, It is characterized in that The method for obtaining the optimized degree of change between the point pairs is: taking the degree of change between the point pairs as the numerator, taking the correlation between the temperature and flow data as the denominator; and taking the ratio of the numerator to the denominator as the optimized degree of change between the point pairs.

4. The valve control method of the Internet of Things valve controller as claimed in claim 1, It is characterized in that Among the two data points for calculating the inverse of the sum of the differences in the corresponding dimensions, one data point is: the first data point of the valve opening in the corresponding point pair; the other data point is: the data point closest to the current moment before the current valve opening is controlled, and the related data at the adjacent moments do not change.

5. The valve control method of the Internet of Things valve controller as claimed in claim 1, It is characterized in that The reference class of the current valve opening control is the cluster having the maximum similarity and value.

6. An IoT valve controller, It is characterized in that The Internet of Things valve controller comprises: The valve pipeline related data acquisition module is used to collect the relevant data in the process of the valve pipeline conveying the medium; the relevant data includes pipeline pressure data, medium flow data and medium temperature data; The valve pipeline related data analysis module is used to select a data point that is closest to the valve opening control moment and whose related data at adjacent moments do not change before and after each historical valve opening control, to form a point pair before and after each historical valve opening control; based on the difference in the linear change relationship between the medium flow data difference and the pipeline pressure data difference between the point pairs, determine the degree of change between the point pairs; under the influence of the valve opening data corresponding to the point pairs, based on the distribution of the medium flow data difference of all point pairs at different medium temperatures, and the difference change of flow data at adjacent medium temperatures, determine the correlation between temperature and flow data; combined with the correlation between temperature and flow, optimize the degree of change between point pairs to obtain the optimized degree of change between point pairs; The valve opening control module is used to cluster all point pairs to obtain several clusters based on the optimized change degree between point pairs as the metric distance; the reciprocal of the sum of the differences between the current valve opening before control and the valve opening before control in each point pair in the corresponding dimension is used as the similarity between the current valve and each point pair; the reference class of the current valve opening control is determined based on the similarity and value between all point pairs in each cluster and the current valve; the mean value of the valve opening data of all point pairs in the reference class is used as the opening of the current valve; The method for determining the degree of change between the point pairs includes: Based on the medium flow data difference and pipeline pressure data difference between two data points in each point pair, a characteristic variation coefficient of the transported medium of each point pair is constructed; The difference in characteristic variation coefficient of the transport medium between any two point pairs is taken as the degree of variation between any two point pairs; The characteristic variation coefficient is constructed by taking the ratio of the medium flow data difference and the pipeline pressure data difference between the two data points in each point pair as the characteristic variation coefficient of the transport medium of each point pair; The method for determining the correlation between the temperature and flow data includes: Get the average temperature of each point pair as the horizontal coordinate, get the absolute value of the flow data difference of each point pair as the vertical coordinate, and construct a coordinate graph with all the point pairs as coordinate data points; Based on the difference between the medium temperature and medium flow data between adjacent coordinate data points in the coordinate graph under the influence of the valve opening, the change alignment between the temperature and flow data is determined; Obtain the percentage of medium flow data differences with different values ​​in the coordinate graph; The product of the proportion and the change alignment is taken as the correlation between the temperature and flow data.

7. An Internet of Things valve control system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, It is characterized in that When the processor executes the computer program, the steps of the valve control method of the Internet of Things valve controller as described in any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Valve flow control method and device and electronic equipment

    CN115344064A

  • Valve opening degree control method and device, nonvolatile storage medium and processor

    CN115711315A