Electric valve intelligent analysis platform
Through the design of an intelligent analysis platform for electric valves, data sensors and decision tree models are used to realize automatic fault monitoring and fault cause location of electric valves, solving the problem of manual intervention in fault judgment in the existing technology, and improving the automation efficiency of fault handling. .
Patent Information
- Application Number
- CN202410827889.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The existing electric valve monitoring system requires manual intervention to determine faults, and is not sufficiently intelligent to achieve automated fault analysis and monitoring.
An intelligent analysis platform for electric valves is designed, which collects physical signals through data sensors, and uses the communication mechanism between the upper computer and the lower computer, combined with the preset decryption algorithm and decision tree model, to automatically analyze the status of the electric valve to achieve fault monitoring and Locating the cause of the fault.
It realizes automatic fault monitoring of electric valves and rapid location of fault causes, reduces data storage pressure and analysis efficiency, reduces dependence on manual labor, and improves the automation level of fault handling.
Smart Images

Figure CN118395317B
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to an intelligent analysis platform for electric valves. Background Art
[0002] At present, electric valves are widely used in many industries such as petroleum, chemical, pharmaceutical, electric power, environmental protection, HVAC, water supply and drainage, as well as various process flows that require precise control and automated operation. For example, material transportation on industrial production lines, adjusting the air volume in air ducts in building automation systems, and controlling water flow in water treatment facilities. In order to ensure the safety of electric valves, a monitoring system is also set up to monitor various physical signals of electric valves. However, the existing monitoring system still requires manual intervention to determine the failure of the electric valve, and the degree of intelligence is insufficient. Summary of the invention
[0003] The present application provides an intelligent analysis platform for electric valves, which is used to automatically monitor the status of the electric valves based on the collected physical information of the electric valves, thereby realizing fault analysis of the electric valves.
[0004] In the first aspect, the embodiment of the present application provides an electric valve intelligent analysis platform, which is used to manage electric valves. The electric valve intelligent analysis platform includes: a data sensor, a host computer and a slave computer, the slave computer includes multiple data interfaces, the data interface is used to communicate with the data sensor, and the slave computer is communicated with the host computer; the data sensor is used to collect physical signals of the electric valve, and the data interface is used to upload the physical signals to the slave computer, and the host computer is used to execute:
[0005] Obtain the identification information uploaded by the lower computer, parse the identification information according to the preset decryption algorithm, and obtain the interface name information and the model information of the data sensor. The interface name information is the information corresponding to the data interface connected to the data sensor;
[0006] Generate a first loading parameter according to the interface name information and the model information, and send the first loading parameter to the lower computer, so that the lower computer determines the first data interface from the data interface according to the first loading parameter, and uploads the physical signal received by the first data interface to the upper computer;
[0007] When it is detected that the physical signal received by the first data interface exceeds the preset signal range, a second loading parameter is generated according to the interface name information and the model information, and the second loading parameter is sent to the lower computer, so that the lower computer determines the second data interface from the data interface, and uploads the physical signal received by the second data interface to the upper computer;
[0008] Based on the pre-trained decision tree model, the physical signal received by the second data interface is analyzed to obtain the monitoring result of the electric valve, and the monitoring result is output to the user.
[0009] Through the above-mentioned electric valve intelligent analysis platform, the upper computer can identify the connected data sensor and the corresponding data interface according to the identification information uploaded by the lower computer, and enable the lower computer to upload the physical signal of the data sensor of the first data interface through the first loading parameter. By monitoring the physical signal in the key first data interface, it is determined whether the key indicators of the electric valve are normal, and when the above-mentioned key indicators are abnormal, the lower computer is enabled to upload the physical signal of the data sensor of the second data interface through the second loading parameter. When the key indicators are normal, there is no need to collect a large amount of redundant data, which reduces the data storage pressure and data analysis efficiency. The upper computer uses a pre-trained decision tree model to perform a detailed analysis of the physical signal of the second data interface to determine the specific cause of the failure of the electric valve and improve the speed of locating the cause of the failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0011] Figure 1 A schematic diagram of an electric valve intelligent analysis platform provided in an embodiment of the present application;
[0012] Figure 2 A schematic flow chart of a method for monitoring a fault of an electric valve provided in an embodiment of the present application;
[0013] Figure 3 A schematic flow chart of a decision tree model training method provided in an embodiment of the present application;
[0014] Figure 4 A schematic diagram of a display interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0017] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0018] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0019] See also Figure 1 , Figure 1 The schematic diagram of an electric valve intelligent analysis platform provided by the embodiment of the present application is shown. Figure 1 As shown, the electric valve intelligent analysis platform 100 includes: a data sensor 11, a host computer 12 and a lower computer 13. The lower computer 13 includes multiple data interfaces 131. Each data interface 131 can be connected to a data sensor 11. The data interface 131 is used to communicate with the data sensor 11. The lower computer 13 is connected to the host computer 12 in a wired or wireless manner. The data sensor 11 is used to collect physical signals of the electric valve, such as current value and thrust value, and is also used to upload the collected physical signals to the data interface 131 to which it is connected. According to the instructions of the host computer 12, the lower computer 13 uploads the physical signals collected by the corresponding data sensor 11 to the host computer 12, so that the host computer 12 can complete the fault monitoring of the electric valve.
[0020] In some embodiments, the electric valve includes a driving unit, a valve stem unit and a valve flap unit. The driving unit is used to generate a driving force acting on the valve stem unit, the valve stem unit is used to transmit the driving force to the valve flap unit, and the valve flap unit is used to control the flow rate of the medium in the electric valve. The motion states of the valve stem unit and the valve flap unit include a stationary state, an accelerated state and a decelerated state.
[0021] See also Figure 2 , Figure 2 The following is a schematic flow chart showing a method for monitoring a fault of an electric valve provided in an embodiment of the present application. Figure 2 As shown, the fault monitoring method of the electric valve is as follows Figure 1The upper computer 12 shown executes the electric valve fault monitoring method, and the specific steps include: S101-S104.
[0022] S101. Obtain identification information uploaded by the lower computer, parse the identification information according to a preset decryption algorithm, and obtain interface name information and data sensor model information. The interface name information is information corresponding to the data interface connected to the data sensor.
[0023] In some embodiments, the lower computer is used to execute: obtaining model information uploaded by a data sensor connected to a data interface; encrypting the model information and the interface name information of the data interface connected to the data sensor based on an encryption algorithm corresponding to a preset decryption algorithm to generate identification information.
[0024] Exemplarily, after the data sensor is connected to the data interface of the lower computer, the data sensor sends its own model information to the lower computer. The lower computer receives the model information, obtains the interface name information of the data interface to which the data sensor is connected, and generates a byte group according to the model information, the interface name information and the preset encryption algorithm, and the byte group is the identification information. In this way, the security of data can be ensured during the communication process and the risk of data leakage can be reduced.
[0025] The identification information encrypted by the preset encryption algorithm includes the data to be parsed corresponding to the model information and the interface name information, and also includes the key data for decrypting the above data to be parsed. After receiving the identification information, the host computer first obtains the key data and the data to be parsed from the identification information, and then decrypts the data to be parsed by the preset decryption algorithm and key data.
[0026] In some embodiments, when the upper computer is used to parse the identification information according to the preset decryption algorithm to obtain the interface name information and the model information of the data sensor, it is specifically used to execute: obtaining the sequence information of the lower computer that uploaded the identification information in the electric valve intelligent analysis platform; matching the preset decryption algorithm according to the sequence information, the preset decryption algorithm includes a decryption matrix, a segmentation gradient and a sampling gradient, the decryption matrix is a matrix of multiple rows and columns, and multiple blank position values are reserved; dividing the identification information into the first sub-data, the second sub-data and the third sub-data according to the segmentation gradient, and obtaining the sampling characters from the sequence information according to the sampling gradient, and generating an index value according to the acquisition order of the sampling characters, and the index value and the sampling value are related to the sampling characters. The characters correspond one to one; the sampled characters are mapped to a preset Fibonacci sequence according to the index value to obtain a mapping sequence, and each character in the mapping sequence is added to the blank position value of the decryption matrix according to a preset rule to obtain a character matrix; wherein only one character is added to a blank position value; according to the character matrix, a first decryption password is generated, and the first sub-data and the second sub-data are decrypted according to the first decryption password to obtain the first character in the first sub-data and the second character in the second sub-data; the first character and the second character are encoded and combined to obtain a separation rule for the third sub-data, and the third sub-data is separated into interface name information and model information of the data sensor according to the separation rule.
[0027] For example, each lower computer is connected to a different data sensor, and the physical signals collected by the data sensor are also different, for example, the signal length is different. Therefore, when encrypting and decrypting data of different specifications, there will be some differences in the specific encryption and decryption algorithms. The corresponding decryption algorithm is matched by the corresponding sequence information of the lower computer to adapt to different identification information.
[0028] Exemplarily, for each character extracted from the sequence information by the sampling gradient, a continuous index value is assigned to it, which is usually an integer value that increases from 0. The obtained index value is used as the key of the lookup table, and then mapped to the corresponding position on the preset Fibonacci sequence. The Fibonacci sequence is: , that is, each item is the sum of the previous two items. According to the index value, the value of the Fibonacci sequence corresponding to each sampled character is taken out to form a new sequence, which is the final mapping sequence.
[0029] When generating the third decryption password based on the character matrix, it is necessary to conduct a comprehensive analysis of the constructed multi-row and multi-column character matrix, including: statistically analyzing the frequency and arrangement rules of the characters in the matrix. If the preset sequential structure in the character matrix is used as the basis for password generation, the feature information is extracted from the preset sequential structure through the preset rules or password generation algorithm, and the third decryption password is generated based on the feature information. This password generation algorithm can be a hash function that maps certain features of the character matrix to a key of a fixed length. After obtaining the key, the generated first decryption password is used to try to decrypt the first sub-data and the second sub-data to obtain the first character in the first sub-data and the second character in the second sub-data.
[0030] It should be noted that in the embodiment of the present application, the encryption algorithm and the decryption algorithm correspond to each other. When encrypting data, the steps of the encryption algorithm are obtained by reverse reasoning based on the steps of the decryption algorithm.
[0031] The above mechanism improves the security of the data transmission process and reduces the risk of data leakage through multi-layer decryption and information integration.
[0032] S102, generating a first loading parameter according to the interface name information and the model information, and sending the first loading parameter to the lower computer, so that the lower computer determines the first data interface from the data interface according to the first loading parameter, and uploads the physical signal received by the first data interface to the upper computer.
[0033] For example, if the host computer obtains the physical signals collected by all data sensors, the acquired data will have a large amount of redundant data, which not only occupies memory but also reduces the efficiency of data storage and data analysis. Therefore, it is necessary to optimize data collection.
[0034] Specifically, the host computer gives priority to collecting data corresponding to key indicators, such as whether the electric valve is open and the rotation status of the motor. Based on these key indicators, the host computer can monitor the overall operation of the electric valve. When any key indicator is abnormal, more data is collected to locate the specific cause of the fault. Based on these key indicators, the host computer determines which data interface the data sensor needs to be located in from the interface name information and model information, and instructs the lower computer to upload the data received by the data interface.
[0035] Through the above process, the platform's data management capabilities are optimized, a large amount of redundant data is avoided, the efficiency of data analysis is improved, and the pressure on data storage is reduced.
[0036] S103. When it is monitored that the physical signal received by the first data interface exceeds the preset signal range, a second loading parameter is generated according to the interface name information and model information, and the second loading parameter is sent to the lower computer, so that the lower computer determines the second data interface from the data interface and uploads the physical signal received by the second data interface to the upper computer.
[0037] Exemplarily, the preset signal range is the normal range of the physical signal of the first data interface. For example, the physical signal is the driving current of the electric valve, and the preset signal range is the range of the current value. Determine whether the key indicator of the electric valve fails according to the preset signal range. When the key indicator fails, collect more physical signals of the data interface, and divide the increased data interface into the second data interface. The second data interface also includes the first data interface. In this way, the comprehensiveness of the collected data is improved, and the upper computer can analyze the electric valve more specifically to locate the specific cause of the failure.
[0038] S104: Based on the pre-trained decision tree model, analyze the physical signal received by the second data interface to obtain the monitoring result of the electric valve, and output the monitoring result to the user.
[0039] For example, a large amount of data is stored in the electric valve intelligent analysis platform. If these data are used well, the automation efficiency of fault location can be improved and the dependence on manual work can be reduced. With the development of big data technology, fault location through big data models or neural network models has become a reality. In the embodiment of the present application, a data processing algorithm based on a decision tree model is provided.
[0040] In some embodiments, see Figure 3 , Figure 3 The schematic flow chart of a decision tree model training method provided in an embodiment of the present application is shown. Before the host computer is used to execute the pre-trained decision tree model to analyze the physical signal received by the second data interface to obtain the monitoring result of the electric valve, it is also used to execute the following steps: Figure 3 The decision tree model training method shown, the specific steps of the decision tree model training method include: S1041-S1046.
[0041] S1041. Acquire historical signal data of the second data interface, where the historical signal data includes a current value sequence, a thrust value sequence, and a power value sequence of the electric valve, and the current value sequence, the thrust value sequence, and the power value sequence are sorted according to a time series.
[0042] Exemplarily, the decision tree model is trained through the historical signal data of the second data interface of the electric valve, and the numerical sequences in the historical signal data include: current value sequence, thrust value sequence and power value sequence. It should be noted that the historical signal data listed in the above content can increase the types of data sequences according to different monitoring requirements. The present application is intended to explain the embodiments through the above-listed data sequences, but is not intended to limit the present application.
[0043] The acquired historical signal data is sorted according to the timestamp of the data to facilitate the subsequent quantitative processing of the data, which is conducive to trend prediction, anomaly detection and causal analysis.
[0044] S1042. Obtain historical work order data, where the historical work order data includes fault tags, and the fault tags are sorted in time series.
[0045] Exemplarily, the fault labels in the historical work order data are manually calibrated labels, which can ensure accuracy and facilitate collection. After being sorted by time, they are aligned with the above-mentioned numerical sequence, which helps to understand the causal chain and dependency relationship between the fault labels and the numerical sequence, thereby improving the training effect of the decision tree model.
[0046] S1043. Generate a feature vector according to the current value sequence, the thrust value sequence, and the power value sequence, and generate a result vector according to the fault label.
[0047] Exemplarily, the current value sequence, thrust value sequence and power value sequence are respectively converted into row vectors or column vectors, and then a matrix of feature vectors is generated based on the above row vectors or column vectors. After the fault labels are numerically processed, they are converted into row vectors or column vectors in the same way as the above numerical sequences. In this way, the row vectors or column vectors converted from the fault labels can be concatenated with the matrix of feature vectors to obtain a training matrix for training the decision tree model.
[0048] By converting the above data into vector form, a standardized and efficient data processing method is provided, which facilitates algorithm understanding and processing and greatly promotes the design, implementation and optimization of machine learning algorithms.
[0049] S1044, obtaining the change moments of the motion state of the valve stem unit and the motion state of the valve flap unit, obtaining the feature vector and the result vector in the preset time interval corresponding to the change moment, and dividing them into a training data set and a test data set.
[0050] For example, the original historical signal data is rich in content and large in scale. If all of it is used to train the decision tree model, the computing resources required for the decision tree model to complete feature fitting will increase, which is not conducive to model convergence.
[0051] In one embodiment, when the valve stem unit changes from a static state to a moving state, in order to change the moving state of the valve stem unit, the drive unit needs to output a higher starting power to drive the internal motor to output sufficient torque to the valve stem unit. When the motor needs to provide a torque higher than it can provide, a stall phenomenon will occur. At this time, the current flowing through the motor will increase sharply and remain in a high current state. If it is not reduced in time, it may cause the motor to overheat and burn.
[0052] In other embodiments, when the motion state of the valve flap unit changes, the driving unit is also required to output a higher power to support the change of the motion state. Therefore, when selecting training data, the training data can be determined by the time interval corresponding to these special moments. For example, before the above special moment and after the above special moment, the intervals determined according to the preset time length are the preset time intervals, and the historical signal data contained in this preset interval will be used as training data.
[0053] In this way, the scale of training data can be reduced, and the computing resources required for decision tree model training can be reduced, thereby improving the training efficiency of the decision tree model.
[0054] In one embodiment, taking the closing process of an electric valve as an example, the changes in the current value sequence, thrust value sequence and power value sequence during the closing process, as well as the changes in the motion states of the drive unit, valve stem unit and valve flap unit are explained, wherein the drive unit is equivalent to a motor.
[0055] In the process of closing the valve, the following moments are key moments, including:
[0056] Moment C0: monitor the three real currents of the motor. The three real currents at moment C0 are 0. At the next moment after moment C0, the three real currents begin to change.
[0057] C1 moment: monitor the three effective currents of the motor. The moment when the three effective currents reach the maximum value is C1 moment. After C1 moment, after the motor rotates, the maximum value quickly decreases to the running current value of the motor.
[0058] C1A moment: monitor the three active powers of the motor. When the motor rotates, the three active powers change with the current. The moment when the three active powers reach the peak value is C1A moment.
[0059] C2 moment: After the motor is started, the torque gradually increases until the valve stem unit is pushed. C2 moment is within the time interval before the valve stem unit starts to move.
[0060] C3 moment: After the motor rotates, the stress point changes and a hammering effect occurs, and the thrust on the valve stem unit tends to be stable. The C3 moment is within the time interval when the thrust on the valve stem unit is stable.
[0061] C3A moment: The initial moment when the thrust of the valve stem unit stabilizes.
[0062] C3B moment: The moment when the thrust of the valve stem unit becomes stable.
[0063] Moment C4: The initial moment of uniform motion of the valve disc unit.
[0064] Moment C5: The moment when the uniform motion of the valve disc unit ends.
[0065] C6 moment: the moment when the valve disc unit closes to the first preset position (95%).
[0066] C7 moment: the moment when the motor bypass switch changes.
[0067] Moment C8: The moment when the valve disc unit closes to the second preset position (5%).
[0068] C9 moment: the moment when the motor bypass switch is closed.
[0069] Moment C10: The valve disc unit is subjected to additional force due to pipeline pressure shock. During operation, the thrust on the valve disc unit changes from stable to changing.
[0070] C11 moment: The moment when the valve disc unit contacts the spring assembly in the electric valve and no longer produces displacement.
[0071] C12 moment: After the valve disc unit stops moving, the motor also stops rotating until the output torque is greater than the reaction force of the spring assembly. The current of the motor increases sharply and maintains after reaching the peak value, pushing the valve stem unit and the valve disc unit to continue moving. C12 moment is the moment when the peak value is reached.
[0072] C13 moment: The moment when the spring assembly begins to compress.
[0073] C14 moment: the moment when the spring assembly stops compressing.
[0074] By selecting the data collection interval based on the above-mentioned time, the key indicators of the electric valve can be monitored, and the amount of data collection can be reduced to prevent data redundancy.
[0075] S1045. Construct a decision tree model based on XGBoost according to the training data set. The decision tree model includes multiple base models. Calculate the segmentation benefit value of each subtree of each base model. If the segmentation benefit value is less than a preset benefit threshold, prune the corresponding subtree to obtain an optimized base model.
[0076] Exemplarily, the present application constructs a decision tree model based on XGBoost, where XGBoost is an additive expression consisting of k base models, and the specific formula of the additive expression is:
[0077] ;
[0078] in, is the tth base model, is the predicted value of the i-th sample.
[0079] According to the above addition formula, the loss function of the decision tree model is obtained. The specific formula of the loss function is:
[0080] ;
[0081] in, is the loss estimate, n is the number of samples, is the convergence coefficient, is the true value of the i-th sample.
[0082] In the process of training the decision tree model, if unreasonable leaf nodes are generated when generating the tree of the base model, the complexity of the control model will be out of control, and there is a risk of overfitting. In order to reduce this risk, a regular term function is introduced to correct the complexity of the model. The specific formula of the regular term function is:
[0083] ;
[0084] in, is the regularization term, is the regularization parameter, T is the number of leaves, is the penalty parameter, is the weight of the jth leaf.
[0085] The objective function is obtained according to the loss function and the regular term function. The specific formula of the objective function is:
[0086] ;
[0087] in, is the convergence coefficient, is the first-order derivative of the loss function, The second derivative of the loss function.
[0088] In the process of generating the tree of the base model, the split starts from the root node, and each split forms a new subtree, and each split has multiple split items. Therefore, when splitting, it is necessary to evaluate each split item, calculate the split benefit value of each split item, and generate a new subtree for the split item corresponding to the maximum split benefit value. However, when the maximum split benefit value is less than the preset threshold, it can be considered that the split has a negative impact on the construction of the tree, and the new subtree obtained after the split needs to be pruned to reduce the risk of overfitting.
[0089] The specific formula for calculating the split benefit value is:
[0090] ;
[0091] Among them, Gain is the split gain value, is the sum of the first-order derivatives of the left subtree corresponding to the split term, is the sum of the first and second order derivatives of the left subtree corresponding to the split term, is the sum of the second first-order derivatives of the right subtree corresponding to the split term, is the sum of the second-order derivatives of the right subtree corresponding to the split term.
[0092] S1046. Evaluate the feature vector of the test data set through the optimized base model to obtain an evaluation vector. When the alignment between the evaluation vector and the result vector of the test data set reaches a preset alignment threshold, stop training to obtain a trained decision tree model.
[0093] Exemplarily, after training the decision tree model, multiple optimized base models are obtained, and the optimized base model is a prediction tree. The feature vector of the test data set is input into the prediction tree to obtain an evaluation vector, which is the predicted value of the test data set based on the output of the prediction tree, and the result vector of the test data set is the true value. The evaluation vector and the result vector are compared. If the alignment between the two reaches a preset alignment threshold, for example, 99%, it is considered that the decision tree model has converged, and the training can be stopped. The trained decision tree model is obtained based on the generated prediction tree.
[0094] In some embodiments, the host computer includes a display interface. When the host computer is used to output the monitoring results to the user, it is specifically used to execute: generating corresponding character information according to the monitoring results; and displaying the character information in a corresponding area of the display interface.
[0095] After data collection begins, the data of the electric valve is collected in real time and the control signal of the electric valve is monitored. When the electric valve is abnormal, the electric valve intelligent analysis platform can automatically identify the abnormality and output an alarm prompt to protect the safety of the valve. The alarm prompt can be in the form of characters, sound, light, etc.
[0096] See also Figure 4, Figure 4 A schematic diagram of a display interface provided by an embodiment of the present application is shown. Figure 4 As shown, the character information generated according to the monitoring results is filled in the corresponding table to facilitate user reading, thereby improving the user experience.
[0097] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An intelligent analysis platform for electric valves, characterized in that: The electric valve intelligent analysis platform is used to manage the electric valve, the electric valve includes a drive unit, a valve stem unit and a valve flap unit, the drive unit is used to generate a driving force acting on the valve stem unit, the valve stem unit is used to transmit the driving force to the valve flap unit, the valve flap unit is used to control the flow rate of the medium in the electric valve, the motion states of the valve stem unit and the valve flap unit include a static state, an acceleration state and a deceleration state, the electric valve intelligent analysis platform includes: a data sensor, an upper computer and a lower computer, the lower computer includes a plurality of data interfaces, the data interface is used to communicate with the data sensor, the lower computer is communicated with the upper computer; the data sensor is used to collect the physical signal of the electric valve, and a data interface for uploading the physical signal to the lower computer, the upper computer is used to execute: Obtain the identification information uploaded by the lower computer, parse the identification information according to a preset decryption algorithm, and obtain interface name information and model information of the data sensor, wherein the interface name information is information corresponding to the data interface connected to the data sensor; Generate a first loading parameter according to the interface name information and the model information, and send the first loading parameter to the lower computer, so that the lower computer determines the first data interface from the data interface according to the first loading parameter, and uploads the physical signal received by the first data interface to the upper computer; When it is detected that the physical signal received by the first data interface exceeds the preset signal range, a second loading parameter is generated according to the interface name information and the model information, and the second loading parameter is sent to the lower computer, so that the lower computer determines the second data interface from the data interface, and uploads the physical signal received by the second data interface to the upper computer; Acquire historical signal data of the second data interface, the historical signal data including a current value sequence, a thrust value sequence and a power value sequence of the electric valve, the current value sequence, the thrust value sequence and the power value sequence being sorted in time series; acquire historical work order data, the historical work order data including a fault label, the fault label being sorted in time series; generate a feature vector according to the current value sequence, the thrust value sequence and the power value sequence, and generate a result vector according to the fault label; acquire the change moment of the motion state of the valve stem unit and the motion state of the valve disc unit, acquire the feature vector and the result vector within a preset time interval corresponding to the change moment, and divide them into a training data set and a test data set. data set; constructing a decision tree model based on XGBoost according to the training data set, the decision tree model includes multiple base models, calculating the segmentation benefit value of each subtree of each base model, if the segmentation benefit value is less than a preset benefit threshold, pruning the corresponding subtree to obtain an optimized base model; evaluating the feature vector of the test data set through the optimized base model to obtain an evaluation vector, when the alignment between the evaluation vector and the result vector of the test data set reaches a preset alignment threshold, stopping the training to obtain a pre-trained decision tree model; based on the pre-trained decision tree model, analyzing the physical signal received by the second data interface to obtain the monitoring result of the electric valve, and outputting the monitoring result to the user.
2. The electric valve intelligent analysis platform according to claim 1, characterized in that: When the host computer is used to execute the parsing of the identification information according to the preset decryption algorithm to obtain the interface name information and the model information of the data sensor, it is specifically used to execute: Acquire the sequence information of the lower computer that uploaded the identification information in the electric valve intelligent analysis platform; Matching the preset decryption algorithm according to the sequence information, the preset decryption algorithm includes a decryption matrix, a segmentation gradient and a sampling gradient, the decryption matrix is a matrix of multiple rows and columns, and multiple blank position values are reserved; The identification information is divided into first sub-data, second sub-data and third sub-data according to the segmentation gradient, and sampling characters are obtained from the sequence information according to the sampling gradient, and index values are generated according to the acquisition order of the sampling characters, wherein the index values correspond to the sampling characters one by one; Mapping the sampled characters to a preset Fibonacci sequence according to the index value to obtain a mapping sequence, and adding each character in the mapping sequence to a blank position value of the decryption matrix according to a preset rule to obtain a character matrix; wherein only one character is added to one blank position value; Generate a first decryption password according to the character matrix, and decrypt the first sub-data and the second sub-data according to the first decryption password to obtain a first character in the first sub-data and a second character in the second sub-data; The first character and the second character are encoded and combined to obtain a separation rule for the third sub-data, and the third sub-data is separated into the interface name information and the model information of the data sensor according to the separation rule.
3. The electric valve intelligent analysis platform according to claim 1, characterized in that: The host computer includes a display interface, and the host computer is used to output the monitoring results to the user, specifically to execute: Generate corresponding character information according to the monitoring result; The character information is displayed in a corresponding area of the display interface.
4. The electric valve intelligent analysis platform according to claim 1, characterized in that: The lower computer is used to execute: Obtaining model information uploaded by the data sensor connected to the data interface; Based on the encryption algorithm corresponding to the preset decryption algorithm, the model information and the interface name information of the data interface connected to the data sensor are encrypted to generate the identification information.
