Intelligent control method for valve operation status detection based on Internet of Things
The Internet of Things technology is used to collect and analyze operating data on the valve and perform intelligent control, which solves the problem of untimely valve detection and control and ensures the safety and operating efficiency of the system.
Patent Information
- Application Number
- CN202410223788.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-02-29
AI Technical Summary
The existing technology lacks effective valve operating status detection and control methods, resulting in untimely valve detection and control, resulting in compromised system safety, low operating efficiency, inability to detect and eliminate abnormal problems in a timely manner, and affecting the operator's control of the system.
An intelligent control method for valve operating status detection based on the Internet of Things is used to collect operating data through sensors set on the valve, and transmit it to the data processing platform for analysis. Intelligent control is performed based on the analysis results to ensure the detection and control of the valve's operating status.
It achieves timely detection and control of the valve's operating status, avoids system problems caused by untimely detection and control, and ensures that the system where the valve is located can operate normally and safely.
Smart Images

Figure CN118149149B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of valve operation status detection and control, and in particular to an intelligent control method for valve operation status detection based on the Internet of Things. Background Art
[0002] A valve is a mechanical device that can control the flow of media (such as gas, liquid, powder, etc.) in pipelines, channels, valves and other equipment. A valve is usually composed of one or more valve bodies, valve covers, valve cores, sealing gaskets, transmission mechanisms, etc. Valves can be used in various applications such as controlling flow, regulating pressure, preventing backflow, cutting off pipelines, etc., and are an important part of industrial automation control.
[0003] Due to the importance of valves in industrial automation control, valves need to be inspected. During the inspection process, the focus is on the operating status of the valve, which includes open, closed, and intermediate docking. The operating status of the valve is related to the status of the entire system where the valve is located. Failure to inspect the valve will lead to the following consequences: (1) Media leakage and pressure abnormalities may occur, resulting in damage to the safety of the system; (2) Incorrect valve operating status may lead to low system operating efficiency and reduced system performance; (3) The inability to obtain the valve status in a timely manner may result in the failure to promptly discover and eliminate system operating problems caused by valve abnormalities, resulting in system damage; (4) Affecting the operator's control over the system.
[0004] Therefore, it is crucial to detect the operating status of the valve during system operation. Furthermore, it is also crucial to control the valve when an abnormal operating status of the valve is detected, so as to promptly avoid problems caused by the valve abnormality.
[0005] However, there is currently a lack of effective technical means to detect the operating status of the valve and control the valve according to the detection results. Therefore, how to detect the operating status of the valve and control the valve according to the detection results, so as to avoid the above-mentioned various system problems caused by untimely valve detection and control, and then ensure that the system where the valve is located can operate normally and safely, is one of the problems that need to be solved in the field of valve operating status detection and control technology. Summary of the invention
[0006] The present invention aims to solve the technical problems in the above-mentioned technologies to at least a certain extent. To this end, the purpose of the present invention is to provide an intelligent control method for valve operation status detection based on the Internet of Things, which collects operation data related to the valve operation status through sensors set on the valve and transmits it to a data processing platform, analyzes the operation data on the data processing platform, determines the valve status detection result based on the analysis result, and performs intelligent valve control based on the result, thereby realizing the detection of the valve operation status and controlling the valve according to the detection result, thereby avoiding various system problems caused by untimely valve detection and control, and further ensuring the technical effect that the system where the valve is located can operate normally and safely.
[0007] The present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, comprising:
[0008] Collecting operation data related to the operation status of the valve based on sensors arranged on the valve;
[0009] Transmit operation data to the preset data processing platform through the Internet of Things technology;
[0010] Analyze the operation data on a preset data processing platform to obtain data analysis results;
[0011] Determine the valve status detection result based on the data analysis result;
[0012] Intelligent control of valves based on status detection results.
[0013] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things collects operation data related to the valve operation status based on sensors arranged on the valve, including:
[0014] Based on the pressure sensor, a number of pressure data of the fluid passing through the valve at different time periods are collected;
[0015] Based on the flow meter, several flow data of the fluid passing through the valve at different time periods are collected;
[0016] Based on infrared temperature sensors, several temperature data of valves at different time periods are collected;
[0017] Based on the electric energy meter, several electric power data of the circuit where the valve is located in different time periods are collected; wherein the electric power data includes current, voltage and power factor;
[0018] A plurality of pressure data, a plurality of flow data, a plurality of temperature data and a plurality of power data constitute the operation data related to the operation state of the valve.
[0019] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things transmits operation data to a preset data processing platform through the Internet of Things technology, including:
[0020] Determine the IoT protocols required to run data transfer;
[0021] Establishing a connection between the sensor installed on the valve and the preset data processing platform;
[0022] The API provided based on the Internet of Things protocol transmits the operating data collected by the sensor to the preset data processing platform.
[0023] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things analyzes the operation data on a preset data processing platform to obtain data analysis results, including:
[0024] Performing data preprocessing on the operation data to obtain preprocessed operation data;
[0025] Performing data extraction on the preprocessed operation data to obtain characteristic operation data;
[0026] Perform data analysis on the characteristic operation data to obtain data analysis results.
[0027] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things performs data preprocessing on the operation data to obtain preprocessed operation data, including:
[0028] Selecting a number of pressure data as a number of data to be processed, and sorting the number of data to be processed from small to large to obtain sorted data;
[0029] According to the number of data in the sorted data, the sorted data is evenly divided into a number of sub-data groups;
[0030] Calculate the data variance of each sub-data group, compare the data variance of each group with a preset variance threshold, and when the data variance is greater than the preset variance threshold, determine that the sub-data group corresponding to the data variance is an abnormal sub-data group;
[0031] When the data group is determined to be an abnormal sub-data group, the deviation coefficient of each data in the abnormal sub-data group is calculated, and the data with a deviation coefficient greater than a preset deviation threshold is deleted from the abnormal sub-data;
[0032] Combining several sub-data groups that have completed the above data deletion process to obtain a preliminary normal data group;
[0033] Calculate the data mean of the preliminary normal data group, calculate the Euclidean distance between each data in the preliminary normal data group and the data mean, and take the data whose corresponding Euclidean distance is greater than the standard Euclidean distance as the abnormal data to be determined;
[0034] Get the mean and median of the pending abnormal data, take the absolute value of the difference between the mean and the median as the deletion threshold, calculate the absolute value of the difference between each pending abnormal data and the median, and delete the pending abnormal data when the absolute value is greater than the deletion threshold;
[0035] Using other data in the preliminary normal data group after the pending abnormal data are deleted as a number of preprocessing pressure data;
[0036] The above processing is performed on a plurality of flow data, a plurality of temperature data and a plurality of power data to obtain a plurality of pre-processed flow data, a plurality of pre-processed temperature data and a plurality of pre-processed power data;
[0037] A plurality of preprocessing pressure data, a plurality of preprocessing flow data, a plurality of preprocessing temperature data and a plurality of preprocessing power data constitute the preprocessing operation data.
[0038] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things extracts data from the pre-processed operation data to obtain characteristic operation data, including:
[0039] Selecting a number of pre-processed pressure data as a number of target data to be processed, and obtaining data means of the number of target data to be processed;
[0040] Determine any target data to be processed as current data to be processed, and calculate a first correlation coefficient between the current data to be processed and the data mean;
[0041] Calculate the dispersion value between the current data to be processed and the data mean, and calculate the second correlation coefficient between the current data to be processed and the data mean based on the data mean and the dispersion value;
[0042] Determine the total correlation coefficient between the current data to be processed and the data mean according to the first correlation coefficient and the second correlation coefficient, and extract the current data to be processed when the total correlation coefficient is less than the standard correlation coefficient;
[0043] The above operation is performed on all target data to be processed, and the extracted data is used as a number of pressure feature data;
[0044] The above processing is performed on a plurality of pre-processed flow data, a plurality of pre-processed temperature data and a plurality of pre-processed power data to obtain a plurality of flow characteristic data, a plurality of temperature characteristic data and a plurality of power characteristic data;
[0045] A plurality of pressure characteristic data, a plurality of flow characteristic data, a plurality of temperature characteristic data and a plurality of power characteristic data constitute characteristic operation data.
[0046] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things performs data analysis on characteristic operation data to obtain data analysis results, including:
[0047] Compare the plurality of pressure characteristic data with the preset minimum normal pressure data, and record the number of pressure characteristic data that is less than the preset minimum normal pressure data as the first data number;
[0048] Compare the plurality of pressure characteristic data with the preset maximum normal pressure data, record the number of pressure characteristic data greater than the preset maximum normal pressure data as the second data number, and use the first data number and the second data number as the pressure data analysis result;
[0049] Compare a number of flow characteristic data with preset minimum normal flow data, and record the number of flow characteristic data less than the preset minimum normal flow data as the third data number;
[0050] Compare the plurality of flow characteristic data with the preset maximum normal flow data, record the number of flow characteristic data greater than the preset maximum normal flow data as the fourth data number, and use the third data number and the fourth data number as the flow data analysis result;
[0051] Compare the plurality of temperature characteristic data with the preset minimum normal temperature data, and record the number of temperature characteristic data less than the preset minimum normal temperature data as the fifth data number;
[0052] Comparing the plurality of temperature characteristic data with the preset maximum normal temperature data, recording the number of temperature characteristic data greater than the preset maximum normal temperature data as the sixth data number, and taking the fifth data number and the sixth data number as the temperature data analysis result;
[0053] Compare a plurality of power characteristic data with a preset minimum normal power data, and record the number of power characteristic data that is less than the preset minimum normal power data as a seventh data number;
[0054] Compare the plurality of power characteristic data with the preset maximum normal power data, record the number of power characteristic data greater than the preset maximum normal power data as the eighth data number, and take the seventh data number and the eighth data number as the power data analysis result;
[0055] The pressure data analysis results, flow data analysis results, temperature data analysis results and power data analysis results constitute the data analysis results.
[0056] Preferably, the intelligent control method for detecting valve operation status based on the Internet of Things determines the valve status detection result based on the data analysis result, including:
[0057] Calculate the product of the first data number and the preset pressure weight, calculate the product of the third data number and the preset flow weight, calculate the product of the fifth data number and the preset temperature weight, calculate the product of the seventh data number and the preset power weight, and use the opposite of the sum of the above four products as the first valve state score;
[0058] Calculate the product of the second data number and the preset pressure weight, calculate the product of the fourth data number and the preset flow weight, calculate the product of the sixth data number and the preset temperature weight, calculate the product of the eighth data number and the preset power weight, and use the sum of the above four products as the second valve state score;
[0059] When the first valve status score and the second valve status score are both between a preset minimum normal score and a preset maximum normal score, determining that the valve status detection result is that the valve is operating normally;
[0060] When the first valve state score is less than the preset minimum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too low; when the second valve state score is greater than the preset maximum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too high;
[0061] When the first valve state score is less than a preset minimum normal score and the second valve state score is greater than a preset maximum normal score, calculating a first difference between the first valve state score and the preset minimum normal score, and calculating a second difference between the second valve state score and the preset maximum normal score;
[0062] Comparing the first difference and the second difference, and taking the valve status score corresponding to the larger difference as the target valve status score;
[0063] When the target valve state score is the first valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too low. When the target valve state score is the second valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too high.
[0064] Preferably, the intelligent control method for valve operation status detection based on the Internet of Things performs intelligent control on the valve based on the status detection result, including:
[0065] When the valve state detection result shows that the valve opening degree is too low, the valve opening degree data is collected based on the position sensor, and the valve opening degree is increased to a first preset opening degree through intelligent control;
[0066] When the valve status detection result shows that the valve opening degree is too high, the valve opening degree data is collected based on the position sensor, and the valve opening degree is intelligently controlled to reduce the valve opening degree to a second preset opening degree.
[0067] Preferably, the intelligent control method for valve operation status detection based on the Internet of Things also includes:
[0068] The data analysis results, the first valve status score, the second valve status score, the valve opening and closing degree before intelligent control, and the valve opening and closing degree after intelligent control are output in the form of a report to obtain a valve status detection and intelligent control report.
[0069] The present invention provides an intelligent control method for valve operation status detection based on the Internet of Things, including: collecting operation data related to the valve operation status based on a sensor set on the valve; transmitting the operation data to a preset data processing platform through the Internet of Things technology; analyzing the operation data on the preset data processing platform to obtain data analysis results; determining the valve state detection result based on the data analysis result; and intelligently controlling the valve based on the state detection result. The valve operation status is detected and the valve is controlled according to the detection result, thereby avoiding various system problems caused by untimely valve detection and control, and further ensuring that the system where the valve is located can operate normally and safely.
[0070] Other features and advantages of the present invention will be described in the following description, and partly become obvious from the description, or be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in the present application documents.
[0071] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0073] Figure 1 This is a flow chart of an intelligent control method for valve operation status detection based on the Internet of Things in an embodiment of the present invention;
[0074] Figure 2 This is an optional flow chart for obtaining characteristic operation data in an embodiment of the present invention;
[0075] Figure 3 The present invention is an optional flow chart for determining a valve status detection result in an embodiment of the present invention. DETAILED DESCRIPTION
[0076] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0077] Reference Figure 1 The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, comprising:
[0078] Step S1, collecting operation data related to the operation state of the valve based on a sensor arranged on the valve;
[0079] Step S2, transmitting the operation data to a preset data processing platform through the Internet of Things technology;
[0080] Step S3, analyzing the operation data on a preset data processing platform to obtain data analysis results;
[0081] Step S4, determining the valve status detection result based on the data analysis result;
[0082] Step S5: intelligently control the valve based on the state detection result.
[0083] The technical principle and technical effect of the above technical solution are: collecting operation data related to the operation status of the valve based on the sensor set on the valve; transmitting the operation data to the preset data processing platform through the Internet of Things technology; analyzing the operation data on the preset data processing platform to obtain the data analysis results; determining the state detection results of the valve based on the data analysis results; and intelligently controlling the valve based on the state detection results. The operation status of the valve is detected and the valve is controlled according to the detection results, thereby avoiding various system problems caused by untimely valve detection and control, and thus ensuring that the system where the valve is located can operate normally and safely.
[0084] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, which collects operation data related to the valve operation status based on a sensor arranged on the valve, including:
[0085] Based on the pressure sensor, a number of pressure data of the fluid passing through the valve at different time periods are collected;
[0086] Based on the flow meter, several flow data of the fluid passing through the valve at different time periods are collected;
[0087] Based on infrared temperature sensors, several temperature data of valves at different time periods are collected;
[0088] Based on the electric energy meter, several electric power data of the circuit where the valve is located in different time periods are collected; wherein the electric power data includes current, voltage and power factor;
[0089] A plurality of pressure data, a plurality of flow data, a plurality of temperature data and a plurality of power data constitute the operation data related to the operation state of the valve.
[0090] The technical principle and technical effect of the above technical solution are: based on the pressure sensor, several pressure data of the fluid passing through the valve at different time periods are collected; based on the flow meter, several flow data of the fluid passing through the valve at different time periods are collected; based on the infrared temperature sensor, several temperature data of the valve at different time periods are collected; based on the electric energy meter, several power data of the circuit where the valve is located at different time periods are collected; among which, the power data includes current, voltage and power factor; several pressure data, several flow data, several temperature data and several power data constitute the operation data related to the operation status of the valve. It realizes the technical effect of collecting several operation data related to the valve through multiple sensors set on the valve, thereby providing a data basis for the subsequent valve operation status detection, ensuring the accuracy of the status detection results, and then ensuring the rationality of the intelligent control process.
[0091] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, which transmits operation data to a preset data processing platform through the Internet of Things technology, including:
[0092] Determine the IoT protocols required to run data transfer;
[0093] Establishing a connection between the sensor installed on the valve and the preset data processing platform;
[0094] The API provided based on the Internet of Things protocol transmits the operating data collected by the sensor to the preset data processing platform.
[0095] In this embodiment, the Internet of Things protocol can be the MQTT protocol, the CoAP protocol, the HTTP protocol, the DDS protocol, the AMQP protocol, etc.
[0096] In this embodiment, a connection can be established between the sensor disposed on the valve and the preset data processing platform via WiFi, LoRaWAN or a cellular network.
[0097] In this embodiment, the preset data processing platform may be a cloud platform (eg, AWS and Azure, etc.) or a self-built local server.
[0098] The technical principle and technical effect of the above technical solution are: determine the Internet of Things protocol required for the transmission of operating data; establish a connection between the sensor set on the valve and the preset data processing platform; and transmit the operating data collected by the sensor to the preset data processing platform based on the API provided by the Internet of Things protocol. By transmitting the operating data to the preset data processing platform, the technical effect of ensuring the data processing efficiency and the accuracy of the data processing results when the data is subsequently processed is achieved.
[0099] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, and analyzes the operation data on a preset data processing platform to obtain data analysis results, including:
[0100] Performing data preprocessing on the operation data to obtain preprocessed operation data;
[0101] Performing data extraction on the preprocessed operation data to obtain characteristic operation data;
[0102] Perform data analysis on the characteristic operation data to obtain data analysis results.
[0103] The technical principle and technical effect of the above technical solution are: preprocessing the operation data to obtain preprocessed operation data; extracting the preprocessed operation data to obtain characteristic operation data; analyzing the characteristic operation data to obtain data analysis results. By preprocessing, extracting and analyzing the data, the data quality of the operation data is improved, the data dimension is reduced, the data features are enhanced, and the efficiency of data analysis is improved, thereby ensuring the accuracy of the data analysis results.
[0104] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, which performs data preprocessing on operation data to obtain preprocessed operation data, including:
[0105] Selecting a number of pressure data as a number of data to be processed, and sorting the number of data to be processed from small to large to obtain sorted data;
[0106] According to the number of data in the sorted data, the sorted data is evenly divided into a number of sub-data groups;
[0107] Calculate the data variance of each sub-data group, compare the data variance of each group with a preset variance threshold, and when the data variance is greater than the preset variance threshold, determine that the sub-data group corresponding to the data variance is an abnormal sub-data group;
[0108] When the data group is determined to be an abnormal sub-data group, the deviation coefficient of each data in the abnormal sub-data group is calculated, and the data with a deviation coefficient greater than a preset deviation threshold is deleted from the abnormal sub-data;
[0109] Combining several sub-data groups that have completed the above data deletion process to obtain a preliminary normal data group;
[0110] Calculate the data mean of the preliminary normal data group, calculate the Euclidean distance between each data in the preliminary normal data group and the data mean, and take the data whose corresponding Euclidean distance is greater than the standard Euclidean distance as the abnormal data to be determined;
[0111] Get the mean and median of the pending abnormal data, take the absolute value of the difference between the mean and the median as the deletion threshold, calculate the absolute value of the difference between each pending abnormal data and the median, and delete the pending abnormal data when the absolute value is greater than the deletion threshold;
[0112] Using other data in the preliminary normal data group after the pending abnormal data are deleted as a number of preprocessing pressure data;
[0113] The above processing is performed on a plurality of flow data, a plurality of temperature data and a plurality of power data to obtain a plurality of pre-processed flow data, a plurality of pre-processed temperature data and a plurality of pre-processed power data;
[0114] A plurality of preprocessing pressure data, a plurality of preprocessing flow data, a plurality of preprocessing temperature data and a plurality of preprocessing power data constitute the preprocessing operation data.
[0115] In this embodiment, when the number of data in the sorted data is a composite number, the data can be divided based on the factors of the number of data (excluding 1 and the number of data itself). For example, when the number of data is 12, 12 has factors of 2, 3, 4 and 6, that is, the data can be divided into 6 groups according to groups of 2, 4 groups according to groups of 3, 3 groups according to groups of 4, or 2 groups according to groups of 6. The specific grouping selected can be determined according to the actual situation. When the number of data in the sorted data is a prime number, the data of the two groups before and after can overlap when grouping. For example, when the number of data is 19, the grouping The 1st to 7th data can be a group, the 7th to 13th data can be a group, and the 13th to 19th data can be a group. The specific division can be based on the following method. Suppose the number of data is sum, the number of divided groups is k, the number of data in each group is m, and the number of overlapping data between the previous group and the next group is n. According to the relationship between the four, the equation km-n(k-1)=sum can be obtained. When sum is a constant, another value can be obtained by determining any two values of k, m and n, thereby realizing group division. It should be noted that k, m and n are all positive integers greater than 1.
[0116] In this embodiment, a number of sample sorting data are collected, and there are no abnormal values in the collected sample sorting data. The sample sorting data are divided in the same way as the sorting data to obtain a number of sample sub-data groups, and the sample data variance of each sample sub-data group is calculated, and the mean of all sample data variances is used as a preset variance threshold.
[0117] In this embodiment, is the specific formula for calculating the deviation coefficient of each data in the abnormal sub-data group, where SC is the deviation coefficient of data x, is the data mean of the abnormal sub-data group, and s is the data standard deviation of the abnormal sub-data group.
[0118] In this embodiment, the average value of the Euclidean distance between each data in the preliminary normal data group and the data mean is taken as the standard Euclidean distance.
[0119] The technical principle and technical effect of the above technical scheme are: selecting a number of pressure data as a number of data to be processed, sorting the number of data to be processed from small to large to obtain sorted data; according to the number of data in the sorted data, evenly dividing the sorted data into a number of sub-data groups; calculating the data variance of each sub-data group, comparing the data variance of each group with the size of the preset variance threshold, when the data variance is greater than the preset variance threshold, determining that the sub-data group corresponding to the data variance is an abnormal sub-data group; when determining that the data group is an abnormal sub-data group, calculating the deviation coefficient of each data in the abnormal sub-data group, and deleting the data with the deviation coefficient greater than the preset deviation threshold from the abnormal sub-data; combining the sub-data groups that have completed the above data deletion process to obtain a preliminary normal data group; calculating the data mean of the preliminary normal data group, calculating the data mean of each data in the preliminary normal data group The Euclidean distance between each data and the data mean is calculated, and the data whose corresponding Euclidean distance is greater than the standard Euclidean distance is taken as the pending abnormal data; the mean and median of the pending abnormal data are obtained, and the absolute value of the difference between the mean and the median is taken as the deletion threshold, and the absolute value of the difference between each pending abnormal data and the median is calculated. When the absolute value is greater than the deletion threshold, the pending abnormal data is deleted; the other data in the preliminary normal data group after the pending abnormal data is deleted is taken as several pre-processed pressure data; the above processing is performed on several flow data, several temperature data and several power data to obtain several pre-processed flow data, several pre-processed temperature data and several pre-processed power data; several pre-processed pressure data, several pre-processed flow data, several pre-processed temperature data and several pre-processed power data constitute the pre-processed operation data. The technical effect of removing abnormal values in the data is achieved, thereby improving the quality of the data and ensuring the accuracy of the valve operation status detection results.
[0120] Reference Figure 2 The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, extracting data from pre-processed operation data to obtain characteristic operation data, including:
[0121] Step S321, selecting a number of pre-processed pressure data as a number of target data to be processed, and obtaining a data mean of the number of target data to be processed;
[0122] Step S322, determining any target data to be processed as current data to be processed, and calculating a first correlation coefficient between the current data to be processed and the data mean;
[0123] Step S323, calculating the dispersion value between the current data to be processed and the data mean, and calculating the second correlation coefficient between the current data to be processed and the data mean based on the data mean and the dispersion value;
[0124] Step S324, determining the total correlation coefficient between the current data to be processed and the data mean according to the first correlation coefficient and the second correlation coefficient, and extracting the current data to be processed when the total correlation coefficient is less than the standard correlation coefficient;
[0125] Step S325, performing the above operation on all target data to be processed, and using the extracted data as a plurality of pressure characteristic data;
[0126] Step S326, performing the above processing on a plurality of pre-processed flow data, a plurality of pre-processed temperature data and a plurality of pre-processed power data, to obtain a plurality of flow characteristic data, a plurality of temperature characteristic data and a plurality of power characteristic data;
[0127] Step S327, a plurality of pressure characteristic data, a plurality of flow characteristic data, a plurality of temperature characteristic data and a plurality of power characteristic data constitute characteristic operation data.
[0128] In this embodiment, the specific method of calculating the first correlation coefficient between the current data to be processed and the data mean is: determine that the data to be processed is A, determine that the data mean is Then use the formula Calculate the first correlation coefficient between the data to be processed and the data mean, where R1 is the first correlation coefficient.
[0129] In this embodiment, the formula Calculate the dispersion value between the current data to be processed and the data mean.
[0130] In this embodiment, the specific implementation method of calculating the second correlation coefficient between the current data to be processed and the data mean based on the data mean and the dispersion value is: Wherein, R2 is the second correlation coefficient.
[0131] In this embodiment, the average of the first correlation coefficient and the second correlation coefficient is used as the total correlation coefficient between the current data to be processed and the data average.
[0132] In this embodiment, the mean of the total correlation coefficients of all data is taken as the standard correlation coefficient.
[0133] The technical principle and technical effect of the above technical scheme are: select several pre-processed pressure data as several target data to be processed, and obtain the data mean of several target data to be processed; determine any target data to be processed as the current data to be processed, and calculate the first correlation coefficient between the current data to be processed and the data mean; calculate the dispersion value between the current data to be processed and the data mean, and calculate the second correlation coefficient between the current data to be processed and the data mean based on the data mean and the dispersion value; determine the total correlation coefficient between the current data to be processed and the data mean according to the first correlation coefficient and the second correlation coefficient, and when the total correlation coefficient is less than the standard correlation coefficient, extract the current data to be processed; perform the above operations on all target data to be processed, and use the extracted data as several pressure characteristic data; perform the above processing on several pre-processed flow data, several pre-processed temperature data and several pre-processed power data to obtain several flow characteristic data, several temperature characteristic data and several power characteristic data; several pressure characteristic data, several flow characteristic data, several temperature characteristic data and several power characteristic data constitute characteristic operation data. By extracting characteristic data, the data quality of data used for valve operation status detection is improved, thereby ensuring the accuracy of status detection results.
[0134] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, which performs data analysis on characteristic operation data to obtain data analysis results, including:
[0135] Compare the plurality of pressure characteristic data with the preset minimum normal pressure data, and record the number of pressure characteristic data that is less than the preset minimum normal pressure data as the first data number;
[0136] Compare the plurality of pressure characteristic data with the preset maximum normal pressure data, record the number of pressure characteristic data greater than the preset maximum normal pressure data as the second data number, and use the first data number and the second data number as the pressure data analysis result;
[0137] Compare a number of flow characteristic data with preset minimum normal flow data, and record the number of flow characteristic data less than the preset minimum normal flow data as the third data number;
[0138] Compare the plurality of flow characteristic data with the preset maximum normal flow data, record the number of flow characteristic data greater than the preset maximum normal flow data as the fourth data number, and use the third data number and the fourth data number as the flow data analysis result;
[0139] Compare the plurality of temperature characteristic data with the preset minimum normal temperature data, and record the number of temperature characteristic data less than the preset minimum normal temperature data as the fifth data number;
[0140] Comparing the plurality of temperature characteristic data with the preset maximum normal temperature data, recording the number of temperature characteristic data greater than the preset maximum normal temperature data as the sixth data number, and taking the fifth data number and the sixth data number as the temperature data analysis result;
[0141] Compare a plurality of power characteristic data with a preset minimum normal power data, and record the number of power characteristic data that is less than the preset minimum normal power data as a seventh data number;
[0142] Compare the plurality of power characteristic data with the preset maximum normal power data, record the number of power characteristic data greater than the preset maximum normal power data as the eighth data number, and take the seventh data number and the eighth data number as the power data analysis result;
[0143] The pressure data analysis results, flow data analysis results, temperature data analysis results and power data analysis results constitute the data analysis results.
[0144] In this embodiment, the preset minimum normal pressure data, the preset maximum normal pressure data, the preset minimum normal flow data, the preset maximum normal flow data, the preset minimum normal temperature data, the preset maximum normal temperature data, the preset minimum normal power data and the preset maximum normal power data need to be determined according to the specific type and application of the valve. For example, in terms of pressure: the preset minimum normal pressure data of some common industrial fluid control valves is 0.5Pa, and the preset maximum normal pressure data is 40Pa, etc.; in terms of flow: the stop valve is suitable for medium and low flow, and the regulating valve is suitable for a wide range of flow regulation, etc.; in terms of temperature, the stop valve is suitable for a lower temperature range (room temperature to 200°C), and the quantitative valve is suitable for high temperature (1000°C or even higher) or low temperature (-196°C), etc.; in the power data, taking the voltage data as an example, the voltage range of the electric actuator valve when it is working normally is 24V DC to 220V AC, and the voltage range of the solenoid valve when it is working normally is 12V DC to 220V AC, and the current and power factor both have corresponding ranges.
[0145] The technical principle and technical effect of the above technical solution are as follows: the number of pressure characteristic data less than the preset minimum normal pressure data is recorded as the first data number; the number of pressure characteristic data greater than the preset maximum normal pressure data is recorded as the second data number, and the first data number and the second data number are used as the pressure data analysis result; the number of flow characteristic data less than the preset minimum normal flow data is recorded as the third data number; the number of flow characteristic data greater than the preset maximum normal flow data is recorded as the fourth data number, and the third data number and the fourth data number are used as the flow data analysis result; the number of flow characteristic data less than the preset minimum normal temperature data is recorded as the fourth data number, and the third data number and the fourth data number are used as the flow data analysis result. The number of temperature characteristic data is recorded as the fifth data number; the number of temperature characteristic data greater than the preset maximum normal temperature data is recorded as the sixth data number, and the fifth data number and the sixth data number are used as the temperature data analysis result; the number of power characteristic data less than the preset minimum normal power data is recorded as the seventh data number; the number of power characteristic data greater than the preset maximum normal power data is recorded as the eighth data number, and the seventh data number and the eighth data number are used as the power data analysis result; the pressure data analysis result, the flow data analysis result, the temperature data analysis result and the power data analysis result constitute the data analysis result. By comparing the data with the preset qualified data, and then filtering out the number of data that is not within the qualified range, the technical effect of ensuring the accuracy of the valve operation status detection result is achieved.
[0146] Reference Figure 3 The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, which determines the valve status detection result based on the data analysis result, including:
[0147] Step S41, calculating the product of the first data number and the preset pressure weight, calculating the product of the third data number and the preset flow weight, calculating the product of the fifth data number and the preset temperature weight, calculating the product of the seventh data number and the preset power weight, and taking the inverse of the sum of the above four products as the first valve state score;
[0148] Step S42, calculating the product of the second data number and the preset pressure weight, calculating the product of the fourth data number and the preset flow weight, calculating the product of the sixth data number and the preset temperature weight, calculating the product of the eighth data number and the preset power weight, and taking the sum of the above four products as the second valve state score;
[0149] Step S43, when the first valve state score and the second valve state score are both between a preset minimum normal score and a preset maximum normal score, determining that the valve state detection result is that the valve is operating normally;
[0150] Step S44, when the first valve state score is less than the preset minimum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too low; when the second valve state score is greater than the preset maximum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too high;
[0151] Step S45, when the first valve state score is less than the preset minimum normal score and the second valve state score is greater than the preset maximum normal score, calculating a first difference between the first valve state score and the preset minimum normal score, and calculating a second difference between the second valve state score and the preset maximum normal score;
[0152] Step S46, comparing the first difference and the second difference, and taking the valve status score corresponding to the larger difference as the target valve status score;
[0153] Step S47, when the target valve state score is the first valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too low; when the target valve state score is the second valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too high.
[0154] In this embodiment, the preset pressure weight, preset flow weight, preset temperature weight and preset power weight can be determined according to actual conditions. For example, all four weights are 0.25, etc. It should be noted that the sum of the four weights is 1.
[0155] In this embodiment, the preset minimum normal score and the preset maximum normal score are determined in the following manner: according to the actual situation, the number of data in the pressure, flow, temperature and power data that may not be within the preset normal range is determined, and the preset minimum normal score and the preset maximum normal score are determined according to the number of data that are not within the preset normal range and the preset pressure weight, the preset flow weight, the preset temperature weight and the preset power weight. For example: it is determined that there may be 1 data in the pressure data that is less than the preset minimum normal pressure data, it is determined that there may be 1 data in the flow data that is less than the preset minimum normal flow data, it is determined that there may be 1 data in the temperature data that is less than the preset minimum normal temperature data, and it is determined that there may be 1 data in the power data. Less than the preset minimum normal power data, all four weights are 0.25, then -(1*0.25+1*0.25+1*0.25+1*0.25)=-1 is the preset minimum normal score; it is determined that 2 data in the pressure data can be less than the preset minimum normal pressure data, it is determined that 1 data in the flow data can be less than the preset minimum normal flow data, it is determined that 1 data in the temperature data can be less than the preset minimum normal temperature data, it is determined that 2 data in the power data can be less than the preset minimum normal power data, and all four weights are 0.25, then (2*0.25+1*0.25+1*0.25+2*0.25)=1.5 is the preset maximum normal score.
[0156] The technical principle and technical effect of the above technical solution are: obtaining a first valve state score and a second valve state score; when the first valve state score and the second valve state score are both between a preset minimum normal score and a preset maximum normal score, determining that the valve state detection result is that the valve is operating normally; when the first valve state score is less than the preset minimum normal score, determining that the valve state detection result is that the valve opening and closing degree is too low; when the second valve state score is greater than the preset maximum normal score, determining that the valve state detection result is that the valve opening and closing degree is too high; when the first valve state score is less than the preset minimum normal score and the second valve state score is greater than the preset maximum normal score, calculating a first difference between the first valve state score and the preset minimum normal score, and calculating a second difference between the second valve state score and the preset maximum normal score; comparing the first difference and the second difference, and taking the valve state score corresponding to the larger difference as the target valve state score; when the target valve state score is the first valve state score, determining that the valve state detection result is that the valve opening and closing degree is too low, and when the target valve state score is the second valve state score, determining that the valve state detection result is that the valve opening and closing degree is too high. The technical effect of accurately obtaining the valve status detection result according to the valve status score and then realizing precise intelligent control of the valve is achieved.
[0157] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, and intelligently controls the valve based on the status detection result, including:
[0158] When the valve state detection result shows that the valve opening degree is too low, the valve opening degree data is collected based on the position sensor, and the valve opening degree is increased to a first preset opening degree through intelligent control;
[0159] When the valve status detection result shows that the valve opening degree is too high, the valve opening degree data is collected based on the position sensor, and the valve opening degree is intelligently controlled to reduce the valve opening degree to a second preset opening degree.
[0160] In this embodiment, the first preset opening degree can be determined according to actual conditions. It should be noted that in order to ensure that the opening degree of the valve is reasonably increased, the first preset opening degree must be at least 20% greater than the current opening degree of the valve.
[0161] In this embodiment, the second preset opening degree can be determined according to actual conditions. It should be noted that in order to ensure that the opening degree of the valve is reasonably reduced, the second preset opening degree must be at least 20% smaller than the current opening degree of the valve.
[0162] The technical principle and technical effect of the above technical solution are: when the valve state detection result is that the valve opening and closing degree is too low, based on the position sensor to collect the valve opening and closing degree data, the intelligent control increases the valve opening and closing degree to the first preset opening and closing degree; when the valve state detection result is that the valve opening and closing degree is too high, based on the position sensor to collect the valve opening and closing degree data, the intelligent control reduces the valve opening and closing degree to the second preset opening and closing degree. The technical effect of accurately controlling the valve is achieved, thereby ensuring the normal operation of the valve.
[0163] The embodiment of the present invention provides an intelligent control method for detecting valve operation status based on the Internet of Things, further comprising:
[0164] The data analysis results, the first valve status score, the second valve status score, the valve opening and closing degree before intelligent control, and the valve opening and closing degree after intelligent control are output in the form of a report to obtain a valve status detection and intelligent control report.
[0165] The technical principle and technical effect of the above technical solution are: outputting the data analysis results, the first valve status score, the second valve status score, the valve opening and closing degree before intelligent control, and the valve opening and closing degree after intelligent control in the form of a report to obtain a valve status detection and intelligent control report. By displaying the valve operation status detection and intelligent control process in the form of a report, the relevant data of this status detection and intelligent control process is retained, which is convenient for future data review.
[0166] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An intelligent control method for valve operation status detection based on the Internet of Things, characterized in that: include: Collecting operation data related to the operation status of the valve based on sensors arranged on the valve; Transmitting the operating data to a preset data processing platform through Internet of Things technology; The operation data is analyzed on the preset data processing platform to obtain data analysis results; wherein, The operation data is preprocessed to obtain preprocessed operation data; wherein, a plurality of pressure data are selected as a plurality of data to be processed, and the plurality of data to be processed are sorted from small to large to obtain sorted data; according to the number of data in the sorted data, the sorted data is evenly divided into a plurality of sub-data groups; the data variance of each sub-data group is calculated, and the data variance of each group is compared with the size of the preset variance threshold, and when the data variance is greater than the preset variance threshold, the sub-data group corresponding to the data variance is determined to be an abnormal sub-data group; when the data group is determined to be an abnormal sub-data group, the deviation coefficient of each data in the abnormal sub-data group is calculated, and the data with the deviation coefficient greater than the preset deviation threshold is deleted from the abnormal sub-data; the plurality of sub-data groups that have completed the above data deletion process are combined to obtain a preliminary normal data group; the data mean of the preliminary normal data group is calculated, the Euclidean distance between each data in the preliminary normal data group and the data mean is calculated, and the corresponding Euclidean distance is calculated. Data greater than the standard Euclidean distance are taken as pending abnormal data; the mean and median of the pending abnormal data are obtained, the absolute value of the difference between the mean and the median is taken as the deletion threshold, the absolute value of the difference between each pending abnormal data and the median is calculated, and when the absolute value is greater than the deletion threshold, the pending abnormal data is deleted; the other data in the preliminary normal data group after the pending abnormal data is deleted are taken as a number of pre-processed pressure data; the above processing is performed on a number of flow data, a number of temperature data and a number of power data to obtain a number of pre-processed flow data, a number of pre-processed temperature data and a number of pre-processed power data; the several pre-processed pressure data, the several pre-processed flow data, the several pre-processed temperature data and the several pre-processed power data constitute pre-processed operation data; data extraction is performed on the pre-processed operation data to obtain characteristic operation data; data analysis is performed on the characteristic operation data to obtain data analysis results; Determine a valve status detection result based on the data analysis result; The valve is intelligently controlled based on the state detection result.
2. The intelligent control method for valve operation status detection based on the Internet of Things according to claim 1 is characterized in that: The sensors installed on the valve collect operating data related to the valve operating status, including: Based on the pressure sensor, a number of pressure data of the fluid passing through the valve at different time periods are collected; Based on the flow meter, several flow data of the fluid passing through the valve at different time periods are collected; Collect several temperature data of valves at different time periods based on infrared temperature sensors; Based on the electric energy meter, a number of electric power data of the circuit where the valve is located in different time periods are collected; wherein the electric power data includes current, voltage and power factor; The plurality of pressure data, the plurality of flow data, the plurality of temperature data and the plurality of power data constitute the operation data related to the operation state of the valve.
3. The intelligent control method for valve operation status detection based on the Internet of Things as claimed in claim 2 is characterized in that: The operation data is transmitted to a preset data processing platform through the Internet of Things technology, including: Determine the IoT protocols required to run data transfer; Establishing a connection between the sensor installed on the valve and the preset data processing platform; The operating data collected by the sensor is transmitted to a preset data processing platform based on the API provided by the Internet of Things protocol.
4. The intelligent control method for valve operation status detection based on the Internet of Things according to claim 1 is characterized in that: Extracting the preprocessed operation data to obtain characteristic operation data includes: Selecting a number of pre-processed pressure data as a number of target data to be processed, and obtaining data means of the number of target data to be processed; Determine any target data to be processed as current data to be processed, and calculate a first correlation coefficient between the current data to be processed and the data mean; Calculate the dispersion value between the current data to be processed and the data mean, and calculate the second correlation coefficient between the current data to be processed and the data mean based on the data mean and the dispersion value; Determine the total correlation coefficient between the current data to be processed and the data mean according to the first correlation coefficient and the second correlation coefficient, and extract the current data to be processed when the total correlation coefficient is less than the standard correlation coefficient; The above operation is performed on all target data to be processed, and the extracted data is used as a number of pressure feature data; The above processing is performed on a plurality of pre-processed flow data, a plurality of pre-processed temperature data and a plurality of pre-processed power data to obtain a plurality of flow characteristic data, a plurality of temperature characteristic data and a plurality of power characteristic data; The plurality of pressure characteristic data, the plurality of flow characteristic data, the plurality of temperature characteristic data and the plurality of power characteristic data constitute characteristic operation data.
5. The intelligent control method for valve operation status detection based on the Internet of Things according to claim 1 is characterized in that: Performing data analysis on the characteristic operation data to obtain data analysis results, including: Compare the plurality of pressure characteristic data with the preset minimum normal pressure data, and record the number of pressure characteristic data that is less than the preset minimum normal pressure data as the first data number; Compare the plurality of pressure characteristic data with the preset maximum normal pressure data, record the number of pressure characteristic data greater than the preset maximum normal pressure data as the second data number, and use the first data number and the second data number as the pressure data analysis result; Compare a number of flow characteristic data with preset minimum normal flow data, and record the number of flow characteristic data less than the preset minimum normal flow data as the third data number; Compare the plurality of flow characteristic data with the preset maximum normal flow data, record the number of flow characteristic data greater than the preset maximum normal flow data as the fourth data number, and use the third data number and the fourth data number as the flow data analysis result; Compare the plurality of temperature characteristic data with the preset minimum normal temperature data, and record the number of temperature characteristic data less than the preset minimum normal temperature data as the fifth data number; Comparing the plurality of temperature characteristic data with the preset maximum normal temperature data, recording the number of temperature characteristic data greater than the preset maximum normal temperature data as the sixth data number, and taking the fifth data number and the sixth data number as the temperature data analysis result; Compare a plurality of power characteristic data with a preset minimum normal power data, and record the number of power characteristic data that is less than the preset minimum normal power data as a seventh data number; Compare the plurality of power characteristic data with the preset maximum normal power data, record the number of power characteristic data greater than the preset maximum normal power data as the eighth data number, and take the seventh data number and the eighth data number as the power data analysis result; The pressure data analysis results, flow data analysis results, temperature data analysis results and power data analysis results constitute the data analysis results.
6. The intelligent control method for valve operation status detection based on the Internet of Things as claimed in claim 5 is characterized in that: Determining a valve status detection result based on the data analysis result includes: Calculate the product of the first data number and the preset pressure weight, calculate the product of the third data number and the preset flow weight, calculate the product of the fifth data number and the preset temperature weight, calculate the product of the seventh data number and the preset power weight, and use the opposite of the sum of the above four products as the first valve state score; Calculate the product of the second data number and the preset pressure weight, calculate the product of the fourth data number and the preset flow weight, calculate the product of the sixth data number and the preset temperature weight, calculate the product of the eighth data number and the preset power weight, and use the sum of the above four products as the second valve state score; When the first valve status score and the second valve status score are both between a preset minimum normal score and a preset maximum normal score, determining that the valve status detection result is that the valve is operating normally; When the first valve state score is less than the preset minimum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too low; when the second valve state score is greater than the preset maximum normal score, the valve state detection result is determined to be that the valve opening and closing degree is too high; When the first valve state score is less than a preset minimum normal score and the second valve state score is greater than a preset maximum normal score, calculating a first difference between the first valve state score and the preset minimum normal score, and calculating a second difference between the second valve state score and the preset maximum normal score; Comparing the first difference and the second difference, and taking the valve status score corresponding to the larger difference as the target valve status score; When the target valve state score is the first valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too low. When the target valve state score is the second valve state score, the valve state detection result is determined to be that the valve opening and closing degree is too high.
7. The intelligent control method for valve operation status detection based on the Internet of Things according to claim 6 is characterized in that: Intelligently controlling the valve based on the state detection result includes: When the valve state detection result shows that the valve opening degree is too low, the valve opening degree data is collected based on the position sensor, and the valve opening degree is increased to a first preset opening degree through intelligent control; When the valve status detection result shows that the valve opening degree is too high, the valve opening degree data is collected based on the position sensor, and the valve opening degree is intelligently controlled to reduce the valve opening degree to a second preset opening degree.
8. The intelligent control method for valve operation status detection based on the Internet of Things according to claim 7 is characterized in that: Also includes: The data analysis results, the first valve status score, the second valve status score, the valve opening and closing degree before intelligent control, and the valve opening and closing degree after intelligent control are output in the form of a report to obtain a valve status detection and intelligent control report.
