RPA service processing method and system based on artificial intelligence
By adopting an RPA business processing method based on artificial intelligence in hydropower plants, combining multimodal information fusion and self-supervised learning technology, the shortcomings of multimodal data processing and equipment status monitoring in hydropower plants are solved, and comprehensive monitoring of equipment status is achieved and abnormal detection improve the level of automation and intelligence.
Patent Information
- Application Number
- CN202411097047.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The prior art has shortcomings in multimodal data processing, equipment status monitoring, fixed value management and abnormal detection of hydropower plants, resulting in low level of information islands, equipment failure prediction and automation, making it difficult to achieve comprehensive situation assessment and information sharing.
Adopting an RPA business processing method based on artificial intelligence, combining multimodal information fusion, graph neural network, federated learning and self-supervised learning technology, the hydropower plant equipment is collected and pre-processed through the RPA system to build multiple Modal feature vectors, equipment status monitoring and abnormal detection, and cross-site data collaborative analysis.
Achieve comprehensive integration and comprehensive analysis of multimodal data, improve the comprehensiveness and prediction capabilities of equipment status monitoring, overcome the problems of information silos and inefficient processing, enhance the accuracy and reliability of abnormal detection, and improve the water. The level of automation and intelligence of power plants.
Smart Images

Figure CN118887044A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence, and in particular relates to an RPA business processing method and system based on artificial intelligence. Background Art
[0002] In the operation and maintenance process of modern hydropower plants, the demand for automation and intelligence is increasing. However, existing technologies still have many deficiencies in processing complex operating data of hydropower plants, equipment status monitoring, fixed value management and anomaly detection. Traditional hydropower plant business processing systems mainly rely on manual operations, which are inefficient and prone to human errors. Especially when processing large amounts of multimodal data (such as text, images, sensor data), existing technologies lack effective fusion and analysis methods, resulting in serious information island problems and difficulty in achieving comprehensive situation assessment.
[0003] Existing equipment status monitoring systems are usually based on a single data source, which makes it difficult to fully capture the complex relationships and dependencies between devices, and cannot effectively predict and prevent equipment failures. Traditional methods mostly use preset rules and simple statistical analysis, lack dynamic adaptability, and cannot reflect changes in equipment status in a timely manner. At the same time, existing fixed value management systems mostly rely on manual operations and paper documents, which are inefficient and prone to errors, and lack intelligent management methods. In addition, cross-site data collaborative analysis has not yet been widely used, and existing technologies have obvious shortcomings in data privacy protection and efficient collaborative analysis, making it difficult to achieve information sharing and optimized collaboration between sites.
[0004] Anomaly detection and early warning systems are usually based on preset thresholds and rules, which cannot adapt to the ever-changing operating environment and are prone to false positives or false negatives. Traditional anomaly detection systems lack self-learning and adaptive capabilities and cannot dynamically adjust detection models to respond to new anomaly patterns, resulting in insufficient system reliability and accuracy.
[0005] In summary, existing technologies have obvious deficiencies in multimodal data processing, equipment status monitoring, fixed value management, data collaborative analysis and anomaly detection, and an innovative technical solution is urgently needed to overcome these problems. At the same time, the existing hydropower plant business processing system has obvious deficiencies in the degree of automation. Although robotic process automation (RPA) technology has been applied in some fields, its application in hydropower plant business processing is still limited. The advantage of RPA technology is that it can simulate manual operations and achieve efficient and accurate process automation, but in terms of processing complex, multi-source data fusion analysis, equipment status monitoring and anomaly detection, the existing RPA system still lacks a comprehensive solution combined with advanced AI technology.
[0006] Therefore, a hydropower plant business processing method and system that combines advanced artificial intelligence algorithms and RPA technology is needed to achieve comprehensive automation and intelligence, overcome the shortcomings of existing technologies, and improve the operating efficiency and safety of hydropower plants. Summary of the invention
[0007] The purpose of this invention is to propose an RPA business processing method and system based on artificial intelligence, which comprehensively improves the business processing efficiency and intelligence level of hydropower plants through multimodal information fusion, graph neural network, federated learning and self-supervised learning technology.
[0008] In order to achieve the above object, the present invention provides an RPA business processing method based on artificial intelligence, the method comprising:
[0009] S1. Use the RPA system to collect text data from hydropower plant equipment and control the camera to collect image data. Use the sensor-based data acquisition module to collect sensor data, and pre-process the text data, image data, and sensor data. Write the pre-processed text data, image data, and sensor data into the database through the RPA system.
[0010] S2, extracting features from the preprocessed text data, image data, and sensor data and performing feature fusion to obtain a multimodal feature vector;
[0011] S3, constructing a device relationship diagram based on multimodal feature vectors and an analysis method based on a multi-layer adaptive time series model to monitor the status of hydropower plant equipment and detect anomalies, and predict the status of hydropower plant equipment;
[0012] S4. Construct a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and generate global optimization suggestions and operation instructions by automatically processing the analysis results; wherein the target optimization function of the cross-site data collaborative analysis model is expressed as follows:
[0013]
[0014] Among them, J represents the overall optimization objective function, C i (u i ) represents the operating cost function of site i, g i (u i ) represents the operating constraints of site i, u i represents the operating parameters of site i, N represents the total number of sites, α and β are the weight coefficients of cost and emission respectively, E i (u i ) represents the emission control function of site i, h i (u i,t) represents the dynamic constraint condition at time t, Δ represents the uncertainty factor δ i The value range of
[0015] S5. Use self-supervised learning technology to build a detection model to cover abnormal situations, and use the RPA system to achieve 24 / 7 automatic monitoring and exception handling;
[0016] The detection model includes a generative contrast learning sub-model, an anomaly detection sub-model, a multimodal self-supervised learning sub-model, a temporal self-supervised learning sub-model and a frequency domain self-supervised learning sub-model;
[0017] The contrastive learning sub-model is trained by constructing positive and negative sample pairs, assuming that the feature vector is F i , the positive sample is Negative samples are The generation formula of the contrastive learning model is:
[0018]
[0019] Among them, augment represents data enhancement operation, and shuffle represents random shuffle operation;
[0020] Define the contrast loss function L, which is used to train the contrastive learning model. The loss function L formula is as follows:
[0021]
[0022] Among them, d(F i ,F j ) represents the Euclidean distance metric between feature vectors, m represents the boundary value, represents the Euclidean distance measure between the feature vector and the positive sample, Represents the Euclidean distance metric between the feature vector and the negative sample;
[0023] The anomaly detection submodel, assuming that the anomaly detection model is d s , the test result is y s , which is expressed as follows:
[0024] y s =d s (F i ),
[0025] Among them, d s represents the anomaly detection model, y s Represents the detection results, anomaly detection model d s The training is based on the representation of self-supervised feature learning and combined with support vector machine for classification, which is expressed as follows:
[0026] y s=sign(w·F i +b),
[0027] Among them, w represents the weight vector, b represents the bias, and sign represents the sign function, which is used to return the sign of the input. That is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0;
[0028] The multimodal self-supervised sub-model combines multimodal data and uses self-supervised learning to perform anomaly detection. Let the multimodal feature vector be M i , the self-supervised model is d m , the detection result of the multimodal self-supervised model is y m , which is expressed as follows:
[0029]
[0030] Among them, M i Represents a multimodal feature vector, including text features t i , image feature i i and sensor characteristics i ;d m represents a multimodal self-supervised model;
[0031] The time series self-supervised learning sub-model adopts the time series self-supervised learning method to achieve anomaly detection by predicting the feature vector of the next time step. Suppose the feature vector of the current time step is F i , the predicted feature vector for the next time step is The prediction model is d t , the loss function L of the temporal self-supervised learning model t is, which is expressed as follows:
[0032]
[0033] in, F i+1 Represents the feature vector of the actual next time step, the prediction model d t Based on LSTM implementation, it is expressed as follows:
[0034]
[0035] Among them, h i Indicates the current hidden state;
[0036] The frequency domain self-supervised learning sub-model extracts frequency domain features through Fourier transform for anomaly detection. Suppose the frequency domain feature vector is The frequency domain self-supervised learning model is d f , the detection result of the frequency domain self-supervised learning model is y f, which is expressed as follows:
[0037]
[0038] in, represents the Fourier transform operation, Represents the frequency domain feature vector, the frequency domain self-supervised learning model d f Combining frequency domain features and spatial features for anomaly detection.
[0039] Furthermore, the preprocessing includes data cleaning and data standardization.
[0040] Furthermore, the text feature extraction uses a bag-of-words model and TF-IDF weighted processing to extract text features from operation reports and maintenance records to obtain text feature vectors; the image feature uses a convolutional neural network to extract features from image data to obtain image feature vectors; the sensor feature uses a wavelet transform to extract time series features from sensor data to obtain sensor feature vectors.
[0041] Furthermore, the text features, image features and sensor features are weightedly fused, including:
[0042] Divide the feature vector into several sub-regions and calculate the correlation between each sub-region. Let t i ,i i ,s i The text feature vector, image feature vector and sensor feature vector are divided into k sub-regions respectively, and the local correlation matrix R is calculated ij , which is expressed as follows:
[0043]
[0044] in, represents the correlation between the jth local region of the i-th and j-th modes, t i,k and i j,k denote the kth sub-region of the text and image feature vectors respectively, and are the means of the sub-regions respectively;
[0045] Assume the initial weight vector is w = [w t ,w i ,w s ], corresponding to the global weights of text features, image features, and sensor features, the weights are dynamically adjusted using the local correlation matrix R, which is expressed as follows:
[0046]
[0047] Among them, the adjusted local weight satisfies w′ t,k+w′ i,k +w′ s,k =1; in each sub-region, the dynamically adjusted local weights are applied for weighted fusion to obtain the weighted fusion feature vector It is expressed as follows:
[0048]
[0049] in, is the weighted fusion feature vector of the i-th data point in the k-th sub-region, w′ t,k , w′ i,k , w′ s,k are the local weights of text features, image features and sensor features respectively, They represent the text feature vector, image feature vector and sensor feature vector in the kth sub-region respectively.
[0050] Furthermore, the multimodal feature vector constructs a device relationship graph, which is expressed as follows:
[0051] According to the physical connection and dependency relationship between the hydropower plant equipment, the equipment relationship diagram is constructed. The equipment set is ε={E1,E2,…,E N}, where E i represents the i-th device;
[0052] Define the edge set between devices Among them, each edge (E i ,E j ) indicates device E i and E j There is a direct relationship between them;
[0053] Build a device relationship diagram
[0054] The device relationship graph uses a multimodal feature vector as the initial feature vector of each device, and uses a new weighted dynamic feature propagation algorithm to propagate features on the device relationship graph to update the feature representation of each device; wherein the new weighted dynamic feature propagation algorithm defines the feature propagation formula of the lth layer as:
[0055]
[0056] in, represents the feature vector of the ith device at layer l, Indicates device E i The neighbor set of and Respectively represent the connection weight and historical state weight between devices, W (l)represents the weight matrix of the i-th layer, σ represents the activation function, and j represents, Represents the feature vector of the i-th device at the l-1th layer.
[0057] Furthermore, the analysis method based on the multi-layer adaptive timing model specifically includes:
[0058] The feature vector Input into the encoder part of the variational autoencoder to obtain the hidden variable z t :
[0059] z t =μ+σ⊙∈,
[0060] in, represents the mean, represents the standard deviation, represents the random noise variable, f μ and f σ They represent neural network functions respectively;
[0061] The encoded latent variable z t The input is input into the LSTM network for time series modeling. The update formula of the LSTM network is expressed as follows:
[0062]
[0063] Among them, f t ,i t , o t Represent the activation vectors of the forget gate, input gate, and output gate, respectively, c t represents the cell state vector, W f , W i , W c , W o represents the weight matrix, b f , b i , b c , b o represents the bias vector, σ represents the Sigmoid activation function, ⊙ represents the element product, h t represents the time series feature vector at time step t;
[0064] Use the output h of the LSTM network t Perform state prediction and define the prediction function f pred , calculated as follows:
[0065]
[0066] in, represents the predicted state at time step t, f pred represents a fully connected layer.
[0067] Furthermore, the S4 specifically includes:
[0068] S41, standardize and align data from different sites;
[0069] S42, using the Pearson correlation coefficient to calculate the linear correlation of the data of the two sites, and at the same time calculating the mutual information between the sites to measure the nonlinear correlation of the data of the two sites;
[0070] S43, constructing a physical model;
[0071] S44, performing weighted average fusion on the data across sites, and then using the principal component analysis method to reduce the dimension of the fused data;
[0072] S45. Use cross-site fusion data for collaborative fault diagnosis to detect potential equipment failures. At the same time, optimize scheduling decisions based on collaborative analysis results and adjust the operating parameters of each site.
[0073] Further, the physical model includes a hydropower plant energy balance model and a water flow balance model;
[0074] The energy balance model of the hydropower plant is constructed as follows:
[0075] Assume that the energy input of site i is E in,i (t), the energy output is E out,i (t), energy storage is E s,i (t), the energy balance equation is expressed as follows:
[0076] E in,i (t) = E out,i (t)+ΔE s,i (t),
[0077] Where, ΔE s,i (t) represents the change in energy storage in time step t;
[0078] The water flow balance model is constructed as follows:
[0079] Assume the water inflow of station i is Q in,i (t), the water output is Q out,i (t), the water storage capacity is Q s,i (t), the water balance equation is expressed as follows:
[0080] Q in,i (t) = Q out,i (t)+ΔQ s,i (t),
[0081] Among them, ΔQ s,i(t) represents the change in water storage capacity in time step t.
[0082] Furthermore, the detection results of each sub-model are combined to obtain the final abnormality determination result:
[0083] Assume that the comprehensive test result is D i :
[0084]
[0085] Among them, w k represents the weight of the sub-model, d k (F i ) represents the detection result of the kth sub-model; if D i If it exceeds the set threshold value θ, it is judged as abnormal:
[0086]
[0087] Among them, A i represents the abnormality judgment result, and θ represents the abnormality threshold of comprehensive detection.
[0088] In a second aspect of the present invention, an artificial intelligence-based RPA business processing system is provided, the system comprising:
[0089] The data acquisition module is used to use the RPA system to collect text data from hydropower plant equipment and control the camera to collect image data, use the sensor-based data acquisition module to collect sensor data, and pre-process the text data, image data, and sensor data, and write the pre-processed text data, image data, and sensor data into the database through the RPA system;
[0090] A feature fusion module is used to extract features from the preprocessed text data, image data and sensor data and perform feature fusion to obtain a multimodal feature vector;
[0091] The state prediction module is used to build a device relationship diagram based on multi-modal feature vectors and an analysis method based on a multi-layer adaptive time series model to monitor the state of the hydropower plant equipment and detect anomalies, and predict the state of the hydropower plant equipment;
[0092] The cross-site data integration module is used to build a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and to generate global optimization suggestions and operation instructions by automatically processing the analysis results; wherein the target optimization function of the cross-site data collaborative analysis model is expressed as follows:
[0093]
[0094] Among them, J represents the overall optimization objective function, Ci (u i ) represents the operating cost function of site i, g i (u i ) represents the operating constraints of site i, u i represents the operating parameters of site i, N represents the total number of sites, α and β are the weight coefficients of cost and emission respectively, E i (u i ) represents the emission control function of site i, h i (u i ,t) represents the dynamic constraint condition at time t, Δ represents the uncertainty factor δ i The value range of
[0095] The detection model building module is used to build detection models using self-supervised learning technology to cover abnormal situations and achieve 24 / 7 automatic monitoring and exception handling through the RPA system;
[0096] The detection model includes a generative contrast learning sub-model, an anomaly detection sub-model, a multimodal self-supervised learning sub-model, a temporal self-supervised learning sub-model and a frequency domain self-supervised learning sub-model;
[0097] The contrastive learning sub-model is trained by constructing positive and negative sample pairs, assuming that the feature vector is F i , the positive sample is Negative samples are The generation formula of the contrastive learning model is:
[0098]
[0099] Among them, augment represents data enhancement operation, and shuffle represents random shuffle operation;
[0100] Define the contrast loss function L, which is used to train the contrastive learning model. The loss function L formula is as follows:
[0101]
[0102] Among them, d(F i ,F j ) represents the Euclidean distance metric between feature vectors, m represents the boundary value, represents the Euclidean distance measure between the feature vector and the positive sample, Represents the Euclidean distance metric between the feature vector and the negative sample;
[0103] The anomaly detection submodel, assuming that the anomaly detection model is d s , the test result is y s , which is expressed as follows:
[0104] ys =d s (F i ),
[0105] Among them, d s represents the anomaly detection model, y s Represents the detection results, anomaly detection model d s The training is based on the representation of self-supervised feature learning and combined with support vector machine for classification, which is expressed as follows:
[0106] y s =sign(w·F i +b),
[0107] Among them, w represents the weight vector, b represents the bias, and sign represents the sign function, which is used to return the sign of the input. That is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0;
[0108] The multimodal self-supervised sub-model combines multimodal data and uses self-supervised learning to perform anomaly detection. Let the multimodal feature vector be M i , the self-supervised model is d m , the detection result of the multimodal self-supervised model is y m , which is expressed as follows:
[0109]
[0110] Among them, M i Represents a multimodal feature vector, including text features t i , image feature i i and sensor characteristics i ;d m represents a multimodal self-supervised model;
[0111] The time series self-supervised learning sub-model adopts the time series self-supervised learning method to achieve anomaly detection by predicting the feature vector of the next time step. Suppose the feature vector of the current time step is F i , the predicted feature vector for the next time step is The prediction model is d t , the loss function L of the temporal self-supervised learning model t is, which is expressed as follows:
[0112]
[0113] in, F i+1 Represents the feature vector of the actual next time step, the prediction model d t Based on LSTM implementation, it is expressed as follows:
[0114]
[0115] Among them, h i Indicates the current hidden state;
[0116] The frequency domain self-supervised learning sub-model extracts frequency domain features through Fourier transform for anomaly detection. Suppose the frequency domain feature vector is The frequency domain self-supervised learning model is d f , the detection result of the frequency domain self-supervised learning model is y f , which is expressed as follows:
[0117]
[0118] in, represents the Fourier transform operation, Represents the frequency domain feature vector, the frequency domain self-supervised learning model d f Combining frequency domain features and spatial features for anomaly detection.
[0119] The beneficial technical effects of the present invention are at least as follows:
[0120] (1) The present invention uses deep learning technology, especially the Transformer model, to integrate data from multiple modalities such as text, images, and sensors. The RPA system automatically acquires and processes these data to achieve comprehensive fusion and comprehensive analysis of information, overcoming the problems of information silos and low processing efficiency in traditional methods.
[0121] (2) The present invention uses graph neural network (GNN) technology to construct a relationship diagram between devices and analyze the dependencies and impact paths between devices. The RPA system automatically generates and executes maintenance strategies and operation plans based on the GNN analysis results, effectively solving the problems of poor dynamic adaptability of traditional single data source monitoring and equipment status, and improving the comprehensiveness and predictive ability of equipment status monitoring.
[0122] (3) The present invention uses federated learning technology to achieve data collaborative analysis among multiple hydropower plant sites, ensuring the privacy and security of data at each site. The RPA system automatically processes the analysis results, generates global optimization suggestions and operation instructions, overcomes the shortcomings of existing technologies in data privacy protection and cross-site collaborative analysis, and achieves efficient information sharing and optimization collaboration.
[0123] (4) The present invention uses self-supervised learning technology to train anomaly detection models, covering more abnormal situations, and realizes all-weather automatic monitoring and abnormality processing through the RPA system. Self-supervised learning technology enables the anomaly detection model to be adaptively adjusted, overcoming the limitations of traditional preset thresholds and rules, and improving the accuracy and reliability of anomaly detection.
[0124] (5) The present invention not only solves many deficiencies of the prior art in multimodal data processing, equipment status monitoring, constant value management, data collaborative analysis and anomaly detection, but also significantly improves the automation and intelligence level of hydropower plant business processing, and has broad application prospects and significant practical benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0125] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0126] Figure 1 This is a flow chart of an RPA business processing method based on artificial intelligence in the present invention.
[0127] Figure 2 This is a framework diagram of an artificial intelligence-based RPA business processing system of the present invention. DETAILED DESCRIPTION
[0128] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0129] like Figure 1 As shown, an embodiment of the present invention provides an artificial intelligence-based RPA business processing method, the method comprising the following steps S1-S5:
[0130] S1. Use the RPA system to collect text data from hydropower plant equipment and control the camera to collect image data. Use the sensor-based data acquisition module to collect sensor data, and pre-process the text data, image data, and sensor data. Write the pre-processed text data, image data, and sensor data into the database through the RPA system.
[0131] Among them, text data is extracted from operation reports and maintenance records. Use RPA robots to automatically log in to the system, grab text data, and store it in a unified data warehouse. Text data usually includes equipment operation status, fault reports, maintenance records, etc., which record the daily operation information of the hydropower plant.
[0132] Use industrial cameras and image sensors to capture images of the equipment at regular intervals. The RPA system controls the camera to capture and transmit the image data to the data warehouse. The image data can be used to detect the physical status of the equipment, such as whether there is any external damage or abnormality.
[0133] Use the Data Acquisition (DAQ) module to automatically collect sensor data such as temperature, pressure, vibration, etc. Automatically transmit data to the data warehouse through industrial protocols such as Modbus. Sensor data reflects the operating parameters of the equipment and can be used to monitor the health status of the equipment.
[0134] Furthermore, the sensor data is subjected to noise filtering, and the moving average method is used to filter high-frequency noise. The formula is as follows:
[0135]
[0136] Among them, y i is the filtered data, x i is the original data, and n is the window size. The window size n is usually determined according to the data sampling frequency and noise characteristics.
[0137] Linear interpolation is used to fill missing values in sensor data.
[0138] The formula is as follows:
[0139]
[0140] Among them, x i is the interpolated data, t i is the location of the missing value, t k and t k+1 is the position of the adjacent known data points.
[0141] At the same time, the text data is normalized to standardize texts in different formats into a unified format. Regular expressions are used to extract key information such as device ID, timestamp, status description, etc.
[0142] The data is standardized as follows:
[0143] The sensor data is Z-score standardized and converted to a standard normal distribution with a mean of 0 and a standard deviation of 1. The formula is as follows:
[0144]
[0145] Among them, z i is the standardized data, x i is the original data, μ is the data mean, and σ is the data standard deviation.
[0146] Perform Min-Max normalization on the image data and scale the data range to [0,1]. The formula is as follows:
[0147]
[0148] Among them, x′ is the standardized data, x is the original data, and x min and x max are the minimum and maximum values of the data respectively.
[0149] Finally, data is stored and a unified data table structure is designed, including fields such as data source, timestamp, data type, and value to ensure data accessibility and consistency.
[0150] Example of database table structure:
[0151] id: unique identifier
[0152] source: data source (such as sensor, image, text)
[0153] timestamp: data collection time
[0154] data_type: data type (such as temperature, pressure, image)
[0155] value: data value
[0156] The RPA system automatically writes preprocessed data into the database. Preprocessing includes noise filtering, missing value filling and standardized data, which are then stored in the database according to the designed table structure.
[0157] S2. Extract features from the preprocessed text data, image data, and sensor data and perform feature fusion to obtain a multimodal feature vector.
[0158] In order to effectively fuse different types of data (such as text data, image data, and sensor data) to provide comprehensive equipment status assessment and anomaly detection, this paper proposes a multimodal information fusion method. It is specially designed for the characteristics of hydropower plant business data to ensure that various types of data can complement each other and provide more accurate analysis and decision support.
[0159] Specifically, the Bag-of-Words (BoW) model and TF-IDF (TermFrequency-InverseDocumentFrequency) weighted processing are used to extract text features from operation reports and maintenance records to obtain the text feature vector t i , which is expressed as follows:
[0160] t i =[ti1 tf-idf i1 ,t i2 tf-idf i2 ,…,t im tf-idf im ] (1),
[0161] Among them, t i is the feature vector of the i-th text data, t ij Indicates the frequency of the jth word in the i-th text, tf-idf ij is the TF-IDF weight of the word, and m is the size of the vocabulary.
[0162] Use a convolutional neural network (such as ResNet-50) to extract features from image data and obtain the image feature vector i i :
[0163] i i =[i i1 ,i i2 ,…,i in ] (2),
[0164] Among them, i i is the feature vector of the i-th image, i ij It represents the jth feature extracted from the i-th image, and n is the dimension of the feature vector.
[0165] Wavelet Transform (WT) is used to extract the time series features of sensor data and obtain the sensor feature vector s i :
[0166] s i =[s i1 ,s i2 ,…,s ip ] (3),
[0167] Among them, s i is the feature vector recorded by the ith sensor, s ij represents the jth time-frequency domain feature recorded by the i-th sensor, and p is the dimension of the time-frequency domain feature.
[0168] Furthermore, in order to more effectively combine data from different modalities, the present invention proposes a feature fusion method based on multi-scale adaptive weighting and local correlation analysis. This method not only considers the global weight of each modality, but also uses the correlation of local areas for dynamic adjustment, thereby optimizing the fusion effect, as follows:
[0169] Concatenate the feature vectors of different modes to construct a multimodal feature matrix F i :
[0170] F i =[t i ;i i ;s i ] (4),
[0171] Among them, F i is the multimodal feature matrix of the ith data point, t i is the text feature vector, i i is the image feature vector, s i is the sensor feature vector; represents the concatenation of feature vectors.
[0172] Then, in order to consider the local correlation between different modes in more detail, the present invention divides the feature vector into several sub-regions and calculates the correlation between each sub-region. i ,i i ,s i are the feature vectors of text, image and sensor respectively. The present invention divides them into k sub-regions and calculates the local correlation matrix R ij , local correlation calculation formula:
[0173]
[0174] in, represents the correlation between the kth local regions of the i-th and j-th modes, t i,k and i j,k are the kth sub-regions of the text and image feature vectors, respectively. and are the means of the sub-regions respectively.
[0175] At the same time, based on the multi-scale adaptive weighting method, the weight of each modal feature vector is dynamically adjusted to optimize the fusion effect. Assume that the initial weight vector is w = [w t ,w i ,w s ], corresponding to the global weights of text, image, and sensor features. The weights are dynamically adjusted using the local correlation matrix R:
[0176]
[0177] The adjusted local weight satisfies w′ t,k +w′ i,k +w′ s,k =1.
[0178] In each sub-region, dynamically adjusted local weights are applied for weighted fusion to obtain the weighted fused feature vector
[0179]
[0180] in, is the weighted fusion feature vector of the i-th data point in the k-th sub-region, w′ t,k ,w′ i,k ,w′ s,k are the local weights of text, image and sensor features respectively.
[0181] Furthermore, the fused feature vector f i Min-Max normalization is performed to ensure that the features are within the same scale range.
[0182]
[0183] Among them, f′ ij is the normalized feature, f ij is the original feature, f min and f max are the minimum and maximum values in the eigenvector, respectively.
[0184] Then, construct the final multimodal feature vector M i , used for subsequent equipment status monitoring and analysis.
[0185] M i =f′ i (11)
[0186] Among them, M i is the final multimodal feature vector of the ith data point, f′ i is the normalized fusion feature vector.
[0187] Through the above-mentioned refined steps, the present invention can effectively fuse data of different modalities (text, image and sensor data) to form a unified multimodal feature vector M i This fusion method fully considers the characteristics of hydropower plant data and can provide a more comprehensive and accurate equipment status assessment, providing a reliable data basis for subsequent equipment status monitoring and anomaly detection.
[0188] S3. Based on the multimodal feature vector, the equipment relationship diagram is constructed and the analysis method based on the multi-layer adaptive timing model is used to monitor the status of the hydropower plant equipment and detect anomalies, and the status of the hydropower plant equipment is predicted.
[0189] GNN technology can comprehensively analyze the complex relationships and dependencies between devices, automatically generate and execute maintenance strategies and operation plans through the RPA system, and improve the comprehensiveness and predictive capabilities of equipment status monitoring.
[0190] In order to accurately monitor and analyze the equipment status of a hydropower plant, this paper proposes a status monitoring and analysis method based on equipment relationship diagram and dynamic feature propagation. This method combines the complex relationship and dynamic changes between hydropower plant equipment to ensure that the equipment status can be monitored in a timely and accurate manner, and potential abnormalities can be predicted and warned.
[0191] Specifically, according to the physical connections and dependencies between the hydropower plant equipment, a device relationship diagram is constructed. The device set is ε = {E1, E2, …, E N}, where E i represents the i-th device;
[0192] Define the edge set between devices Each edge (E i ,E i ) indicates device E i and E j There is a direct relationship between them;
[0193] Build a device relationship diagram
[0194] Then the feature vector is initialized: Use the multimodal feature vector M obtained in S2 i As the initial feature vector for each device, let is the initial feature vector of the ith device.
[0195] Furthermore, a new weighted dynamic feature propagation algorithm is used to propagate features on the device relationship graph and update the feature representation of each device. This algorithm combines the connection weights and historical status information between devices to ensure the dynamic adaptability of feature propagation. The feature propagation formula for the lth layer is defined as:
[0196]
[0197] in, represents the feature vector of the ith device at layer l, For device E i The neighbor set of and are the connection weight and historical state weight between devices, respectively, (l) is the weight matrix of the lth layer, and σ is the activation function (such as ReLU).
[0198] In order to more accurately analyze the time series characteristics of hydropower plant equipment, this paper proposes an analysis method based on a multi-layer adaptive time series model. This method uses the multimodal feature vector of the equipment and combines the variational autoencoder (VAE) and the long short-term memory network (LSTM) to achieve deep feature extraction and prediction of time series data.
[0199] Furthermore, for each device at time step t, the feature vector First, the feature vector is input into the encoder part of the variational autoencoder (VAE) to obtain the latent variable z t :
[0200] z t =μ+σ⊙∈ (13),
[0201] in, is the mean, is the standard deviation, is a random noise variable, f μ and f σ They are neural network functions respectively.
[0202] The encoded latent variable z t Input into the LSTM network for time series modeling. The update formula of LSTM is:
[0203]
[0204] Among them, f t ,i t , o t are the activation vectors of the forget gate, input gate, and output gate, respectively, c t is the cell state vector, W f , W i , W c , W o is the weight matrix, b f , b i , b c , b o is the bias vector, σ is the Sigmoid activation function, ⊙ is the element-wise product, h t is the time series feature vector of time step t.
[0205] Use the output h of LSTM t Perform state prediction and define the prediction function f pred for:
[0206]
[0207] in, is the predicted state at time step t, f pred is a fully connected layer.
[0208] Through the above steps, the present invention uses the equipment relationship diagram and dynamic feature propagation algorithm to propagate features, and combines the multi-layer adaptive timing model to analyze timing features, thereby realizing accurate monitoring of equipment status and abnormality detection. This method fully considers the complex relationship and dynamic changes between equipment, can monitor equipment status in a timely and accurate manner, and predict and warn potential abnormalities, providing reliable protection for the safe operation of hydropower plants.
[0209] S4. Build a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and generate global optimization suggestions and operation instructions by automatically processing the analysis results.
[0210] Specifically, in order to realize the data collaborative analysis between various sites of the hydropower plant, the present invention proposes a method based on physical model and statistical analysis. This method is specially designed for the characteristics of multi-site data of hydropower plants, ensuring that the data of different sites can be effectively integrated, comprehensive collaborative analysis can be carried out, and the safety and reliability of the overall operation can be improved.
[0211] Specifically, S41 performs cross-site data integration:
[0212] Normalize the data from different sites to ensure that the data are analyzed on the same scale. Use the Z-score normalization method:
[0213]
[0214] Among them, z ij is the standardized data, x ij is the original data, μ j is the mean of the data, σ j is the standard deviation of the data, i is the data sample, and j is the feature dimension.
[0215] Align the data of different sites on the time axis. Suppose the data of site A and site B are X A (t) and X B (t), the aligned data is expressed as X(t):
[0216] X(t) = {X A (t),X B (t)} (17),
[0217] Among them, X(t) is the aligned dataset, which contains the data of site A and site B at time step t.
[0218] S42. Calculate cross-site correlation analysis:
[0219] Calculate the correlation between each site, and use the Pearson correlation coefficient to measure the linear correlation of the data of two sites. Suppose the feature vectors of site A and site B are X A and X B , correlation coefficient r AB The calculation formula is:
[0220]
[0221] Among them, X A,i and X B,i are the data of site A and site B at time step i, and is the mean of the data at each site, and n is the number of data samples.
[0222] Furthermore, the mutual information between each site is calculated to measure the nonlinear correlation of the data of two sites. Assume that the joint probability distribution of site A and site B is P(A, B), and the marginal probability distributions are P(A) and P(B) respectively. The mutual information I(A; B) is calculated as:
[0223]
[0224] Where a and b are the values of site A and site B, P(a,b) is the joint probability, and P(a) and P(b) are the marginal probabilities.
[0225] S43, physical model establishment:
[0226] A physical model based on energy balance is established, taking into account the energy input, output and storage of each site. Assume that the energy input of site i is E in,i (t), the energy output is E out,i (t), energy storage is E s,i (t), the energy balance equation is:
[0227] E in,i (t) = E out,i (t)+ΔE s,i (t) (20),
[0228] Where, ΔE s,i (t) is the change in energy storage in time step t.
[0229] A water flow balance model is established, taking into account the water inflow, water outflow and water storage of each station. Assume that the water inflow of station i is Q in,i (t), the water output is Q out,i (t), the water storage capacity is Q s,i (t), the water balance equation is:
[0230] Q in,i (t) = Qout,i (t)+ΔQ s,i (t) (21),
[0231] Among them, ΔQ s,i (t) is the change in water storage capacity in time step t.
[0232] S44. Perform cross-site data fusion:
[0233] Perform weighted average fusion on the data across sites. Suppose the feature vectors of site a and site B are X A and X B , the fused feature vector X AB The calculation formula is:
[0234] X AB =w A X A +w B X B (twenty two),
[0235] Among them, w A and w B is the weight coefficient of site A and site B, satisfying w A +w B =1.
[0236] The principal component analysis (PCA) method is used to reduce the dimension of the fused data and extract the main features. Let the fused data matrix be X, and the calculation formula of PCA is:
[0237] X′=XW (23)
[0238] Among them, X′ is the data matrix after dimensionality reduction, and W is the eigenvector matrix, indicating the direction of the principal component.
[0239] S45. Collaborative analysis and decision-making:
[0240] Use cross-site fusion data for collaborative fault diagnosis to detect potential equipment failures. Suppose the diagnosis model is f diag , the fault indicator is y diag , the calculation formula is:
[0241] y diag =f diag (X′) (24),
[0242] Among them, X′ is the feature vector after dimensionality reduction, f diag is the fault diagnosis model, y diag A fault indicator.
[0243] In order to enhance the complexity of the model, the present invention further introduces high-order feature interaction terms and nonlinear transformations to capture complex fault modes. Assuming the high-order feature interaction term is X″, the calculation formula of the fault diagnosis model is expanded to:
[0244]
[0245] Where φ is a nonlinear feature transformation function, such as polynomial transformation or kernel method, and X″ is the transformed high-order feature vector.
[0246] Based on the collaborative analysis results, the optimal scheduling decision is made to adjust the operating parameters of each site. Suppose the operating parameters of site i are u i , the optimization objective function is J, and the mathematical expression of the optimization problem is:
[0247]
[0248] Among them, J is the overall optimization objective function, C i (u i ) is the operating cost function of site i, g i (u i ) is the operation constraint of site i, u i is the operating parameter of site i, and N is the total number of sites.
[0249] In order to increase the complexity of the optimization model, we consider introducing multi-objective optimization and dynamic constraints. Let the multi-objective optimization function be J, which includes two objectives: operating cost and emission control, and the dynamic constraint be h i (u i ,t), then the mathematical expression of the optimization problem is:
[0250]
[0251] Among them, E i (u i ) is the emission control function of site i, α and β are the weight coefficients of cost and emission respectively, h i (u i ,t) is the dynamic constraint condition at time t.
[0252] In addition, in order to consider the robustness of the decision, the uncertainty factor δ is introduced i , the optimization problem is further expanded into a robust optimization model:
[0253]
[0254] Where Δ is the uncertainty factor δ i The value range of .
[0255] Through the above steps, the present invention can realize the collaborative analysis of data among the various sites of the hydropower plant, use physical models and statistical methods to comprehensively analyze and optimize the cross-site data, and improve the safety and reliability of the overall operation of the hydropower plant.
[0256] S5. Use self-supervised learning technology to build a detection model to cover abnormal situations, and use the RPA system to achieve 24 / 7 automatic monitoring and exception handling.
[0257] Specifically, the multidimensional feature vector F is extracted from the collaborative analysis result in step S4. i , used for anomaly detection. Let F i is the feature vector of the i-th time step.
[0258] F i =[f i1 ,f i2 ,…,f in ] (29),
[0259] Among them, f ij It represents the jth feature at the i-th time step, and n is the feature dimension.
[0260] Furthermore, a composite algorithm of multiple detection technologies is used to comprehensively judge whether the equipment status is abnormal. Suppose the detection result of the composite detection algorithm is D i , consisting of multiple detection sub-models d k Overall decision:
[0261]
[0262] Among them, K is the number of detection sub-models, w k is the weight of the kth sub-model, d k (F i ) is the feature vector F of the kth sub-model i The test results.
[0263] Specifically, in order to improve the accuracy and robustness of anomaly detection, self-supervised learning technology is used to build a detection model. The self-supervised learning method uses the structural information of the data itself to generate labels for feature learning and anomaly detection. The sub-model design is as follows:
[0264] A. Generative Contrastive Learning Model:
[0265] The anomaly detection model based on generative contrastive learning is trained by constructing positive and negative sample pairs. Let the feature vector be F i , the positive sample is Negative samples are The generation formula is:
[0266]
[0267] Among them, augment is a data enhancement operation, and shuffle is a random shuffle operation.
[0268] Define the contrastive loss function (ContrastiveLoss) to train the contrastive learning model. The loss function formula is:
[0269]
[0270] Among them, d(F i ,F j ) is the Euclidean distance measure between feature vectors, and m is the marginal value. The Euclidean distance measure formula is:
[0271]
[0272] B. Anomaly Detection Model:
[0273] Based on the feature representation trained by self-supervised learning, an anomaly detection model is constructed. Let the detection model be d s , the test result is y s :
[0274] y s =d s (F i ) (34),
[0275] Among them, d s is the anomaly detection model, y s The detection model is trained based on the representation of self-supervised feature learning and combined with support vector machine (SVM) for classification:
[0276] y s =sign(w·F i +b) (35),
[0277] Among them, w is the weight vector, b is the bias, and sign represents the sign function, which is used to return the sign of the input. That is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0.
[0278] C. Multimodal Self-Supervised Model:
[0279] Combine multimodal data and use self-supervised learning for anomaly detection. Let the multimodal feature vector be M i , the self-supervised model is d m , and its detection result is y m :
[0280]
[0281] Among them, M i is a multimodal feature vector, including text features t i , image feature i i and sensor characteristics i , d m It is a multimodal self-supervised model.
[0282] D. Temporal self-supervised learning model:
[0283] The time series self-supervised learning method is used to achieve anomaly detection by predicting the feature vector of the next time step. Let the feature vector of the current time step be F i , the predicted feature vector for the next time step is The prediction model is d t , and its loss function is:
[0284]
[0285] in, Prediction Model t Based on LSTM (Long Short-Term Memory Network):
[0286]
[0287] Among them, h i The current hidden state.
[0288] E. Frequency domain self-supervised learning model:
[0289] Based on the self-supervised learning model of frequency domain analysis, the frequency domain features are extracted by Fourier transform for anomaly detection. Assume that the frequency domain feature vector is The self-supervised learning model is d f , and its detection result is y f :
[0290]
[0291] in, is the Fourier transform operation, is the frequency domain feature vector, detection model d f Combining frequency domain features and spatial features for anomaly detection.
[0292] Through the above self-supervised learning scheme, the present invention uses the structural information of the data itself to generate labels, perform feature learning and anomaly detection, and ensure that the anomaly detection model has high robustness and accuracy.
[0293] Furthermore, the detection results of each sub-model are combined to obtain the final abnormality judgment result. Let the comprehensive detection result be D i :
[0294]
[0295] Among them, w k is the weight of the sub-model, d k (F i ) is the detection result of the kth sub-model. If D i If it exceeds the set threshold value θ, it is judged as abnormal:
[0296]
[0297] Among them, A i is the abnormal judgment result, and θ is the abnormal threshold of comprehensive detection.
[0298] Preferably, the warning mechanism is triggered based on the detection result, and the warning level is adjusted adaptively. i , the warning level is L i :
[0299] W i =A i ·L i (42),
[0300] Among them, L i The warning level is adaptively adjusted based on the historical data of the detection results and the current situation. The warning level can be adjusted according to the frequency and severity of the anomaly detection. For example, for frequently occurring anomalies, the warning level can be increased; for rare but serious anomalies, the highest level warning can be directly triggered.
[0301] According to the early warning signal, the corresponding response measures are triggered. Let the response measure set be {R j}, corresponding to different warning levels:
[0302] R j =Response(W i ) (43),
[0303] Among them, R j is the response measure for the jth level warning, W i It is the current warning signal. Response measures may include notifying operation and maintenance personnel, automatically adjusting equipment operating parameters, starting backup equipment, etc.
[0304] The RPA business processing method based on artificial intelligence provided by the above embodiment of the present invention is shown in Figure 2 , an embodiment of the present invention further provides a structural block diagram of an RPA business processing system based on artificial intelligence, the system comprising:
[0305] The data acquisition module 501 is used to collect text data of hydropower plant equipment and control the camera to collect image data using the RPA system, collect sensor data using the sensor-based data acquisition module, and pre-process the text data, image data and sensor data, and write the pre-processed text data, image data and sensor data into the database through the RPA system;
[0306] A feature fusion module 502 is used to extract features from the preprocessed text data, image data and sensor data and perform feature fusion to obtain a multimodal feature vector;
[0307] The state prediction module 503 is used to construct a device relationship diagram based on the multi-modal feature vector and an analysis method based on the multi-layer adaptive time series model to monitor the state of the hydropower plant equipment and detect anomalies, and predict the state of the hydropower plant equipment;
[0308] The cross-site data integration module 504 is used to build a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and to generate global optimization suggestions and operation instructions by automatically processing the analysis results; wherein the target optimization function of the cross-site data collaborative analysis model is expressed as follows:
[0309]
[0310] Among them, J represents the overall optimization objective function, C i (u i ) represents the operating cost function of site i, g i (u i ) represents the operating constraints of site i, u i represents the operating parameters of site i, N represents the total number of sites, α and β are the weight coefficients of cost and emission respectively, E i (u i ) represents the emission control function of site i, h i (u i ,t) represents the dynamic constraint condition at time t, Δ represents the uncertainty factor δ i The value range of
[0311] The detection model building module 505 is used to build a detection model using self-supervised learning technology to cover abnormal situations and realize all-weather automatic monitoring and abnormality handling through the RPA system;
[0312] The detection model includes a generative contrast learning sub-model, an anomaly detection sub-model, a multimodal self-supervised learning sub-model, a temporal self-supervised learning sub-model and a frequency domain self-supervised learning sub-model;
[0313] The contrastive learning sub-model is trained by constructing positive and negative sample pairs, assuming that the feature vector is F i , the positive sample is Negative samples are The generation formula of the contrastive learning model is:
[0314]
[0315] Among them, augment represents the data enhancement operation, and shuffle represents the random shuffle operation.
[0316] Define the contrast loss function L, which is used to train the contrastive learning model. The loss function L formula is as follows:
[0317]
[0318] Among them, d(F i ,F j ) represents the Euclidean distance metric between feature vectors, m represents the boundary value, represents the Euclidean distance measure between the feature vector and the positive sample, Represents the Euclidean distance metric between the feature vector and the negative sample;
[0319] The anomaly detection submodel, assuming that the anomaly detection model is d s , the test result is y s , which is expressed as follows:
[0320] y s =d s (F i ),
[0321] Among them, d s represents the anomaly detection model, y s Represents the detection results, anomaly detection model d s The training is based on the representation of self-supervised feature learning and combined with support vector machine for classification, which is expressed as follows:
[0322] y s =sign(w·F i +b),
[0323] Among them, w represents the weight vector, b represents the bias, and sign represents the sign function, which is used to return the sign of the input. That is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0;
[0324] The multimodal self-supervised sub-model combines multimodal data and uses self-supervised learning to perform anomaly detection. Let the multimodal feature vector be M i , the self-supervised model is d m, the detection result of the multimodal self-supervised model is y m , which is expressed as follows:
[0325]
[0326] Among them, M i Represents a multimodal feature vector, including text features t i , image feature i i and sensor characteristics i ;d m represents a multimodal self-supervised model;
[0327] The time series self-supervised learning sub-model adopts the time series self-supervised learning method to achieve anomaly detection by predicting the feature vector of the next time step. Suppose the feature vector of the current time step is F i , the predicted feature vector for the next time step is The prediction model is d t , the loss function L of the temporal self-supervised learning model t is, which is expressed as follows:
[0328]
[0329] in, F i+1 Represents the feature vector of the actual next time step, the prediction model d t Based on LSTM implementation, it is expressed as follows:
[0330]
[0331] Among them, h i Indicates the current hidden state;
[0332] The frequency domain self-supervised learning sub-model extracts frequency domain features through Fourier transform for anomaly detection. Suppose the frequency domain feature vector is The frequency domain self-supervised learning model is d f , the detection result of the frequency domain self-supervised learning model is y f , which is expressed as follows:
[0333]
[0334] in, represents the Fourier transform operation, Represents the frequency domain feature vector, the frequency domain self-supervised learning model d f Combining frequency domain features and spatial features for anomaly detection.
[0335] In summary, the present invention uses a composite detection algorithm and an adaptive early warning mechanism to perform abnormal detection and early warning on the status of hydropower plant equipment, achieving efficient fault detection and early warning management to ensure the safe operation of the equipment. Specifically, through the combination of multi-dimensional feature extraction and multiple detection technologies, the system can more comprehensively and accurately identify potential equipment failures, and respond in a timely manner through an adaptive early warning mechanism to avoid the expansion of failures, thereby improving the overall operational reliability and safety of the hydropower plant.
[0336] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0337] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the parameter operation method provided in any embodiment of the present invention, and will not be repeated here.
[0338] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0339] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0340] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0341] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An artificial intelligence-based RPA business processing method, characterized in that: The method comprises: S1. Use the RPA system to collect text data from hydropower plant equipment and control the camera to collect image data. Use the sensor-based data acquisition module to collect sensor data, and pre-process the text data, image data, and sensor data. Write the pre-processed text data, image data, and sensor data into the database through the RPA system. S2, extracting features from the preprocessed text data, image data, and sensor data and performing feature fusion to obtain a multimodal feature vector; S3, constructing a device relationship diagram based on multimodal feature vectors and an analysis method based on a multi-layer adaptive time series model to monitor the status of hydropower plant equipment and detect anomalies, and predict the status of hydropower plant equipment; S4. Construct a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and generate global optimization suggestions and operation instructions by automatically processing the analysis results; wherein the target optimization function of the cross-site data collaborative analysis model is expressed as follows: , in, represents the overall optimization objective function, Indicates the site The operating cost function is Indicates the site The operating constraints of Indicates the site The operating parameters of Indicates the total number of sites, and are the weight coefficients of cost and emission respectively, Indicates the site The emission control function, Indicates time The dynamic constraints on Indicates uncertainty factors The value range of S5. Use self-supervised learning technology to build a detection model to cover abnormal situations, and use the RPA system to achieve 24 / 7 automatic monitoring and exception handling; The detection model includes a generative contrast learning sub-model, an anomaly detection sub-model, a multimodal self-supervised learning sub-model, a temporal self-supervised learning sub-model and a frequency domain self-supervised learning sub-model; The contrastive learning sub-model is trained by constructing positive and negative sample pairs. Let the feature vector be , the positive sample is , the negative sample is , the generation formula of the contrastive learning model is: , in, represents the data enhancement operation, Indicates random shuffle operation; Defining the contrastive loss function , used to train the generative contrastive learning model, the loss function The formula is as follows: , in, represents the Euclidean distance metric between feature vectors, represents the boundary value, represents the Euclidean distance measure between the feature vector and the positive sample, Represents the Euclidean distance metric between the feature vector and the negative sample; The anomaly detection sub-model, assuming that the anomaly detection model is The test results are , which is expressed as follows: , in, represents anomaly detection model, Represents the detection results, anomaly detection model The training is based on the representation of self-supervised feature learning and combined with support vector machine for classification, which is expressed as follows: , in, represents the weight vector, represents bias, sign represents the sign function, which is used to return the sign of the input; that is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0; The multimodal self-supervised sub-model combines multimodal data and uses self-supervised learning to perform anomaly detection. Suppose the multimodal feature vector is , the self-supervised model is , the detection result of the multimodal self-supervised model is , which is expressed as follows: , in, Represents a multimodal feature vector, including text features , Image features and sensor characteristics ; represents a multimodal self-supervised model; The time series self-supervised learning sub-model adopts the time series self-supervised learning method to achieve anomaly detection by predicting the feature vector of the next time step. Suppose the feature vector of the current time step is , the predicted feature vector for the next time step is , the prediction model is , the loss function of the temporal self-supervised learning model is is, which is expressed as follows: , in, , The feature vector representing the actual next time step, the prediction model Based on LSTM implementation, it is expressed as follows: , in, Indicates the current hidden state; The frequency domain self-supervised learning sub-model extracts frequency domain features through Fourier transform for anomaly detection. Suppose the frequency domain feature vector is , the frequency domain self-supervised learning model is , the detection result of the frequency domain self-supervised learning model is , which is expressed as follows: , in, represents the Fourier transform operation, Represents the frequency domain feature vector, frequency domain self-supervised learning model Combining frequency domain features and spatial features for anomaly detection.
2. According to claim 1, the RPA business processing method based on artificial intelligence is characterized in that: The preprocessing includes data cleaning and data standardization.
3. According to claim 1, the RPA business processing method based on artificial intelligence is characterized in that: The text feature extraction uses a bag-of-words model and TF-IDF weighted processing to extract text features from operation reports and maintenance records to obtain text feature vectors; the image feature uses a convolutional neural network to extract features from image data to obtain image feature vectors; the sensor feature uses a wavelet transform to extract time series features from sensor data to obtain sensor feature vectors.
4. The RPA business processing method based on artificial intelligence according to claim 3 is characterized in that: The text features, image features and sensor features are weightedly fused, including: Divide the feature vector into several sub-regions and calculate the correlation between each sub-region. They are text feature vector, image feature vector and sensor feature vector, respectively. sub-regions, calculate the local correlation matrix , which is expressed as follows: , in, represents the correlation between the jth local regions of the i-th and j-th modes, and denote the kth sub-region of the text and image feature vectors respectively, and are the means of the sub-regions respectively; Assume the initial weight vector is , corresponding to the global weights of text features, image features, and sensor features, using the local correlation matrix Dynamically adjust the weight, as follows: , , , Among them, the adjusted local weights satisfy ; In each sub-region, dynamically adjusted local weights are applied for weighted fusion to obtain the weighted fusion feature vector , which is expressed as follows: , in, It is The data point in The weighted fusion feature vector in each sub-region, are the local weights of text features, image features and sensor features respectively, , , Respectively represent The text feature vector, image feature vector and sensor feature vector in each sub-region.
5. The RPA business processing method based on artificial intelligence according to claim 1 is characterized in that: The multimodal feature vector constructs a device relationship diagram, which is represented as follows: According to the physical connection and dependency between the hydropower plant equipment, the equipment relationship diagram is constructed; the equipment set is ,in Indicates Devices; Define the edge set between devices , where each edge Indicates the device and There is a direct relationship between them; Build a device relationship diagram ; The device relationship graph uses a multimodal feature vector as the initial feature vector of each device, and uses a new weighted dynamic feature propagation algorithm to propagate features on the device relationship graph to update the feature representation of each device; wherein the new weighted dynamic feature propagation algorithm defines the first The feature propagation formula of the layer is: , in, Indicates The device in The feature vector of the layer, Indicates the device The neighbor set of and Respectively represent the connection weight and historical state weight between devices, Indicates The weight matrix of the layer, represents the activation function, j represents, Indicates The device in -1 feature vector of the layer.
6. The RPA business processing method based on artificial intelligence according to claim 5 is characterized in that: The analysis method based on the multi-layer adaptive timing model specifically includes: The feature vector Input into the encoder part of the variational autoencoder to obtain the hidden variable : , in, represents the mean, represents the standard deviation, represents a random noise variable, and They represent neural network functions respectively; The encoded latent variables The input is input into the LSTM network for time series modeling. The update formula of the LSTM network is expressed as follows: , in, , , Represent the activation vectors of the forget gate, input gate, and output gate respectively, represents the cell state vector, , , , represents the weight matrix, , , , represents the bias vector, represents the Sigmoid activation function, represents the element-wise product, Represents the time step The time series feature vector of Using the output of the LSTM network Perform state prediction and define prediction function , calculated as follows: , in, Represents the time step The predicted state of represents a fully connected layer.
7. The RPA business processing method based on artificial intelligence according to claim 1 is characterized in that: The S4 specifically includes: S41, standardize and align data from different sites; S42, using the Pearson correlation coefficient to calculate the linear correlation of the data of the two sites, and at the same time calculating the mutual information between the sites to measure the nonlinear correlation of the data of the two sites; S43, constructing a physical model; S44, performing weighted average fusion on the data across sites, and then using the principal component analysis method to reduce the dimension of the fused data; S45. Use cross-site fusion data for collaborative fault diagnosis to detect potential equipment failures. At the same time, optimize scheduling decisions based on collaborative analysis results and adjust the operating parameters of each site.
8. The RPA business processing method based on artificial intelligence according to claim 7 is characterized in that: The physical model includes a hydropower plant energy balance model and a water flow balance model; The energy balance model of the hydropower plant is constructed as follows: Set up site The energy input is , the energy output is , energy storage is , the energy balance equation is expressed as follows: , in, Represents the time step Changes in internal energy storage; The water flow balance model is constructed as follows: Set up site The water intake is , the water output is , water storage capacity is , the water balance equation is expressed as follows: , in, Represents the time step Change in internal water storage capacity.
9. The RPA business processing method based on artificial intelligence according to claim 1, characterized in that: The detection results of each sub-model are combined to obtain the final abnormality judgment result: Assume that the comprehensive test result is : , in, represents the weight of the sub-model, Indicates The test results of the sub-models; if Exceeding the set threshold , it is considered abnormal: , in, Indicates abnormal judgment results. Indicates the anomaly threshold for comprehensive detection.
10. An artificial intelligence-based RPA business processing system, characterized in that: The system comprises: The data acquisition module is used to use the RPA system to collect text data from hydropower plant equipment and control the camera to collect image data, use the sensor-based data acquisition module to collect sensor data, and pre-process the text data, image data, and sensor data, and write the pre-processed text data, image data, and sensor data into the database through the RPA system; A feature fusion module is used to extract features from the preprocessed text data, image data and sensor data and perform feature fusion to obtain a multimodal feature vector; The state prediction module is used to build a device relationship diagram based on multi-modal feature vectors and an analysis method based on a multi-layer adaptive time series model to monitor the state of the hydropower plant equipment and detect anomalies, and predict the state of the hydropower plant equipment; The cross-site data integration module is used to build a cross-site data collaborative analysis model based on federated learning to integrate data from different sites, and to generate global optimization suggestions and operation instructions by automatically processing the analysis results; wherein the target optimization function of the cross-site data collaborative analysis model is expressed as follows: , in, represents the overall optimization objective function, Indicates the site The operating cost function is Indicates the site The operating constraints of Indicates the site The operating parameters of Indicates the total number of sites, and are the weight coefficients of cost and emission respectively, Indicates the site The emission control function, Indicates time The dynamic constraints on Indicates uncertainty factors The value range of The detection model building module is used to build detection models using self-supervised learning technology to cover abnormal situations and achieve 24 / 7 automatic monitoring and exception handling through the RPA system; The detection model includes a generative contrast learning sub-model, an anomaly detection sub-model, a multimodal self-supervised learning sub-model, a temporal self-supervised learning sub-model and a frequency domain self-supervised learning sub-model; The contrastive learning sub-model is trained by constructing positive and negative sample pairs. Let the feature vector be , the positive sample is , the negative sample is , the generation formula of the contrastive learning model is: , in, represents the data enhancement operation, Indicates random shuffle operation; Defining the contrastive loss function , used to train the generative contrastive learning model, the loss function The formula is as follows: , in, represents the Euclidean distance metric between feature vectors, represents the boundary value, represents the Euclidean distance measure between the feature vector and the positive sample, Represents the Euclidean distance metric between the feature vector and the negative sample; The anomaly detection sub-model, assuming that the anomaly detection model is The test results are , which is expressed as follows: , in, represents anomaly detection model, Represents the detection results, anomaly detection model The training is based on the representation of self-supervised feature learning and combined with support vector machine for classification, which is expressed as follows: , in, represents the weight vector, represents bias, sign represents the sign function, which is used to return the sign of the input; that is, if the input is greater than 0, it returns 1; if the input is less than 0, it returns -1; if the input is equal to 0, it returns 0; The multimodal self-supervised sub-model combines multimodal data and uses self-supervised learning to perform anomaly detection. Suppose the multimodal feature vector is , the self-supervised model is , the detection result of the multimodal self-supervised model is , which is expressed as follows: , in, Represents a multimodal feature vector, including text features , Image features and sensor characteristics ; represents a multimodal self-supervised model; The time series self-supervised learning sub-model adopts the time series self-supervised learning method to achieve anomaly detection by predicting the feature vector of the next time step. Suppose the feature vector of the current time step is , the predicted feature vector for the next time step is , the prediction model is , the loss function of the temporal self-supervised learning model is is, which is expressed as follows: , in, , The feature vector representing the actual next time step, the prediction model Based on LSTM implementation, it is expressed as follows: , in, Indicates the current hidden state; The frequency domain self-supervised learning sub-model extracts frequency domain features through Fourier transform for anomaly detection. Suppose the frequency domain feature vector is , the frequency domain self-supervised learning model is , the detection result of the frequency domain self-supervised learning model is , which is expressed as follows: , in, represents the Fourier transform operation, Represents the frequency domain feature vector, frequency domain self-supervised learning model Combining frequency domain features and spatial features for anomaly detection.
Citation Information
Patent Citations
Cross-modal contrast learning method and system for RGB-D image dense prediction task
CN116434033A
Cross-modal image-text retrieval method based on multi-level semantic alignment
CN116821391A
Electromechanical equipment detection system, method and equipment based on fusion model
CN117036732A
Thermal power station real-time early warning system based on multi-modal fusion
CN117879168A
Large die forging press fault early warning method based on fusion model
CN118051877A
Cited By
Multi-modal large model federation training platform and heterogeneous data alignment algorithm
CN120105464A
Multimodal Large Model Federal Training Middle Platform and Heterogeneous Data Alignment Method
CN120105464B
Robot process automation method based on deep learning
CN120145005A
A deep learning based robotic process automation method
CN120145005B
Electric power work order intelligent processing method with RPA fused with multi-mode large model
CN120563072A
