Electrical equipment automatic control system and method based on artificial intelligence technology
Through the electrical equipment automatic control system based on artificial intelligence technology, the pressure, temperature and humidity data of the ship's power equipment are extracted and analyzed, the equipment parameter correlation feature map is generated, the abnormal status of the equipment is judged and automatic control is realized, solving the problems of electrical equipment in the existing technology. The problem of insufficient operation quality and power supply stability has been improved, and navigation safety has been improved.
Patent Information
- Application Number
- CN202410459962.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing automatic control system for ship electrical equipment is difficult to effectively monitor and control the operating status of power equipment, resulting in insufficient operation quality and power supply stability, affecting navigation safety.
An electrical equipment automatic control system based on artificial intelligence technology is used to extract and analyze the pressure, temperature and humidity data of ship power equipment through the electrical equipment data acquisition module, data processing module, data fusion module and data analysis module, and generate equipment parameter correlation features. Figure, and use the classifier to determine whether the equipment is in an abnormal state to achieve automatic control.
It improves the operation quality and power supply stability of ship electrical equipment, enhances the ability to monitor and predict equipment abnormalities, and ensures navigation safety.
Smart Images

Figure CN118534772A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and more specifically, to an automatic control system and method for electrical equipment based on artificial intelligence technology. Background Art
[0002] With the continuous development and application of artificial intelligence technology, the shipbuilding industry has gradually realized its potential and advantages in the design of automatic control systems for ship electrical equipment. The optimization of the design of automatic control systems for ship electrical equipment can not only improve the automation level of ships, but also effectively improve the safety and operational efficiency of ships. Therefore, the application of artificial intelligence technology in the design of automatic control systems for ship electrical equipment has become a hot topic and focus of current research.
[0003] Ship electrical equipment is a key part of the ship power system. In order to ensure that the ship power system provides reliable and safe power supply for ship navigation, it is necessary to reasonably control the electrical equipment, improve the operation quality of the electrical equipment, and the stability of power supply. Accurate control of electrical equipment can provide guarantee for the safety of ship navigation. To this end, it is very important to design an automatic control system for ship electrical equipment. Artificial intelligence technology can use machine automation to replace manual labor and reduce the work intensity of staff. Applying artificial intelligence technology in the automatic control system of electrical equipment can accurately analyze the operation information of electrical equipment, reasonably and automatically control electrical equipment, and improve the operation quality of electrical equipment.
[0004] Therefore, an automatic control system and method for electrical equipment based on artificial intelligence technology is desired. Summary of the invention
[0005] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides an electrical equipment automatic control system and method based on artificial intelligence technology, which uses artificial intelligence technology to automatically monitor and control ship power equipment to improve its operation quality and power supply stability.
[0006] Accordingly, according to one aspect of the present application, there is provided an automatic control system for electrical equipment based on artificial intelligence technology, which includes:
[0007] An electrical equipment data acquisition module is used to extract pressure values, temperature values and humidity values of the ship's electrical equipment at multiple predetermined time points including the current time point;
[0008] An electrical equipment data processing module, used to extract a pressure feature vector, a temperature feature vector and a humidity feature vector from the pressure values, temperature values and humidity values of the ship electrical equipment at the plurality of predetermined time points, respectively;
[0009] an electrical equipment data fusion module, used for fusing the pressure feature vector, the temperature feature vector and the humidity feature vector to obtain a ship electrical equipment parameter association feature map, and performing unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map;
[0010] The electrical equipment data analysis module is used to pass the optimized ship electrical equipment parameter association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
[0011] According to another aspect of the present application, there is provided an automatic control method for electrical equipment based on artificial intelligence technology, which includes:
[0012] Extracting pressure values, temperature values and humidity values of the ship power equipment at multiple predetermined time points including the current time point from the ship power equipment;
[0013] Extracting a pressure feature vector, a temperature feature vector and a humidity feature vector from the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points, respectively;
[0014] The pressure feature vector, the temperature feature vector and the humidity feature vector are integrated to obtain a ship electrical equipment parameter association feature map, and the ship electrical equipment parameter association feature map is averaged based on the unit activation of the feature representation to obtain an optimized ship electrical equipment parameter association feature map;
[0015] The optimized ship electrical equipment parameter association feature map is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
[0016] Compared with the prior art, the present application provides an electrical equipment automatic control system and method based on artificial intelligence technology, which utilizes artificial intelligence technology to collect and analyze the pressure, temperature and humidity information of ship electrical equipment, and determines whether the equipment is in an abnormal working state through feature extraction and classification, and automatically controls the switching state of the equipment, thereby improving the operating quality and power supply stability of ship electrical equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 It is a block diagram of an automatic control system of electrical equipment based on artificial intelligence technology according to an embodiment of the present application.
[0019] Figure 2 It is a block diagram of an electrical equipment data processing module in an electrical equipment automatic control system based on artificial intelligence technology according to an embodiment of the present application.
[0020] Figure 3 It is a block diagram of a vector input unit in an automatic control system of electrical equipment based on artificial intelligence technology according to an embodiment of the present application.
[0021] Figure 4 The present invention is a flowchart of an automatic control method of electrical equipment based on artificial intelligence technology according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0023] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0024] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0026] Figure 1 The figure shows a block diagram of an electrical equipment automatic control system based on artificial intelligence technology according to an embodiment of the present application. Figure 1As shown, according to the embodiment of the present application, the electrical equipment automatic control system 100 based on artificial intelligence technology includes: an electrical equipment data acquisition module 110, which is used to extract the pressure value, temperature value and humidity value of the ship electrical equipment at multiple predetermined time points including the current time point in the ship electrical equipment; an electrical equipment data processing module 120, which is used to extract the pressure feature vector, temperature feature vector and humidity feature vector from the pressure value, temperature value and humidity value of the ship electrical equipment at the multiple predetermined time points respectively; an electrical equipment data fusion module 130, which is used to fuse the pressure feature vector, the temperature feature vector and the humidity feature vector to obtain a ship electrical equipment parameter association feature map, and perform unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map; an electrical equipment data analysis module 140, which is used to pass the optimized ship electrical equipment parameter association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
[0027] In an embodiment of the present application, the electrical equipment data acquisition module 110 is used to extract the pressure value, temperature value and humidity value of the ship power equipment at multiple predetermined time points including the current time point in the ship power equipment. It should be understood that by collecting data at multiple time points, data analysis and trend prediction can be performed to better understand the operating status and change trend of the ship power equipment. Comparing data at different time points can more easily detect abnormal conditions, such as sudden pressure increases or abnormal temperature fluctuations, which helps to identify equipment failures or abnormal conditions in a timely manner. By analyzing historical data, the mode and law of equipment operation can be established, and then the possible failure of the equipment or the time when maintenance is required can be predicted, thereby improving the reliability and stability of the system. Comprehensively using data from multiple time points for analysis and comparison can help to gain a deeper understanding of the equipment operation, find problems in a timely manner and take effective measures, thereby improving the operating efficiency and reliability of the system.
[0028] In an embodiment of the present application, the electrical equipment data processing module 120 is used to extract pressure feature vectors, temperature feature vectors and humidity feature vectors from the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points. It should be understood that converting data into the form of feature vectors helps to reduce the data dimension, thereby better representing the characteristics of the data. By extracting feature vectors, the original data can be converted into a more representative and easy-to-process form, which is conducive to subsequent analysis and modeling. For data at multiple time points, extracting feature vectors helps to convert time series data into a static feature representation, making the data easier to process and analyze. Feature vectors can capture the key features of data and help identify patterns, perform classification or prediction tasks. In many machine learning and data analysis tasks, feature vectors are usually used as input to the model. By extracting pressure feature vectors, temperature feature vectors and humidity feature vectors, input data can be provided for subsequent model construction, thereby realizing tasks such as monitoring of equipment status, anomaly detection or prediction. The extraction of feature vectors can help with data analysis and visualization, and better understand the relationship and trend between data. By analyzing feature vectors, patterns, correlations and anomalies between data can be discovered, providing stronger support for decision-making.
[0029] Specifically, in one embodiment of the present application, Figure 2 The figure shows a block diagram of an electrical equipment data processing module in an electrical equipment automatic control system based on artificial intelligence technology according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned electrical equipment automatic control system 100 based on artificial intelligence technology, the electrical equipment data processing module 120 includes: a vector input unit 121, used to arrange the pressure values, temperature values and humidity values of the ship power equipment at the multiple predetermined time points as input vectors respectively; a context encoding unit 122, used to pass the input vector through a context-based encoder to obtain a pressure feature vector, a temperature feature vector and a humidity feature vector.
[0030] Accordingly, in a specific example of the present application, the vector input unit 121 is used to arrange the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points as input vectors, respectively. It should be understood that the pressure, temperature and humidity data of the ship power equipment are usually sequence data collected in chronological order. Arranging these data into vectors at time points can retain the time sequence information of the data, which is conducive to time series analysis, prediction and modeling of the data. Arranging the data into vector form helps to extract features. By combining data at different time points into vectors, the correlation and pattern between the data can be captured, and richer feature information can be extracted to better represent the data. In many machine learning and data analysis tasks, the model usually accepts input in the form of vectors. After arranging the data at multiple time points into vectors, it can be directly used as the input of the model for subsequent training and prediction. Arranging the data into vector form can simplify the processing and management of the data. Data in vector form is easier to store, transmit and process, which is conducive to improving data processing efficiency and system performance. By arranging the data at multiple time points into vectors, the contextual information between the data can be better retained. This helps the system better understand the changing trend and correlation of the data and improve the accuracy of data processing and analysis.
[0031] further, Figure 3 The figure shows a block diagram of a vector input unit in an electrical equipment automatic control system based on artificial intelligence technology according to an embodiment of the present application. Figure 3 As shown, in the electrical equipment data processing module 120 of the above-mentioned electrical equipment automatic control system 100 based on artificial intelligence technology, the vector input unit 121 includes: a pressure input subunit 1211, which is used to arrange the pressure values of the ship power equipment at the multiple predetermined time points according to the time dimension as a ship power equipment pressure input vector; a temperature input subunit 1212, which is used to arrange the temperature values of the ship power equipment at the multiple predetermined time points according to the time dimension as a ship power equipment temperature input vector; a humidity input subunit 1213, which is used to arrange the humidity values of the ship power equipment at the multiple predetermined time points according to the time dimension as a ship power equipment humidity input vector.
[0032] Specifically, the pressure input subunit 1211 is used to arrange the pressure values of the ship power equipment at the multiple predetermined time points into a ship power equipment pressure input vector according to the time dimension. It should be understood that the pressure value of the ship power equipment usually changes over time. By arranging these data according to the time dimension, the time series correlation between the data can be better retained, which is conducive to analyzing the change trend and periodicity of the data. Many machine learning models and data analysis methods can better process time series data. After arranging the pressure values of the ship power equipment into input vectors according to the time dimension, various time series models, such as recurrent neural networks (RNNs) or long short-term memory networks (LSTMs) can be applied to better analyze and predict data. Arranging the pressure values of multiple time points into vectors helps to maintain the continuity of the data. Doing so can better capture the continuous changes between the data, which is conducive to the system to better understand the evolution of the data. Arranging data by time dimension can better prepare the data and make it suitable for training and prediction models. The model can better utilize the time information of the data, thereby improving the accuracy and generalization ability of the model.
[0033] Further, the temperature input subunit 1212 is used to arrange the temperature values of the ship power equipment at the multiple predetermined time points according to the time dimension as a ship power equipment temperature input vector. It should be understood that the temperature of the ship power equipment usually changes over time, so arranging the data according to the time dimension helps to retain the time series correlation between the data. Many models require time series data as input, such as recurrent neural networks (RNN) or long short-term memory networks (LSTM), so arranging the data according to the time dimension helps the model to better understand and predict the data. By arranging the temperature data according to the time dimension, time-related features can be extracted, such as the trend of temperature changes, periodic changes, etc., so as to better describe the dynamic characteristics of the data.
[0034] Specifically, the temperature value data of the ship's electrical equipment at different time points are obtained. These temperature values are arranged as vectors according to the time dimension, where each time point corresponds to an element in the vector. The data is preprocessed as necessary, such as normalization, smoothing, or filling missing values. Therefore, the purpose of arranging the temperature values of the ship's electrical equipment at multiple predetermined time points according to the time dimension as the ship's electrical equipment temperature input vector is to use time information to better analyze, understand, and predict temperature data. In this way, models suitable for time series data can be better applied, time-related features can be extracted, and a more comprehensive perspective can be provided for the modeling and analysis of temperature data.
[0035] Furthermore, the humidity input subunit 1213 is used to arrange the humidity values of the ship power equipment at the multiple predetermined time points into a ship power equipment humidity input vector according to the time dimension. It should be understood that by arranging the humidity data according to the time dimension, the time series relationship between the data can be retained. The humidity value often shows certain rules and trends over time, and these changes can be better captured by retaining the time information. Time information is very important for extracting features. By arranging the humidity data in the time dimension, important features such as the change trend of the humidity value over time and the periodic change can be extracted. These features are crucial for in-depth understanding of humidity changes and prediction of future trends. The change of humidity values is usually affected by many factors, such as seasonal changes, weather conditions, ship operation status, etc. Through time series analysis, these dynamic patterns can be better identified and understood, thereby improving the ability to predict humidity changes. Models based on time series analysis can use patterns and trends in historical data to more accurately predict future humidity changes. By arranging humidity data in the time dimension and establishing corresponding models, the ability to predict humidity changes can be improved. Therefore, arranging the humidity values of ship power equipment at multiple predetermined time points according to the time dimension as humidity input vectors helps to better utilize time information for modeling and analysis, thereby improving the understanding and prediction of humidity changes. This method can more comprehensively reveal the dynamic characteristics of humidity data and provide more accurate support for related decision-making and applications.
[0036] Accordingly, in a specific example of the present application, the context encoding unit 122 is used to pass the input vector through a context-based encoder to obtain a pressure feature vector, a temperature feature vector and a humidity feature vector. It should be understood that the vector sequence composed of the pressure input vector of the ship power equipment, the temperature input vector of the ship power equipment and the humidity input vector of the ship power equipment is input into the converter model to obtain the pressure feature vector, the temperature feature vector and the humidity feature vector. The vector sequence input converter model can process a data sequence arranged in chronological order, helping the model to capture the temporal relationship between the data. This is very important for understanding the dynamic changes between pressure, temperature and humidity over time, and helps to improve the modeling and analysis capabilities of these data. Inputting vector sequences of different features into the converter model can prompt the model to learn the interactive relationship between different features. In this way, the model can better understand the complex relationship between pressure, temperature and humidity, thereby extracting more informative feature representations. Inputting pressure, temperature and humidity data into the converter model as a whole helps to comprehensively model the comprehensive relationship between these data. The model can consider multiple features at the same time, so as to more comprehensively understand the working state of the ship power equipment and extract more representative feature vectors. Therefore, by inputting the vector sequence consisting of the pressure, temperature and humidity input vectors of the ship power equipment into the converter model, it is possible to better process multimodal data, integrate time series information, learn feature interactions, and comprehensively model the relationship between different features, thereby extracting more representative pressure feature vectors, temperature feature vectors and humidity feature vectors. This method helps to improve the modeling and analysis capabilities of the ship power equipment status and provide more accurate support for related applications.
[0037] Specifically, the context encoding unit is used to: input a vector sequence consisting of the ship power equipment pressure input vector, the ship power equipment temperature input vector and the ship power equipment humidity input vector into a converter model to obtain the pressure feature vector, the temperature feature vector and the humidity feature vector.
[0038] In the embodiment of the present application, the electrical equipment data fusion module 130 is used to fuse the pressure feature vector, the temperature feature vector and the humidity feature vector to obtain a ship electrical equipment parameter association feature map, and perform unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map. It should be understood that pressure, temperature and humidity are important features in ship electrical equipment parameters, and each of them provides information about the equipment status. By fusing the feature vectors of these different features, the association between different features can be comprehensively considered to obtain a more comprehensive and comprehensive feature representation. Fusion of pressure, temperature and humidity feature vectors can promote the model to learn the interaction between different features. The working state of ship electrical equipment is often affected by multiple parameters, and fusion of feature vectors helps the model better understand the complex association between these parameters. Fusion of pressure, temperature and humidity feature vectors into a feature matrix can help reduce the dimension of the data. This helps to reduce redundant information between features and extract the most representative features, thereby simplifying the modeling process and improving the efficiency of the model. The state of ship electrical equipment is affected by multiple parameters. By fusing feature vectors of different features, the feature information of the equipment state can be more comprehensively captured, and the accuracy and robustness of modeling can be improved. There are complex correlations between the parameters of ship electrical equipment, and the fusion feature vector can help to comprehensively analyze the relationship between these parameters. The resulting correlation feature matrix can provide more comprehensive feature information for subsequent data analysis, modeling and prediction.
[0039] Accordingly, in one embodiment of the present application, the electrical equipment data fusion module 130 includes: a two-dimensional arrangement unit, used to arrange the pressure feature vector, the temperature feature vector and the humidity feature vector according to the parameter dimension into a ship electrical equipment parameter association input matrix; a convolution coding unit, used to pass the ship electrical equipment parameter association input matrix through adjacent layers using a first convolution neural network model with mutually transposed convolution kernels to obtain a ship electrical equipment parameter association feature map; an optimization unit, used to perform unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map.
[0040] Accordingly, in a specific example of the present application, the two-dimensional arrangement unit is used to arrange the pressure feature vector, the temperature feature vector and the humidity feature vector into a ship electrical equipment parameter association input matrix according to the parameter dimension. It should be understood that arranging different types of feature vectors into a matrix according to the parameter dimension can achieve a unified representation between different features. Doing so helps to more conveniently process and analyze these features in subsequent processing, so that the model can more easily learn the association between different features. Integrating feature vectors into a matrix can simplify the data structure and make the data easier to process. This integration can help reduce the complexity of data processing and improve the interpretability and operability of data. Integrating different features into a matrix according to the parameter dimension can help the model better learn the interactive relationship between different features. In this way, the model can more comprehensively consider the association between different features, thereby improving the effect and performance of modeling. Integrating different features into a matrix can improve the generalization ability of the model. By arranging different feature dimensions together, the model can better capture the complex relationship between different features, thereby improving the performance of the model on new data. Arranging feature vectors into a matrix according to the parameter dimension can reduce the steps of feature processing. This will reduce the workload in the feature engineering and data preprocessing stages, and also help improve the efficiency of model training.
[0041] Accordingly, in a specific example of the present application, the convolutional coding unit is used to pass the ship electrical equipment parameter association input matrix through the adjacent layers using the first convolutional neural network model with mutually transposed convolution kernels to obtain a ship electrical equipment parameter association feature map. It should be understood that the convolutional neural network (CNN) can effectively extract features from the input data through convolution operations. In this case, by using the convolution kernel to process the ship electrical equipment parameter association input matrix, the model can be helped to identify and extract features related to the electrical equipment parameters, so as to better understand the data. Through the convolution operation, the input data can be mapped to a higher-level feature representation space. This helps the model learn complex patterns and associations in the data, so that the model can better understand the correlation between the ship electrical equipment parameters. The ship electrical equipment parameter association feature matrix obtained by the convolution operation contains more abstract and higher-level feature representations. These features help the model better understand the associations between the ship electrical equipment parameters, thereby providing more meaningful features for subsequent data analysis and modeling.
[0042] Specifically, in CNN, convolution operation is used to extract features from input data. By applying the first two-dimensional convolution kernel (usually a sliding window) to perform convolution operation on the input matrix associated with the ship electrical equipment parameters, local features and patterns can be captured. Pooling operation is used to reduce the spatial size of the feature map while retaining key information. Common pooling operations include maximum pooling and average pooling. Pooling operation can reduce the number of parameters of the model, improve the computational efficiency of the model, and help prevent overfitting. In convolutional neural networks, nonlinear processing is usually implemented through activation functions, such as ReLU (Rect ifi ed L i near Un it) function. The activation function introduces nonlinear factors, enabling the neural network to learn complex patterns and relationships. The feature map obtained after convolution, pooling and nonlinear processing is called an activated feature map, which contains the extracted high-level feature information. The mutually transposed convolution kernel refers to the convolution kernel used for upsampling in the convolutional neural network. The use of this convolution kernel can achieve the enlargement of the feature map, thereby restoring the spatial dimension of the feature map. The output of the last layer is a feature map obtained through multi-layer convolution, pooling and nonlinear processing, which is integrated into a feature matrix associated with ship electrical equipment parameters. This feature matrix contains the abstract representation of the association between ship electrical equipment parameters learned by the model.
[0043] Further, the convolutional coding unit is used for: the layers of the first convolutional neural network model in which the adjacent layers use mutually transposed convolution kernels respectively perform the following on the ship electrical equipment parameter association input matrix in the forward transfer of the layer: performing convolution processing, pooling processing and nonlinear processing based on a first two-dimensional convolution kernel on the ship electrical equipment parameter association input matrix to obtain a first activation feature map; performing convolution processing, pooling processing and nonlinear activation processing based on a second two-dimensional convolution kernel on the first activation feature map to obtain a second activation feature map, wherein the first two-dimensional convolution kernel and the second two-dimensional convolution kernel are transposed to each other; wherein the input of the first layer of the first convolutional neural network model in which the adjacent layers use mutually transposed convolution kernels is the ship electrical equipment parameter association input matrix, and the output of the last layer of the first convolutional neural network model in which the adjacent layers use mutually transposed convolution kernels is the ship electrical equipment parameter association feature map.
[0044] Accordingly, in a specific example of the present application, the optimization unit is used to perform unit activation averaging based on feature representation on the ship electrical equipment parameter association characteristic diagram to obtain an optimized ship electrical equipment parameter association characteristic diagram. It should be understood that, in particular, in the technical solution of the present application, considering that the sensors used in the ship electrical equipment may have errors, such as inaccurate measurements or occasional failures, this may lead to the introduction of noise or abnormal values when collecting pressure, temperature and humidity values. The working environment of the ship may be complex and changeable, and is affected by various factors such as marine climate and ship operation status. These factors may cause fluctuations or abnormalities in sensor data, thereby affecting the quality of the ship electrical equipment parameter association characteristic diagram. There may be errors or losses in the data transmission and storage process, resulting in partial data missing or errors, and these problems will also cause noise or outliers in the feature map. Human operation or interference may also affect the accuracy of the data. For example, factors such as misoperation and data entry errors may cause abnormal values to appear in the ship electrical equipment parameter association characteristic diagram. Ship electrical equipment may exhibit different parameter characteristics in different working modes. If these working modes are not fully considered or modeled, abnormal values or noise may appear in the feature extraction process. That is, the ship electrical equipment parameter association characteristic graph may be affected by noise and outliers, and these abnormal data will reduce the robustness of the classifier, making the classification result inaccurate or unreliable. Therefore, in the technical solution of the present application, the ship electrical equipment parameter association characteristic graph is averaged based on the unit activation of the feature representation.
[0045] Specifically, the optimization unit includes: a dimensionality reduction subunit, which is used to calculate the global average value of each feature matrix along the channel dimension of the ship electrical equipment parameter association feature map to obtain a classification unit feature vector; an activation subunit, which is used to pass the classification unit feature vector through an activation unit based on a Sigma id activation function to obtain an activated classification unit feature vector; a normalization subunit, which is used to normalize the activated classification unit feature vector based on the bi-norm of the activated classification unit feature vector to obtain a normalized activated classification unit feature vector; a masking subunit, which is used to mask the normalized activated classification unit feature vector based on a predetermined threshold to obtain a masked activation screening weight feature vector; and a channel-by-channel point multiplication subunit, which is used to perform channel-by-channel point multiplication on the ship electrical equipment parameter association feature map using the feature values of each position in the masked activation screening weight feature vector as weights to obtain the optimized ship electrical equipment parameter association feature map.
[0046] Here, the unit activation averaging based on the feature representation is performed on the ship electrical equipment parameter association feature map. In order to create a more robust and discriminative feature representation, the unit activation is performed on the average of each feature matrix along the channel dimension of the ship electrical equipment parameter association feature map. This will produce a masked activation screening weight feature vector, in which each element represents the average activation level of a specific feature in the ship electrical equipment parameter association feature map. Then, the ship electrical equipment parameter association feature map is multiplied by channel point by channel using the masked activation screening weight feature vector to obtain the optimized ship electrical equipment parameter association feature map. Since the masked activation screening weight feature vector captures more comprehensive features in the ship electrical equipment parameter association feature map, the classifier can make more accurate predictions. In addition, it reduces the influence of noise and outliers by averaging the activation values of each feature matrix along the channel dimension of the ship electrical equipment parameter association feature map to produce a more robust feature representation, and captures more comprehensive features in the ship electrical equipment parameter association feature map by aggregating unit activations from each feature matrix along the channel dimension of the ship electrical equipment parameter association feature map to improve classification performance. Unit activation averaging based on feature representation can also improve computational efficiency and interpretability.
[0047] Furthermore, the masking subunit is used to perform masking processing on the normalized activation classification unit feature vector based on a predetermined threshold to obtain a masked activation screening weight feature vector, including: in response to the feature value of the corresponding position in the normalized activation classification unit feature vector being less than or equal to the predetermined threshold, setting the feature value of the corresponding position in the normalized activation classification unit feature vector to zero to obtain the masked activation screening weight feature vector.
[0048] Furthermore, the normalization subunit is used to normalize the activation classification unit feature vector based on the binary norm of the activation classification unit feature vector to obtain a normalized activation classification unit feature vector, including: importing the required library, wherein the library is Apache Commons Math; creating a feature vector normalization class; writing a normalization method in the feature vector normalization class; writing a program entry point and instantiating the feature vector normalization class; calling the written program entry point to input the activation classification unit feature vector into the feature vector normalization class, wherein the feature vector normalization class uses the normalization method to calculate the binary norm of the activation classification unit feature vector, and divides each element in the activation classification unit feature vector by the binary norm of the activation classification unit feature vector to obtain the normalized activation classification unit feature vector; and displaying the normalized activation classification unit feature vector.
[0049] In particular, some steps can be implemented using the following code, including:
[0050]
[0051]
[0052] Accordingly, using the spring-context-support mechanism of the Spring framework to deploy and implement feature vector normalization operations may bring the following advantages:
[0053] 1. Dependency Injection:
[0054] -The Spring framework provides a dependency injection function that can easily manage the dependent objects required for feature processing, such as feature vector data. Through dependency injection, feature vector data can be injected into the component of feature processing, simplifying the dependency management between components.
[0055] 2. Configuration Management:
[0056] -The Spring framework supports externalized configuration, which allows you to configure feature processing parameters in external configuration files, making it easy to flexibly adjust and manage feature processing parameters. In this way, when adjusting feature processing logic, you don’t need to modify the code, you only need to modify the configuration file.
[0057] 3. Aspect-Oriented Programming (AOP):
[0058] -The Spring framework supports aspect-oriented programming, and can implement cross-cutting concerns through AOP, such as logging, performance monitoring, etc. In feature processing, the AOP function can be used to monitor and log the feature processing process.
[0059] 4. Easy to test:
[0060] -The Spring framework provides testing support, which makes it easy to write unit tests and integration tests to verify the correctness of feature processing. With Spring's testing support, it is easier to write and run test cases.
[0061] 5. Scalability and flexibility:
[0062] -Using the Spring framework can better achieve loose coupling and improve the scalability and flexibility of the code. If you need to expand the function of feature processing or introduce new feature processing algorithms in the future, you can do so by configuring and extending SpringBean without modifying a lot of code.
[0063] 6. Integrate other Spring functions:
[0064] -If there are other components or functions in the application that use the Spring framework, deploying feature processing functions using the Spring-context-support mechanism can better integrate with existing Spring applications and maintain a unified development style and technology stack.
[0065] In general, using the spring-context-support mechanism of the Spring framework to deploy feature vector normalization functions can improve the maintainability, testability, and extensibility of the code. At the same time, using the various functions provided by the Spring framework can better manage and organize the feature processing code.
[0066] In the embodiment of the present application, the electrical equipment data analysis module 140 is used to pass the optimized ship electrical equipment parameter association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state. It should be understood that by monitoring the ship electrical equipment parameters, a large amount of data can be collected and features can be extracted from it. After these features are represented as feature maps, a classifier can be used to determine whether the equipment is in a normal working state. The classifier can identify patterns that are different from the normal working state, thereby helping to detect whether the equipment is abnormal. Using machine learning models and classifiers, predictive maintenance of ship electrical equipment can be achieved. By monitoring equipment parameters and characterizing them, it is possible to predict situations where equipment may fail or be abnormal, so that maintenance measures can be taken in advance to avoid losses caused by equipment failure. By monitoring the optimized ship electrical equipment parameter association feature map through a classifier in real time, the abnormal working state of the equipment can be discovered in time. Once the classifier detects an abnormality, measures can be taken immediately to ensure the safe operation of the equipment. The classification results can provide important decision support information for ship operators and engineers. They can take corresponding actions based on the classification results to maintain the equipment and ensure the normal operation of the ship.
[0067] In summary, based on the artificial intelligence technology-based electrical equipment automatic control system and method of the embodiment of the present application, artificial intelligence technology is used to collect and analyze the pressure, temperature and humidity information of ship power equipment, and through feature extraction and classification, it is determined whether the equipment is in an abnormal working state, and the switching state of the equipment is automatically controlled, thereby improving the operation quality and power supply stability of ship electrical equipment.
[0068] As described above, the electrical equipment automatic control system 100 based on artificial intelligence technology according to the embodiment of the present application can be implemented in various terminal devices, such as a server of the electrical equipment automatic control system based on artificial intelligence technology. In one example, the electrical equipment automatic control system 100 based on artificial intelligence technology can be integrated into the terminal device as a software module and / or a hardware module. For example, the electrical equipment automatic control system 100 based on artificial intelligence technology can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the electrical equipment automatic control system 100 based on artificial intelligence technology can also be one of the many hardware modules of the terminal device.
[0069] Alternatively, in another example, the electrical equipment automatic control system 100 based on artificial intelligence technology and the terminal device may also be separate devices, and the electrical equipment automatic control system 100 based on artificial intelligence technology may be connected to the terminal device via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.
[0070] Figure 4 FIG. 1 is a flow chart of an automatic control method for electrical equipment based on artificial intelligence technology according to an embodiment of the present application. Figure 4 As shown, according to the electrical equipment automatic control method based on artificial intelligence technology in the embodiment of the present application, the steps include: S110, extracting the pressure value, temperature value and humidity value of the ship electrical equipment at multiple predetermined time points including the current time point in the ship electrical equipment; S120, respectively extracting the pressure feature vector, temperature feature vector and humidity feature vector from the pressure value, temperature value and humidity value of the ship electrical equipment at the multiple predetermined time points; S130, fusing the pressure feature vector, the temperature feature vector and the humidity feature vector to obtain a ship electrical equipment parameter association feature map, and performing unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map; S140, passing the optimized ship electrical equipment parameter association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
[0071] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned electrical equipment automatic control method based on artificial intelligence technology have been referred to above. Figures 1 to 3 The invention has been introduced in detail in the description of the automatic control system of electrical equipment based on artificial intelligence technology, and therefore, its repeated description will be omitted.
[0072] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0073] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0074] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0075] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0076] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0077] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0078] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An automatic control system for electrical equipment based on artificial intelligence technology, characterized in that: include: An electrical equipment data acquisition module is used to extract pressure values, temperature values and humidity values of the ship's electrical equipment at multiple predetermined time points including the current time point; An electrical equipment data processing module, used to extract a pressure feature vector, a temperature feature vector and a humidity feature vector from the pressure values, temperature values and humidity values of the ship electrical equipment at the plurality of predetermined time points, respectively; an electrical equipment data fusion module, used for fusing the pressure feature vector, the temperature feature vector and the humidity feature vector to obtain a ship electrical equipment parameter association feature map, and performing unit activation averaging based on feature representation on the ship electrical equipment parameter association feature map to obtain an optimized ship electrical equipment parameter association feature map; The electrical equipment data analysis module is used to pass the optimized ship electrical equipment parameter association feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
2. The electrical equipment automatic control system based on artificial intelligence technology according to claim 1 is characterized in that: The electrical equipment data processing module comprises: A vector input unit, used to arrange the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points into input vectors respectively; The context encoding unit is used to pass the input vector through a context-based encoder to obtain a pressure feature vector, a temperature feature vector and a humidity feature vector.
3. The electrical equipment automatic control system based on artificial intelligence technology according to claim 2 is characterized in that: Vector input unit, including: A pressure input subunit, used to arrange the pressure values of the ship power equipment at the plurality of predetermined time points into a ship power equipment pressure input vector according to the time dimension; A temperature input subunit, used to arrange the temperature values of the ship power equipment at the plurality of predetermined time points into a ship power equipment temperature input vector according to the time dimension; The humidity input subunit is used to arrange the humidity values of the ship power equipment at the multiple predetermined time points into a ship power equipment humidity input vector according to the time dimension.
4. The electrical equipment automatic control system based on artificial intelligence technology according to claim 3 is characterized in that: The context encoding unit is used to: input a vector sequence consisting of the ship power equipment pressure input vector, the ship power equipment temperature input vector and the ship power equipment humidity input vector into a converter model to obtain the pressure feature vector, the temperature feature vector and the humidity feature vector.
5. The electrical equipment automatic control system based on artificial intelligence technology according to claim 4 is characterized in that: The electrical equipment data fusion module comprises: A two-dimensional arrangement unit, used for arranging the pressure characteristic vector, the temperature characteristic vector and the humidity characteristic vector according to the parameter dimension into a ship electrical equipment parameter association input matrix; A convolutional coding unit, used for passing the ship electrical equipment parameter association input matrix through adjacent layers using a first convolutional neural network model with mutually transposed convolution kernels to obtain a ship electrical equipment parameter association feature map; The optimization unit is used to perform unit activation averaging based on feature representation on the ship electrical equipment parameter association characteristic diagram to obtain an optimized ship electrical equipment parameter association characteristic diagram.
6. The electrical equipment automatic control system based on artificial intelligence technology according to claim 5 is characterized in that: The optimization unit comprises: A dimension reduction subunit, used for calculating the global average value of each feature matrix along the channel dimension of the ship electrical equipment parameter association feature map to obtain a classification unit feature vector; An activation subunit, used for passing the classification unit feature vector through an activation unit based on a Sigmoid activation function to obtain an activated classification unit feature vector; A normalization subunit, configured to normalize the activated classification unit feature vector based on the binary norm of the activated classification unit feature vector to obtain a normalized activated classification unit feature vector; A masking subunit, configured to perform masking processing on the normalized activated classification unit feature vector based on a predetermined threshold value to obtain a masked activated screening weight feature vector; The channel-by-channel point multiplication subunit is used to perform channel-by-channel point multiplication on the ship electrical equipment parameter association feature map using the feature values of each position in the masked activation screening weight feature vector as weights to obtain the optimized ship electrical equipment parameter association feature map.
7. The electrical equipment automatic control system based on artificial intelligence technology according to claim 6 is characterized in that: The normalization subunit comprises: The import library secondary subunit is used to import the required library, wherein the library is Apache Commons Math; Create a normalization class subunit for creating a feature vector normalization class; Writing a normalization subunit, used for writing a normalization method in the feature vector normalization class; Writing an entry point subunit, used for writing a program entry point and instantiating the feature vector normalization class; A calling entry point subunit is used to call the programming entry point, input the activation classification unit feature vector into the feature vector normalization class, wherein the feature vector normalization class uses the normalization method to calculate the two norms of the activation classification unit feature vector, and divide each element in the activation classification unit feature vector by the two norms of the activation classification unit feature vector to obtain the normalized activation classification unit feature vector; The display vector subunit is used to display the normalized activated classification unit feature vector.
8. The electrical equipment automatic control system based on artificial intelligence technology according to claim 7 is characterized in that: The masking subunit comprises: In response to the feature value of the corresponding position in the normalized activated classification unit feature vector being less than or equal to the predetermined threshold, the feature value of the corresponding position in the normalized activated classification unit feature vector is set to zero to obtain the masked activation screening weight feature vector.
9. An automatic control method for electrical equipment based on artificial intelligence technology, characterized in that: include: Extracting pressure values, temperature values and humidity values of the ship power equipment at multiple predetermined time points including the current time point from the ship power equipment; Extracting a pressure feature vector, a temperature feature vector and a humidity feature vector from the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points, respectively; The pressure feature vector, the temperature feature vector and the humidity feature vector are integrated to obtain a ship electrical equipment parameter association feature map, and the ship electrical equipment parameter association feature map is averaged based on the unit activation of the feature representation to obtain an optimized ship electrical equipment parameter association feature map; The optimized ship electrical equipment parameter association feature map is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the ship electrical equipment is in an abnormal working state.
10. The automatic control method of electrical equipment based on artificial intelligence technology according to claim 9, characterized in that: Extracting a pressure feature vector, a temperature feature vector, and a humidity feature vector from the pressure values, temperature values, and humidity values of the ship power equipment at the plurality of predetermined time points, respectively, comprises: Arranging the pressure values, temperature values and humidity values of the ship power equipment at the plurality of predetermined time points as input vectors respectively; The input vector is passed through a context-based encoder to obtain a pressure feature vector, a temperature feature vector, and a humidity feature vector.
