CN118564707B - Valve control method, controller and system of valve controller of Internet of things - Google Patents

Valve control method, controller and system of valve controller of Internet of things Download PDF

Info

Publication number
CN118564707B
CN118564707B CN202411035754.0A CN202411035754A CN118564707B CN 118564707 B CN118564707 B CN 118564707B CN 202411035754 A CN202411035754 A CN 202411035754A CN 118564707 B CN118564707 B CN 118564707B
Authority
CN
China
Prior art keywords
data
point
valve
change
valve opening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411035754.0A
Other languages
Chinese (zh)
Other versions
CN118564707A (en
Inventor
朱向义
张峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neveco Jinan Intelligent Equipment Co ltd
Original Assignee
Neveco Jinan Intelligent Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neveco Jinan Intelligent Equipment Co ltd filed Critical Neveco Jinan Intelligent Equipment Co ltd
Priority to CN202411035754.0A priority Critical patent/CN118564707B/en
Publication of CN118564707A publication Critical patent/CN118564707A/en
Application granted granted Critical
Publication of CN118564707B publication Critical patent/CN118564707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/04Actuating devices; Operating means; Releasing devices electric; magnetic using a motor
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K37/00Special means in or on valves or other cut-off apparatus for indicating or recording operation thereof, or for enabling an alarm to be given
    • F16K37/0025Electrical or magnetic means
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K37/00Special means in or on valves or other cut-off apparatus for indicating or recording operation thereof, or for enabling an alarm to be given
    • F16K37/0075For recording or indicating the functioning of a valve in combination with test equipment
    • F16K37/0091For recording or indicating the functioning of a valve in combination with test equipment by measuring fluid parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Pipeline Systems (AREA)

Abstract

The application relates to the technical field of valve control, in particular to a valve control method, a controller and a system of an internet of things valve controller, wherein the method comprises the following steps: collecting related data in the process of conveying media through a valve pipeline; based on the difference of linear change relations between medium flow data differences and pipeline pressure data differences between point pairs before and after each time of historical valve opening control, and under the influence of valve opening data corresponding to the point pairs, clustering all the point pairs according to the change of the medium flow data differences of the point pairs at different medium temperatures; determining a reference class of current valve opening control based on similarity between related data before the current valve opening control and before the valve opening control in each point pair in each cluster; and taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve. The application aims to improve the accuracy and efficiency of valve opening control.

Description

Valve control method, controller and system of valve controller of Internet of things
Technical Field
The application relates to the technical field of valve control, in particular to a valve control method, a valve control controller and a valve control system of an internet of things valve controller.
Background
The valve controller is a product matched with the valve electric device for controlling the opening and closing of the electric valve, and can realize the control of the electric valve in a control room at a long distance. With the continuous development of intelligent control valves, the requirements on automatic control valves are also increasing. In the pipeline transportation process, the valve is used as a key component for controlling the safe transportation of the pipeline, and plays an important role in the whole pipeline transportation process, wherein the control of the valve opening of the automatic control valve is used as the core of the whole valve control system, and the necessary valve position opening control is realized, so that the valve is a problem to be solved urgently in the pipeline transportation industry.
Because the property characteristics of different media are different, the medium flow is different along with the change of the valve opening in the conveying process, when the fixed valve opening is used for regulating and controlling the conveying flow of different media, if the valve opening is too large, the excessive flow of the media can cause the valve control difficulty to be larger, so that the gap between the final actual flow and the target flow is too large, and the accuracy of the conveying flow of the valve pipeline is lower; if the valve opening is too small, too small a flow of the medium can result in too long a time for the valve to convey the medium through the pipeline, thereby reducing the efficiency of pipeline conveyance.
Disclosure of Invention
In order to solve the technical problems, the application aims to provide a valve control method, a controller and a system of an internet of things valve controller, and the adopted technical scheme is as follows:
In a first aspect, an embodiment of the present application provides a valve control method of an internet of things valve controller, where the method includes the following steps:
a1, collecting related data in the process of conveying media through a valve pipeline; the related data comprises pipeline pressure data, medium flow data and medium temperature data;
A2, before and after each time of valve opening control of the history, respectively selecting a data point which is nearest to the valve opening control moment and does not change related data at adjacent moments, and forming a point pair before and after each time of valve opening control of the history;
A3, determining the degree of change between the point pairs based on the difference of the linear change relation of the medium flow data difference and the pipeline pressure data difference between the point pairs;
A4, under the influence of the point pairs on corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures;
a5, optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow to obtain the optimized degree of change between the point pairs;
A6, clustering all the point pairs to obtain a plurality of cluster clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; and taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve.
Preferably, the method for determining the degree of change between the pairs of points includes:
constructing a characteristic change coefficient of the conveying medium of each point pair based on the medium flow data difference and the pipeline pressure data difference between two data points of each point pair;
and taking the difference of characteristic change coefficients of the conveying medium between any two point pairs as the change degree between any two point pairs.
Preferably, the construction method of the characteristic change coefficient comprises the following steps: the ratio of the difference in medium flow data and the difference in line pressure data between the two data points in each point pair is used as the characteristic change coefficient of the conveying medium in each point pair.
Preferably, the method for determining the correlation between the temperature and the flow data includes:
The average temperature of each point pair is obtained as an abscissa, the absolute value of the flow data difference value of each point pair is obtained as an ordinate, and each point pair is taken as a coordinate data point to construct a coordinate graph;
Determining the change alignment degree between the temperature and the flow data based on the difference condition of the medium temperature and the medium flow data difference between adjacent coordinate data points in the coordinate graph under the influence of the valve opening;
acquiring the duty ratio of medium flow data differences with different numerical values in a coordinate graph;
and taking the product of the duty ratio and the change alignment degree as the correlation between the temperature and the flow data.
Preferably, the calculation formula of the change alignment degree is: ; wherein D represents the alignment degree of the change between the temperature and the flow data under the influence of the opening degree of the valve between all adjacent coordinate data points in the coordinate graph, R represents the number of the coordinate data points in the coordinate graph, Respectively representing the average temperatures of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph,Respectively representing the absolute value of the flow data difference value of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph,Respectively representing valve opening data of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph under the corresponding point pair,An extremely small positive number is set to prevent the denominator from being 0.
Preferably, the method for obtaining the optimized variation degree between the point pairs comprises the following steps: taking the degree of change between the point pairs as a numerator and the relevance between the temperature and the flow data as a denominator; the ratio of the numerator to the denominator is taken as the optimized degree of change between the point pairs.
Preferably, two data points of the inverse of the sum of differences in the corresponding dimensions are calculated, one of which is: a first data point corresponding to the valve opening in the point pair; another data point is: and before the current valve opening is controlled, the data point is closest to the current moment, and the related data at the adjacent moment is unchanged.
Preferably, the reference class of the current valve opening control is a cluster that will have the greatest similarity and value.
In a second aspect, an embodiment of the present application provides an internet of things valve controller, including:
the valve pipeline related data acquisition module is used for acquiring related data in the process of conveying media through the valve pipeline; the related data comprises pipeline pressure data, medium flow data and medium temperature data;
The valve pipeline related data analysis module is used for respectively selecting a data point which is nearest to the valve opening control moment and does not change related data at adjacent moments before and after each time of valve opening control of the history, and forming a point pair before and after each time of valve opening control of the history; determining a degree of change between pairs of points based on differences in a linear change relationship of the media flow data differences and the conduit pressure data differences between the pairs of points; under the influence of the point pairs on corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures; optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow to obtain the optimized degree of change between the point pairs;
the valve opening control module is used for clustering all the point pairs to obtain a plurality of clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; and taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve.
In a third aspect, an embodiment of the present application further provides an internet of things valve control system, where the system includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the steps of the valve control method of any one of the above-mentioned internet of things valve controllers when executing the computer program.
As can be seen from the above embodiments, the valve control method, the controller and the system for the valve controller of the internet of things provided by the embodiments of the present application have at least the following beneficial effects:
According to the method, the corresponding point pairs are obtained by analyzing the data in the historical control process of the valve opening, so that the change of the relevant data before and after each historical valve opening control is accurately identified; the construction of the degree of change of the property characteristics of the conveying medium between the point pairs is completed based on the characteristics of the conveying pipeline of the valve for conveying different mediums, so that the difference between the point pairs of different types can be distinguished more accurately; under the influence of valve opening data, based on the influence of temperature and flow data of a conveying medium, the relevance between the temperature and the flow data is determined and used for representing the influence condition of the temperature on the flow data, so that the change degree between corresponding point pairs is optimized, all point pairs in a history control process are clustered based on the optimized change degree, the selection of a reference class of a current valve is further completed, the clustering effect of the history medium conveying process is improved, and the valve opening average value of all point pairs in the same class is used for controlling the opening of the current valve more accurately, and meanwhile, the efficiency of conveying the valve pipeline medium is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a step flowchart of a valve control method of an internet of things valve controller according to an embodiment of the present application;
Fig. 2 is a graph provided in one embodiment of the present application.
Detailed Description
In order to further describe the technical means and effects adopted by the application to achieve the preset aim, the following is a detailed description of a valve control method, a controller and a system of the valve controller of the internet of things according to the application, which are provided by the application, with reference to the accompanying drawings and the preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless specified and limited otherwise, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a circuit structure, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, the statement "comprises one … …" does not exclude that an additional identical element is present in an article or device comprising the element. In addition, the term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
The application provides a valve control method, a valve control controller and a valve control system for an internet of things valve controller, which are specifically described below with reference to the accompanying drawings.
The application aims to reduce the possibility of the situation that the gap between the actual flow and the target flow is overlarge or the conveying time is longer by adaptively regulating and controlling the opening of the valve in the process of conveying the medium through the valve pipeline of the Internet of things, and improve the conveying efficiency and the accuracy of the conveying flow of the valve pipeline medium.
Referring to fig. 1, a flowchart of a valve control method of an internet of things valve controller according to an embodiment of the application is shown, and the method includes the following steps:
A1, collecting related data in the process of conveying media through a valve pipeline; the related data includes tubing pressure data, media flow data, and media temperature data.
The valve controller of the internet of things mainly comprises a valve, a pressure transmitter, a flowmeter, a temperature transmitter, an electric actuator, an intelligent processor, a cloud server, terminal equipment and the like.
The application monitors the pipeline pressure, the medium flow and the medium temperature in the process of conveying the medium by the valve pipeline in the system in real time through 3 monitoring devices of the pressure transmitter, the flowmeter and the temperature transmitter. The pressure transmitter and the flowmeter are arranged at the downstream of the valve and are respectively used for measuring the pressure caused by the medium passing through the valve and the flow of the medium, and the temperature transmitter is arranged on the pipeline near the valve and is used for measuring the temperature of the medium passing through the valve.
The data acquisition time interval is t, where t is set to be 1s in this embodiment.
Thus, the acquisition of the related data of the pipeline pressure data, the medium flow data and the medium temperature data in the process of conveying the medium by the valve pipeline can be completed.
A2, before and after each time of valve opening control of the history, respectively selecting a data point which is closest to the valve opening control moment and does not change related data at adjacent moments, and forming a point pair before and after each time of valve opening control of the history.
In controlling the valve opening, it is common to ensure that a liquid or gas in a certain device or system passes through at a specific flow rate, so that a target flow rate, which is a specific flow rate at which a medium is eventually transported in the device or system, can be obtained.
In general, since relevant data in the process of conveying media through a valve pipeline will change to a certain extent before and after valve opening control, in order to accurately identify the change before and after each valve opening control of a history, the application analyzes the valve opening control moment of any history, and before and after valve opening control, a data point which is closest to the valve opening control moment and has no change in relevant data at adjacent moments is selected respectively.
And recording the data points meeting the conditions before the valve opening control as first data points of the valve opening, recording the data points meeting the conditions after the valve opening control as second data points of the valve opening, and forming the two data points into a point pair corresponding to any one history before and after the valve opening control.
Wherein, the relevant data of each data point is the medium flow data, the pipeline pressure data and the medium temperature data of the corresponding time of the data point.
So far, the point pairs before and after the valve opening control of each time can be obtained according to the steps.
In a specific implementation process, in view of different flow characteristics of different media in a valve pipeline, the valve opening of the valve opening under the target flow of different media needs to be adaptively controlled, if the valve opening is too large, the flow of the media can cause larger valve control difficulty, so that the difference between the final actual flow and the target flow is too large, and the accuracy of the flow conveyed by the valve pipeline is lower; if the valve opening is too small, too small a flow of the medium can result in too long a time for the valve to convey the medium through the pipeline, thereby reducing the efficiency of pipeline conveyance.
According to the method, firstly, corresponding valve opening under the target flow in the process of conveying the medium through the current valve pipeline is obtained according to historical valve opening control data, and the valve opening is adaptively controlled by combining the relation between the residual target flow and the current valve opening in the process of conveying the medium through the real-time valve pipeline, so that the flow control precision and efficiency of the conveying pipeline are improved. The specific process is as follows:
a3, determining the change degree between the point pairs based on the difference of the linear change relation of the medium flow data difference and the pipeline pressure data difference between the point pairs.
According to the step A2, a point pair is arranged before and after each valve opening control. According to the application, difference analysis is carried out on point pairs before and after the valve opening control of different times of histories, and as different valve openings are controlled, the viscosity, density and types of media conveyed by the valve opening control device are possibly different, so that the data change in the media conveying process is also different.
Based on the method, the difference between the point pairs before and after the valve opening control under different historical times is analyzed, the measurement index between the point pairs is adaptively constructed, the clustering analysis of the point pairs is further completed, the point pairs in the valve opening control process similar to the flow control condition of the conveying medium are classified into one type, and the adaptive control of the current valve opening is further completed based on the difference between the point pairs in the same type and the related data of the current conveying medium, wherein the specific process is as follows:
in this embodiment, taking the point pair Q and the point pair W as examples, the medium flow data difference and the pipeline pressure data difference between two data points in each point pair are respectively obtained, and the characteristic change coefficient of the conveying medium of the corresponding point pair is determined by the ratio of the medium flow data difference to the pipeline pressure data difference. It should be understood that when different media are conveyed, the flow rate of the conveying medium and the change of the pipeline pressure are often in a linear relationship, and the flow rate and the change of the pipeline pressure have different characteristic change coefficients when different media are conveyed.
In another embodiment of the application, the product of the difference in medium flow data and the difference in line pressure data is used as a characteristic change factor of the corresponding point pair conveying medium.
The difference in characteristic change coefficient of the transport medium between the pair of points Q and the pair of points W is referred to as the degree of change between the pair of points Q and the pair of points W. It will be appreciated that the greater the difference in the characteristic change coefficients of the medium conveyed between the pair of points Q and the pair of points W, the more likely it is that the different medium will be conveyed between the pair of points Q and the pair of points W, the greater the degree of change between the pair of points Q and the pair of points W.
And A4, under the influence of the point pairs on the corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures.
According to the steps, the construction of the degree of change between the point pairs is completed, however, the change of the medium flow data and the pipeline pressure data often changes along with the change of the temperature and the valve opening, so that the difference of characteristic change coefficients of the same type of conveying medium is changed greatly when the conveying medium is conveyed due to the change of the temperature or the valve opening in different corresponding point pairs, and further the calculation of the degree of change of the two corresponding point pairs is deviated.
Based on the method, under the influence of valve opening data, the relevance between the temperature and the flow data is built in a self-adaptive mode by analyzing the change of the flow data of the medium and the change of the temperature of the medium at different medium temperatures. The specific construction method of the relevance between the temperature and the flow data comprises the following steps:
firstly, counting the temperature data of each point pair, and obtaining the average temperature of each point pair and the absolute value of the flow data difference value under the corresponding point pair.
And taking the average temperature of all the point pairs as an abscissa, taking the absolute value of the flow data difference value of all the point pairs as an ordinate, and taking all the point pairs as coordinate data points to construct a coordinate graph.
In one embodiment of the application, a graph is shown in FIG. 2. In the graph, each coordinate data point represents an absolute value of the difference in flow data at a corresponding average temperature for one point pair. The abscissa in the graph is the average temperature in degrees celsius, and the ordinate is the absolute value of the flow data difference in cubic meters per hour.
From a priori knowledge, an increase in the temperature of the delivery medium will result in a decrease in the viscosity of the medium, while a lower viscosity will result in a lower resistance of the liquid in the conduit, which in turn will result in an increase in flow data.
Under the influence of the valve opening of the corresponding point pair, acquiring the relevance of the temperature and the flow data based on the change characteristics between the temperature and the flow data; Wherein M represents the ratio of the absolute values of the flow data difference values with different values in the graph, and the more the number of data points of the absolute values of the flow data difference values with different values, the more the absolute values of the flow data difference values are, the more the temperature increases, the flow data difference values are in linear change instead of being concentrated in the range of the same flow data difference value, namely the larger the relevance between the temperature and the flow data is. D represents the degree of alignment of the changes between the temperature and flow data under the influence of the valve opening between all adjacent coordinate data points in the graph.
; Wherein, R represents the number of coordinate data points in the coordinate graph, and the coordinate data points are sequenced from small to large according to the sequence of the average temperature and the absolute value of the flow data difference value.Respectively representing the average temperatures of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph,The absolute values of the flow data difference values of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph are respectively represented.The larger the value of the (c) is, the larger the difference between the absolute values of the flow data difference values under the adjacent average temperature is, the larger the linear relation exists between the average temperature and the absolute values of the flow data difference values, the larger the influence of the linear relation is, the larger the change alignment degree between the temperature and the flow data is, the more obvious synchronous change condition exists between the two data, and the larger the relevance between the temperature and the flow data is.And respectively representing valve opening data of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph under the corresponding point pair. In calculating the correlation between the temperature and the flow data, if the valve opening data difference between the two coordinate data points is not large, then the valve opening pair is describedWith less influence, calculateThe value of (2) is further of value in analyzing the correlation between temperature and flow data. Wherein, The minimum positive number set to prevent the denominator from being 0 is 0.01 in this embodiment, and can be adjusted by the practitioner.
It should be understood that the smaller the difference in valve opening is added as a weight, the smaller the influence of the difference in valve opening is explained, and the more accurate the calculated correlation is.
So far, the construction of the correlation index between the temperature and the flow data can be completed according to the steps.
And A5, optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow, and obtaining the optimized degree of change between the point pairs.
According to the steps, the construction of the correlation index between the temperature and the flow data under the influence of the opening of the valve is completed. By combining the influence of the correlation between the temperature and the flow data on the degree of change between the point pairs, the optimized degree of change between the point pairs can be obtained; Wherein, Representing the degree of variation between pairs of points,Indicating the correlation between temperature and flow data.
The correlation between the temperature and the flow data of the conveying medium is calculated under the influence of the opening of the valve, and the degree of change between corresponding point pairs is optimized, so that the influence of different temperatures on the degree of change after optimization can be considered, and the property characteristics of the conveying medium are reflected more accurately.
A6, clustering all the point pairs to obtain a plurality of cluster clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; and taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve.
And completing the construction of the optimized variation degree between any two point pairs according to the steps, taking the optimized variation degree between the point pairs as a measurement distance in the clustering process, and clustering all the point pairs to obtain a plurality of clusters.
In this embodiment, a DBSCAN clustering algorithm is adopted, which is not described in detail for the known technology, where the set cluster radius is set to 0.5, and the minimum sample parameter is set to 6. In another embodiment of the application, a k-means clustering algorithm is adopted to cluster all the point pairs, and the specific clustering process is set by an implementer according to the actual situation.
And acquiring a data point which is closest to the current moment before the current valve opening is controlled and does not change the related data at the adjacent moment before the current valve opening is controlled, and taking the data point as a characteristic point.
And taking the reciprocal of the sum of differences under corresponding dimensions between the characteristic 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 as the similarity between the current valve and each point pair.
Based on the similarity and the value between all the point pairs in each cluster and the current valve, the cluster with the maximum similarity and value is used as a reference class for controlling the opening of the current valve. And taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve.
By adopting the optimized change degree to cluster all the point pairs, the clustering effect of the historical medium conveying process is improved, and the valve opening average value of all the point pairs in the same category is used for controlling the opening of the current valve more accurately.
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 through an electro-hydraulic system in an electric actuator connected with a valve shaft, so that the valve reaches a specific opening, and the specific process is a known technology and is not repeated here.
Based on the same inventive concept as the method, the embodiment of the application also provides an internet of things valve controller, which comprises: the system comprises a valve pipeline related data acquisition module, a valve pipeline related data analysis module and a valve opening control module.
The valve pipeline related data acquisition module is used for acquiring related data in the process of conveying media through the valve pipeline; the related data comprises pipeline pressure data, medium flow data and medium temperature data;
The valve pipeline related data analysis module is used for respectively selecting a data point which is nearest to the valve opening control moment and does not change related data at adjacent moments before and after each time of valve opening control of the history, and forming a point pair before and after each time of valve opening control of the history; determining a degree of change between pairs of points based on differences in a linear change relationship of the media flow data differences and the conduit pressure data differences between the pairs of points; under the influence of the point pairs on corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures; optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow to obtain the optimized degree of change between the point pairs;
the valve opening control module is used for clustering all the point pairs to obtain a plurality of clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; and taking the average value of valve opening data of all point pairs in the reference class as the opening of the current valve.
Based on the same inventive concept as the method, the embodiment of the application also provides an internet of things valve control system, which comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor realizes the steps of the valve control method of the internet of things valve controller according to any one of the above when executing the computer program.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments.
It should be noted that unless otherwise specified and limited, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a circuit structure, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, the statement "comprises one … …" does not exclude that an additional identical element is present in an article or device comprising the element. In addition, the term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof.

Claims (7)

1. The valve control method of the valve controller of the Internet of things is characterized by comprising the following steps of:
a1, collecting related data in the process of conveying media through a valve pipeline; the related data comprises pipeline pressure data, medium flow data and medium temperature data;
A2, before and after each time of valve opening control of the history, respectively selecting a data point which is nearest to the valve opening control moment and does not change related data at adjacent moments, and forming a point pair before and after each time of valve opening control of the history;
A3, determining the degree of change between the point pairs based on the difference of the linear change relation of the medium flow data difference and the pipeline pressure data difference between the point pairs;
A4, under the influence of the point pairs on corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures;
a5, optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow to obtain the optimized degree of change between the point pairs;
A6, clustering all the point pairs to obtain a plurality of cluster clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; taking the average value of 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 comprises the following steps:
constructing a characteristic change coefficient of the conveying medium of each point pair based on the medium flow data difference and the pipeline pressure data difference between two data points of each point pair;
taking the difference of characteristic change coefficients of a conveying medium between any two point pairs as the change degree between any two point pairs;
The construction method of the characteristic change coefficient comprises the following steps: 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 change coefficient of the conveying medium of each point pair;
the method for determining the correlation between the temperature and the flow data comprises the following steps:
The average temperature of each point pair is obtained as an abscissa, the absolute value of the flow data difference value of each point pair is obtained as an ordinate, and each point pair is taken as a coordinate data point to construct a coordinate graph;
Determining the change alignment degree between the temperature and the flow data based on the difference condition of the medium temperature and the medium flow data difference between adjacent coordinate data points in the coordinate graph under the influence of the valve opening;
acquiring the duty ratio of medium flow data differences with different numerical values in a coordinate graph;
and taking the product of the duty ratio and the change alignment degree as the correlation between the temperature and the flow data.
2. The valve control method of the valve controller of the internet of things according to claim 1, wherein the calculation formula of the change alignment degree is: ; wherein D represents the alignment degree of the change between the temperature and the flow data under the influence of the opening degree of the valve between all adjacent coordinate data points in the coordinate graph, R represents the number of the coordinate data points in the coordinate graph, Respectively representing the average temperatures of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph,Respectively representing the absolute value of the flow data difference value of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph,Respectively representing valve opening data of the ith coordinate data point and the (i+1) th coordinate data point in the coordinate graph under the corresponding point pair,An extremely small positive number is set to prevent the denominator from being 0.
3. The valve control method of the valve controller of the internet of things according to claim 1, wherein the method for obtaining the optimized degree of change between the point pairs is as follows: taking the degree of change between the point pairs as a numerator and the relevance between the temperature and the flow data as a denominator; the ratio of the numerator to the denominator is taken as the optimized degree of change between the point pairs.
4. The method of claim 1, wherein the reciprocal of the sum of differences in the corresponding dimensions is calculated from two data points, one of which is: a first data point corresponding to the valve opening in the point pair; another data point is: and before the current valve opening is controlled, the data point is closest to the current moment, and the related data at the adjacent moment is unchanged.
5. The method of claim 1, wherein the reference class of current valve opening control is a cluster that will have a maximum similarity and value.
6. The utility model provides an thing networking valve controller which characterized in that, thing networking valve controller includes:
the valve pipeline related data acquisition module is used for acquiring related data in the process of conveying media through the valve pipeline; the related data comprises pipeline pressure data, medium flow data and medium temperature data;
The valve pipeline related data analysis module is used for respectively selecting a data point which is nearest to the valve opening control moment and does not change related data at adjacent moments before and after each time of valve opening control of the history, and forming a point pair before and after each time of valve opening control of the history; determining a degree of change between pairs of points based on differences in a linear change relationship of the media flow data differences and the conduit pressure data differences between the pairs of points; under the influence of the point pairs on corresponding valve opening data, determining the relevance between the temperature and the flow data based on the distribution condition of the difference of the flow data of the medium at different medium temperatures and the change of the difference of the flow data at adjacent medium temperatures; optimizing the degree of change between the point pairs by combining the relevance between the temperature and the flow to obtain the optimized degree of change between the point pairs;
The valve opening control module is used for clustering all the point pairs to obtain a plurality of clusters based on the optimized change degree among the point pairs as a measurement distance; based on the reciprocal of the sum of differences in corresponding dimensions before the current valve opening is controlled and before the valve opening in each point pair is controlled, the reciprocal is used as the similarity between the current valve and each point pair; determining a reference class of current valve opening control based on similarity and value between all point pairs in each cluster and the current valve; taking the average value of 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 comprises the following steps:
constructing a characteristic change coefficient of the conveying medium of each point pair based on the medium flow data difference and the pipeline pressure data difference between two data points of each point pair;
taking the difference of characteristic change coefficients of a conveying medium between any two point pairs as the change degree between any two point pairs;
The construction method of the characteristic change coefficient comprises the following steps: 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 change coefficient of the conveying medium of each point pair;
the method for determining the correlation between the temperature and the flow data comprises the following steps:
The average temperature of each point pair is obtained as an abscissa, the absolute value of the flow data difference value of each point pair is obtained as an ordinate, and each point pair is taken as a coordinate data point to construct a coordinate graph;
Determining the change alignment degree between the temperature and the flow data based on the difference condition of the medium temperature and the medium flow data difference between adjacent coordinate data points in the coordinate graph under the influence of the valve opening;
acquiring the duty ratio of medium flow data differences with different numerical values in a coordinate graph;
and taking the product of the duty ratio and the change alignment degree as the correlation between the temperature and the 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, characterized in that the processor, when executing the computer program, realizes the steps of a valve control method of an internet of things valve controller according to any one of claims 1-5.
CN202411035754.0A 2024-07-31 2024-07-31 Valve control method, controller and system of valve controller of Internet of things Active CN118564707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411035754.0A CN118564707B (en) 2024-07-31 2024-07-31 Valve control method, controller and system of valve controller of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411035754.0A CN118564707B (en) 2024-07-31 2024-07-31 Valve control method, controller and system of valve controller of Internet of things

Publications (2)

Publication Number Publication Date
CN118564707A CN118564707A (en) 2024-08-30
CN118564707B true CN118564707B (en) 2024-10-18

Family

ID=92478644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411035754.0A Active CN118564707B (en) 2024-07-31 2024-07-31 Valve control method, controller and system of valve controller of Internet of things

Country Status (1)

Country Link
CN (1) CN118564707B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118897598B (en) * 2024-10-09 2025-03-11 三峡智控科技有限公司 Intelligent adjustment method, device and system for regulating valve
CN120178957B (en) * 2025-05-20 2025-08-19 山东齐芯智控科技有限公司 Intelligent control method and system for valve flow
CN120466480B (en) * 2025-07-16 2026-03-13 浙江金斯顿流体设备有限公司 A pneumatic angle seat valve system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344064A (en) * 2021-05-13 2022-11-15 中移(上海)信息通信科技有限公司 Valve flow control method and device and electronic equipment
CN115711315A (en) * 2021-08-23 2023-02-24 维谛技术有限公司 Valve opening control method and device, nonvolatile storage medium and processor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5868796B2 (en) * 2012-07-03 2016-02-24 株式会社堀場エステック PRESSURE CONTROL DEVICE, FLOW CONTROL DEVICE, PRESSURE CONTROL DEVICE PROGRAM, FLOW CONTROL DEVICE PROGRAM
KR101341600B1 (en) * 2013-04-19 2013-12-13 김진택 Intelligent control system and method for controlling fluid flow rate
KR101853325B1 (en) * 2016-04-01 2018-05-10 주식회사 코젠 Automatic control valves using the Internet of Things
CN116734174B (en) * 2023-07-12 2025-11-11 厦门四联信息技术有限公司 Control method and system for electric valve
CN117072740A (en) * 2023-09-12 2023-11-17 滨特尔集团有限公司 Automatic control system and method for pneumatic regulating valve
CN117812123B (en) * 2023-12-29 2024-12-06 雷帝斯(杭州)流体科技有限公司 A valve control method and system based on Internet of Things
CN118149149B (en) * 2024-02-29 2024-09-10 德州隆达空调设备集团有限公司 Intelligent control method for valve running state detection based on Internet of things
CN117850491B (en) * 2024-03-06 2024-05-10 韵京厦(四川)能源科技研究院(有限合伙) Automatic pressure regulation control method and system for gas transmission and distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344064A (en) * 2021-05-13 2022-11-15 中移(上海)信息通信科技有限公司 Valve flow control method and device and electronic equipment
CN115711315A (en) * 2021-08-23 2023-02-24 维谛技术有限公司 Valve opening control method and device, nonvolatile storage medium and processor

Also Published As

Publication number Publication date
CN118564707A (en) 2024-08-30

Similar Documents

Publication Publication Date Title
CN118564707B (en) Valve control method, controller and system of valve controller of Internet of things
CN109840362B (en) Multi-objective optimization-based integrated just-in-time learning industrial process soft measurement modeling method
CN113221304B (en) A calculation system and method for indirect energy assignment of natural gas pipeline network
CN120371039B (en) Pressure controller for water supply and drainage system and regulation and control method
CN118897598B (en) Intelligent adjustment method, device and system for regulating valve
CN120274116B (en) A valve opening control method for user-side hydraulic balance
CN117572917B (en) A data fusion method and system for temperature intelligent controller
US20240003501A1 (en) Methods and smart gas internet of things (iot) systems for remote control of ultrasonic metering devices
CN120197778A (en) Intelligent prediction method for urban pipe network operation based on physical information graph neural network
CN120592857B (en) Multi-water pump parallel cooperative control method and system
CN114266208B (en) Methods, apparatus, media and systems for implementing dynamic prediction of piping pressure drop
CN116734174B (en) Control method and system for electric valve
CN117154716B (en) Planning method and system for accessing distributed power supply into power distribution network
CN115982918B (en) Resistance characteristic identification method, device, equipment and storage medium
CN118094316A (en) A method for adaptively updating detection frequency of substation sensor equipment
CN115485632B (en) Contextual data modeling and dynamic process intervention for industrial plants
CN120720715A (en) Air conditioning optimization control system and method based on real-time monitoring of temperature and humidity
US20240393157A1 (en) Methods and systems for enhancing well flow rate signal
CN120996388B (en) A Federated Learning Collaborative Modeling Method for Energy Efficiency Optimization of Central Air Conditioning Systems
CN118761183B (en) Multi-batch liquid long-distance pipeline scheduling method, equipment and storage medium
CN119180451B (en) Intelligent gas delivery scheduling method and system based on Internet of things
CN121206657B (en) Differential pressure control method and system based on AI pipe network self-adaptive identification
CN116383614B (en) Identification and Correction Method of Bad Load Data Based on Kernel Density Function and Cluster Analysis
CN121111188B (en) Oil pumping machine working condition monitoring and intelligent management system
CN121329317A (en) A building lifecycle management system based on dynamic modeling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant