A digital control system for energy-saving upgrade of air compressor station
Through the energy-saving upgrade of the digital control system of the air compressor station, the neural network model is used to predict faults and optimize the operation of the air compressor. Combined with the energy recovery and reuse module, the energy efficiency deficiency and energy waste problems of the air compressor station monitoring system are solved, and the equipment is highly efficient. Improvements in operation and energy utilization.
Patent Information
- Application Number
- CN202410675287.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-29
AI Technical Summary
The existing air compressor station monitoring system lacks in-depth analysis and predictive maintenance capabilities, resulting in equipment failure not being foreseen and prevented in time, production interruption and high maintenance costs, and unsatisfactory energy recovery and reuse efficiency, resulting in energy waste.
Design a digital control system for energy-saving upgrading of air compressor stations, including a data collection and analysis module, an intelligent control and prediction module, and an energy recovery and reuse module. The data acquisition module monitors the operating status and environmental parameters of the air compressor through sensors, transmits the data to the intelligent control module, and uses the neural network model to predict potential faults and adjust operating parameters. The energy recovery module captures waste heat and converts it into hot water or steam for heating and heating. industrial production.
By automatically adjusting the operating parameters of the air compressor, energy consumption is optimized, equipment failure downtime and maintenance costs are reduced, energy efficiency is improved, operating costs are reduced, and waste heat is effectively utilized.
Smart Images

Figure CN118242259B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of control systems, and in particular to an energy-saving and upgraded digital control system for an air compressor station. Background Art
[0002] Air compressor stations play a central role in industrial production, providing the necessary compressed air for various mechanical equipment. Compressed air is widely used to drive tools, control automation equipment, process products, etc. Therefore, the efficiency of the air compressor directly affects the energy efficiency and cost of the entire production process. Since air compressors consume a lot of electricity during operation and generate considerable waste heat, improving their energy efficiency has become a priority for many industrial companies. To this end, more and more companies are seeking to improve the operating efficiency of air compressor stations through advanced control systems and technologies.
[0003] However, existing technologies have certain limitations in monitoring and maintaining the energy efficiency of air compressors. Although traditional monitoring systems can provide real-time monitoring of key operating data, they often lack the ability to conduct in-depth analysis and utilization of this data. This lack of predictive maintenance and energy efficiency optimization capabilities means that equipment failures may not be foreseen and prevented in time, resulting in production interruptions and high maintenance costs. In addition, the efficiency of existing systems in energy recovery and reuse is also not ideal, and a large amount of waste heat is not effectively utilized, resulting in energy waste.
[0004] Therefore, developing a new type of energy-saving and upgraded digital control system for air compressor stations has become an urgent need in the industry. Summary of the invention
[0005] The present application provides a digital control system for energy-saving upgrade of an air compressor station to improve the energy efficiency and performance of the air compressor station.
[0006] The present application provides a digital control system for energy-saving upgrade of an air compressor station, comprising:
[0007] The data acquisition and analysis module includes a sensor and a data transmission unit. The sensor is deployed in the air compression station to monitor the operating status data and environmental parameters of the air compressor in the air compression station; and the monitoring data monitored by the sensor is transmitted to the intelligent control and optimization module and the predictive maintenance module through the data transmission unit;
[0008] An intelligent control and prediction module is used to receive the monitoring data transmitted by the data acquisition and analysis module; based on the monitoring data, by using a trained neural network model, the optimal operating parameters of the air compressor are obtained, and potential failures of the air compressor are predicted; according to the obtained optimal operating parameters, the operating state of the air compressor is adjusted; according to the identified potential failures, early intervention is carried out to reduce downtime and maintenance costs;
[0009] The energy recovery and reuse module is used to capture the waste heat energy emitted by the air compressor and convert the captured waste heat energy into hot water or steam through a heat exchanger and thermal energy conversion technology to meet the thermal energy needs of heating and industrial production processes.
[0010] Furthermore, the neural network model includes a basic feature extraction layer, a capsule network and a graph convolutional neural network;
[0011] The basic feature extraction layer is implemented by a recurrent neural network and is used to extract features from the input monitoring data to obtain high-level feature data;
[0012] The capsule network includes a basic feature input layer, a main capsule layer and a parameter output layer; wherein the basic feature input layer is used to receive the high-level feature data provided by the basic feature extraction layer, and convert the high-level feature data into an intermediate feature representation that can be further processed by the capsule network; the main capsule layer includes a plurality of capsules, each capsule is composed of a group of neurons, and the weight of the feature combination is optimized through an iterative routing process, so as to learn the complex relationship between the local features and the global features of the input data; the main capsule layer is used to receive the intermediate feature representation from the basic feature input layer, and use a plurality of capsules to perform dynamic routing processing on the intermediate feature representation to obtain the features after dynamic routing processing; the parameter output layer is implemented using a fully connected network, and is used to receive the features after dynamic routing processing from the main capsule layer, and map the features after dynamic routing processing to the optimal operating parameters of the air compressor; and output the optimal operating parameters of the air compressor;
[0013] The graph convolutional neural network is used to process the high-level feature data provided by the basic feature extraction layer, predict potential faults of the air compressor, and output the predicted potential faults.
[0014] Furthermore, the recurrent neural network is implemented using a bidirectional recurrent neural network, which is used to capture dependencies in time series data from both forward and backward directions to improve the recognition accuracy of dynamic changes in the operating state of the air compressor.
[0015] Furthermore, the main capsule layer of the capsule network uses a dynamic routing algorithm to adjust the connection weights between capsules to improve the accuracy and robustness in identifying different air compressor operation modes; wherein the capsule network includes primary capsules and advanced capsules; the primary capsule refers to a capsule converted from a feature vector output by a basic feature input layer, and each primary capsule is used to encode a different basic feature combination of input data; the advanced capsule is used to receive information from the primary capsule and process it through a dynamic routing process to form a representation of higher-level features; the dynamic routing algorithm includes the following steps:
[0016] Initialization step S1: for primary capsule To the advanced capsule Set the initial connection weight for each possible connection ;
[0017] Iterative update step S2: For high-level capsules , according to the following formula 1, calculate its relationship with all primary capsules The coupling coefficient :
[0018]
[0019] For premium capsules , according to the output vector of the primary capsule , calculate the total input vector according to the following formula 2 :
[0020]
[0021] For premium capsules , use the following formula 3 to calculate its output vector :
[0022]
[0023] Update the connection weight according to the following formula 4 :
[0024]
[0025] Output step S3: After completing the specified number of iterations, output the output vector of each advanced capsule As the final identified feature representation, it is used for fine identification of the air compressor operation mode in the subsequent process.
[0026] Furthermore, the neural network model uses a loss function The capsule network and graph convolutional neural network are jointly trained, and the loss function As shown in Formula 5 below:
[0027]
[0028] in, is the parameterized loss; Losses for predictive maintenance; is the regularization term; , and is a hyperparameter used to balance the contribution of different loss parts; parameterized loss As shown in Formula 6 below:
[0029]
[0030] in, Indicates The predicted operating parameters; Indicates Actual operating parameters; It is The weight of the operating parameters; is the sum of the operating parameters;
[0031] Predictive maintenance losses As shown in Formula 7 below:
[0032]
[0033] in, is the total number of potential fault types; It is The number of instances of each fault type prediction; It is The fault type The predicted probability of an instance; Indicates The fault type The predicted occurrence time of each instance; Indicates The fault type The actual time when the instance occurred; It is The weight of each fault type;
[0034] Regularization term As shown in Formula 8 below:
[0035]
[0036] in, Represents model parameters of the neural network model.
[0037] Furthermore, the sensors in the data acquisition and analysis module include temperature sensors, pressure sensors and flow sensors to provide comprehensive air compressor operating status monitoring.
[0038] Furthermore, the data transmission unit adopts wired communication technology to remotely transmit the monitoring data to the intelligent control and optimization module and the predictive maintenance module in real time.
[0039] Furthermore, the data acquisition and analysis module includes a data buffer storage unit for temporarily storing monitoring data when the network connection is unstable and transmitting the data after the network is restored.
[0040] Furthermore, the energy recovery and reuse module includes a thermal energy storage unit for storing thermal energy generated during low demand periods for use during high demand periods.
[0041] Furthermore, the data acquisition and analysis module includes a vibration sensor with an adaptive sampling frequency function, and the sampling frequency of the pressure sensor Calculate according to the following formula 9:
[0042]
[0043] in, is the basic sampling frequency, i.e. the default sampling frequency under normal operating conditions; It is the difference between the current pressure of the air compressor and the pressure safety threshold; It is the difference between the current temperature of the air compressor and the temperature safety threshold; Indicates the typical pressure value of the air compressor; Indicates the typical temperature value of the air compressor; and is the weight factor; is the adjustment coefficient; is the threshold constant.
[0044] The beneficial effects of this application mainly include: (1) The intelligent control and optimization module uses a neural network model to automatically adjust the operating parameters of the air compressor, optimize energy consumption, and reduce unnecessary electricity use, thereby directly reducing operating costs. (2) Through the real-time monitoring and predictive maintenance module, the system can predict and identify potential equipment failures, allowing maintenance and repairs to be carried out in advance, thereby significantly reducing the risk of unexpected downtime and repair costs. This early warning capability ensures efficient operation and longer service life of the equipment. (3) The energy recovery and reuse module captures and converts the waste heat energy emitted by the air compressor into hot water or steam for heating and meeting the heat energy needs of the industrial production process. This not only further improves energy efficiency, but also reduces external energy demand, bringing additional economic benefits to the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of a digital control system for energy-saving upgrade of an air compressor station provided in the first embodiment of the present application. DETAILED DESCRIPTION
[0046] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0047] The first embodiment of the present application provides a digital control system for energy-saving upgrade of air compressor station. Figure 1 , which is a schematic diagram of the first embodiment of the present application. Figure 1 The first embodiment of the present application provides a digital control system for energy-saving upgrade of an air compressor station for detailed description.
[0048] The air compressor station energy-saving upgrade digital control system includes a data acquisition and analysis module 101 , an intelligent control and prediction module 102 , and an energy recovery and reuse module 103 .
[0049] The data acquisition and analysis module 101 includes a sensor and a data transmission unit. The sensor is deployed in the air compression station to monitor the operating status data and environmental parameters of the air compressor in the air compression station; and the monitoring data monitored by the sensor is transmitted to the intelligent control and optimization module and the predictive maintenance module through the data transmission unit.
[0050] In this embodiment, the monitoring data monitored by the sensor includes operating status data and environmental parameters of the air compressor in the air compression station.
[0051] In this embodiment, the operating status data refers to the data generated by the air compressor during its actual operation, which directly reflects the performance and health of the air compressor. Specifically, it includes but is not limited to:
[0052] 1. Pressure data: Monitor the outlet and inlet pressures of the air compressor, which are critical to ensuring that the air compressor operates within the designed operating pressure range. Use pressure sensors to capture this parameter in real time, and the sensors are installed on the pipes at the outlet and inlet of the compressor.
[0053] 2. Temperature data: Monitor the temperature of the compressed air and the temperature inside the compressor. Excessive temperature may indicate that the system is overloaded or lacks lubrication. Temperature sensors are placed in key parts of the compressor, such as near the bearing and the compression chamber.
[0054] 3. Flow data: Captures the air flow through the compressor, which helps evaluate the efficiency and performance of the compressor. The flow meter is usually installed on the outlet pipe of the compressor.
[0055] 4. Power consumption data: Records the power consumed by the compressor during operation, which is a key indicator for evaluating energy efficiency and operating costs. This data is captured through current and voltage sensors, usually installed on the motor power supply line.
[0056] Environmental parameters refer to the conditions of the air compressor's surroundings, which may affect the machine's operating efficiency and life. They include:
[0057] 1. Ambient temperature: Monitors the air temperature around the compressor. Extreme changes in ambient temperature can affect the heat load and cooling efficiency of the compressor. Use an ambient temperature sensor for monitoring.
[0058] 2. Humidity: The humidity of the air affects the drying effect and compression efficiency of the compressed air. The humidity sensor is installed near the compressor to continuously monitor the ambient humidity level.
[0059] 3. Vibration: Abnormal vibration of the compressor may indicate mechanical failure. Vibration sensors are fixed to the main mechanical structure of the compressor to facilitate early detection of potential mechanical problems.
[0060] All monitored data is collected by sensors installed on and around the compressor. These sensors can convert data into electrical signals, which are encoded and encrypted by the data transmission unit and then sent to the intelligent control and optimization module and the predictive maintenance module. The data transmission unit supports multiple communication protocols, including wired methods, to ensure real-time and secure data transmission.
[0061] Furthermore, the sensors in the data acquisition and analysis module include temperature sensors, pressure sensors and flow sensors to provide comprehensive air compressor operating status monitoring.
[0062] The air compressor station energy-saving upgrade digital control system provided in this embodiment has a data acquisition and analysis module as one of its key components. It is equipped with temperature sensors, pressure sensors, vibration sensors and flow sensors, which work together to provide comprehensive air compressor operating status monitoring.
[0063] The role of temperature sensors in the system is to monitor the temperature of the air compressor and its surrounding environment. These sensors are usually installed in key hot spots of the air compressor, such as the compressor outlet, motor and bearings. The sensor can capture temperature data in real time to ensure that the machine operates within the temperature range with the best safety and efficiency. The temperature sensor can be a thermocouple or a thermistor, and the corresponding type is selected according to the installation location and the required measurement accuracy.
[0064] Pressure sensors are used to monitor gas pressure in air compressor systems. These sensors are mainly installed on the inlet and outlet pipes of compressed air to monitor and record pressure changes in real time. This data is essential for adjusting the operating parameters of the compressor to optimize performance and reduce energy consumption. The selection and installation of pressure sensors need to meet the design specifications of the air compressor and be able to withstand the maximum pressure in system operation.
[0065] The flow sensor is responsible for measuring the air flow through the compressor. It is usually located on the outlet duct of the compressor. By monitoring the flow rate, the operator can understand the output efficiency of the compressor and adjust the operating parameters accordingly to maintain or improve efficiency. The flow sensor can be turbine, orifice plate or ultrasonic, and the specific type is determined by the required measurement range and accuracy and the specific needs of the system.
[0066] Vibration sensors help monitor the physical condition of equipment and possible abnormal vibrations that could indicate mechanical problems or impending failure.
[0067] The data collected from these sensors are sent to a data transmission unit, which is equipped with data transmission function, which can be wired to ensure the instant and secure transmission of data. These data are not only used for real-time monitoring, but also provide necessary input for intelligent control and optimization modules, which use this information to optimize operating parameters or perform fault diagnosis.
[0068] Furthermore, the data transmission unit adopts wired communication technology to remotely transmit the monitoring data to the intelligent control and optimization module and the predictive maintenance module in real time.
[0069] In the digital control system for energy-saving upgrade of air compressor stations, the role of the data transmission unit is crucial. Its main task is to ensure that the monitoring data collected from each sensor is safely, accurately and continuously transmitted to other parts of the system, especially the intelligent control and optimization module and the predictive maintenance module. To achieve this goal, the system uses wired communication technology, which is based on the advantages of wired communication in stability and reliability.
[0070] In this system, Ethernet can be used as the main wired communication technology because it is both standardized and widely supported, suitable for industrial applications.
[0071] Ethernet is a widely used local area network technology that provides high-speed data transmission through cables (usually twisted pair or optical fiber). Ethernet technology is particularly suitable for industrial environments such as air compressor stations for the following reasons: Ethernet can provide rates from 10 Mbps to up to 100 Gbps, which is sufficient to handle large amounts of data collected from various sensors; the stability of the physical connection ensures the continuity and reliability of data transmission, reducing the possibility of data loss and transmission errors; standardization and popularization: the wide application of Ethernet ensures compatibility with various industrial equipment and standards, and simplifies the procurement and maintenance of network equipment; existing Ethernet technology supports expansion through simple network equipment, such as switches and routers, to adapt to changing network needs.
[0072] When implementing wired communication technology, the following steps need to be followed to ensure smooth operation of the entire system:
[0073] Network Design and Cabling: Design a comprehensive network cabling plan to ensure that all key devices, such as sensors, controllers, and monitoring centers, are interconnected through stable wired connections. Cabling should take into account the facility's existing structure and optimal paths to reduce interference and improve efficiency.
[0074] Hardware selection: Select high-quality network hardware, including but not limited to network cables, routers, switches, and other network devices to support the transmission of large amounts of data and maintain the long-term stability of the network.
[0075] System testing and verification: After the system is fully deployed, comprehensive testing is performed to verify the stability and reliability of data transmission. Testing should include data transmission performance evaluation under different operating conditions.
[0076] Monitoring and maintenance: Establish an ongoing monitoring mechanism to detect and resolve network problems. Regularly check the performance of physical connections and network equipment to ensure that data transmission is not interrupted.
[0077] Through these steps, the data transmission unit of the air compressor station energy-saving upgrade digital control system can effectively support the operation of the entire system and provide the necessary data support to achieve the optimized operation and maintenance of the air compressor. The implementation of this wired communication technology ensures the high performance and reliability of the system and provides a solid foundation for the digital upgrade of the air compressor station.
[0078] Furthermore, the data acquisition and analysis module includes a data buffer storage unit for temporarily storing monitoring data when the network connection is unstable and transmitting the data after the network is restored.
[0079] In the air compressor station energy-saving upgrade digital control system provided in this embodiment, the data acquisition and analysis module includes a key component, the data buffer storage unit. This unit is designed to ensure data integrity and continuous operation of the system even when the network connection is unstable. The data buffer storage unit provides a mechanism for the system to temporarily store the monitoring data collected by the sensor until the network connection is restored, and then send the data to the intelligent control and optimization module and the predictive maintenance module.
[0080] First, the data buffer storage unit needs to have sufficient storage capacity to hold all the monitoring data collected during the period when the network is unavailable. This includes data collected from various sensors connected to the system, such as temperature sensors, pressure sensors, and flow sensors. The capacity of the storage unit should be determined based on the expected amount of data, the maximum expected time of network instability, and the importance of the data.
[0081] Secondly, the data buffer storage unit needs to be integrated into the data transmission unit or work closely with it to achieve smooth data reception and storage. To this end, the unit should be equipped with a high-speed data interface to quickly receive data from sensors and support efficient data writing operations. In addition, the storage unit should have the ability to automatically synchronize and send data when the network is restored, which requires it to have a communication interface with the network monitoring module to detect the network status in real time.
[0082] In terms of data storage, the buffer storage unit should be designed to store data in chronological order and to be time-stamped when storing data. This function is critical for subsequent data analysis and use because it ensures the timing and integrity of the data, allowing the intelligent control module to accurately reconstruct the timeline of events and states.
[0083] In addition, in order to ensure data security and prevent data loss, the buffer storage unit should have a data backup mechanism and fault recovery function. This can be achieved by using redundant storage design or regularly backing up data to another safe location.
[0084] Finally, the implementation of the data buffer storage unit should also include testing and verification steps to ensure its reliability and efficiency under various network conditions. These tests should simulate network instability and verify the correct entry, storage and transmission of data.
[0085] Furthermore, the data acquisition and analysis module includes a vibration sensor with an adaptive sampling frequency function, and the sampling frequency of the pressure sensor Calculate according to the following formula 9:
[0086]
[0087] in, is the basic sampling frequency, i.e. the default sampling frequency under normal operating conditions; It is the difference between the current pressure of the air compressor and the pressure safety threshold; It is the difference between the current temperature of the air compressor and the temperature safety threshold; Indicates the typical pressure value of the air compressor; Indicates the typical temperature value of the air compressor; and is the weight factor; is the adjustment coefficient; is the threshold constant.
[0088] In the digital control system for energy-saving upgrades of air compressor stations, the data acquisition and analysis module is the core part to ensure the efficiency and safety of equipment operation. The module includes a vibration sensor with an adaptive sampling frequency function, which can automatically adjust its data acquisition frequency according to the actual operating conditions of the air compressor, ensuring that the necessary operating data can be captured at critical moments, so as to respond to possible mechanical problems or efficiency declines in a timely manner.
[0089] The adaptive sampling frequency is adjusted by formula 9, which not only reflects the current state of the air compressor, but also takes into account the standard conditions and safety thresholds of the equipment operation. Specifically, the sampling frequency of the vibration sensor It is calculated by the following formula:
[0090]
[0091] Each variable and parameter has a specific meaning and function:
[0092] Indicates the basic sampling frequency, which is the default sampling frequency under normal operating conditions. This is the data collection frequency of the sensor when there are no abnormal conditions, ensuring basic monitoring of the system without generating too much data, thereby maintaining the efficiency of data processing.
[0093] It is the difference between the current pressure of the air compressor and the preset pressure safety threshold. This difference reflects whether the pressure exceeds the normal operating range, which may indicate potential safety problems or equipment efficiency problems.
[0094] It is the difference between the current temperature of the air compressor and the preset temperature safety threshold. It is also used to assess whether there are problems such as overheating that may affect equipment performance and safety.
[0095] and are typical pressure and temperature values of air compressors, respectively, and are used as a benchmark for normalizing pressure and temperature differences, making the calculated frequency adjustment more comparable and practical.
[0096] and are weight factors for the pressure and temperature differences. These factors define the relative influence of pressure and temperature on the sampling frequency adjustment, allowing the system to adjust according to the importance of different monitoring indicators. These weight factors can be obtained through experimental data or directly from expert knowledge.
[0097] is the adjustment coefficient, which is used to amplify or reduce the amplitude of frequency adjustment to adapt to specific monitoring requirements or response strategies. The adjustment coefficient can be obtained through experimental data or directly based on expert knowledge.
[0098] is the threshold constant, which acts as an adjustment factor to help control the sensitivity of frequency adjustment, prevent frequency adjustment from being too frequent due to small data fluctuations, and maintain the stability of the system and the timeliness of response. The threshold constant can be obtained through experimental data or directly based on expert knowledge.
[0099] In this way, the vibration sensor can increase the sampling frequency when it detects abnormal key parameters such as pressure or temperature, so that the system can quickly respond to potential problems, thereby performing maintenance or adjustments in advance, minimizing downtime, and optimizing the operating efficiency and safety of the equipment. This intelligent data collection strategy enables the air compressor station to monitor the equipment status more accurately and improve the overall system performance.
[0100] The intelligent control and prediction module 102 is used to receive the monitoring data transmitted by the data acquisition and analysis module; based on the monitoring data, by using a trained neural network model, the optimal operating parameters of the air compressor are obtained, and the potential failures of the air compressor are predicted; according to the obtained optimal operating parameters, the operating state of the air compressor is adjusted; according to the identified potential failures, early intervention is carried out to reduce downtime and maintenance costs.
[0101] The intelligent control and prediction module 102 is the core part of the digital control system for energy-saving upgrade of the air compressor station, and is responsible for receiving and processing the monitoring data from the data acquisition and analysis module 101. This module uses a neural network model to conduct in-depth analysis of the data, thereby optimizing the operating parameters of the air compressor and predicting potential equipment failures, thereby realizing intelligent adjustment of the operating status of the air compressor and fault prevention.
[0102] First, the intelligent control and prediction module 102 includes a data receiving interface for seamlessly receiving various data collected by sensors from the data transmission unit, including the operating status data and environmental parameters of the air compressor, such as temperature, pressure, flow rate and other key operating parameters. These data are the basis for all subsequent analysis by the module.
[0103] The module contains a pre-trained neural network model, which is trained based on historical data and machine learning algorithms to identify and predict the operating status and potential failures of air compressors. The neural network model is designed to understand complex data patterns, extract key features, and make accurate operating parameter adjustment recommendations and fault predictions.
[0104] Once the latest monitoring data is received, the neural network model begins to analyze the data, assess the current equipment condition, and predict any trends that may lead to performance degradation or failure. The model outputs recommended optimal operating parameters, which can then be automatically or manually adjusted to the air compressor's control system to optimize its performance and energy efficiency.
[0105] Optimal operating parameters may include but are not limited to the following:
[0106] Pressure settings: The air compressor may require different pressure settings under different operating conditions to ensure maximum efficiency and minimize energy consumption.
[0107] Temperature Control: Controlling the compressor’s operating temperature to optimize performance and prevent overheating may involve adjusting the parameters of the cooling system.
[0108] Flow Control: Adjust the flow of air or gas to meet production needs while ensuring efficient use of energy.
[0109] Startup and shutdown time: Optimize the startup and shutdown schedule of the air compressor to reduce unnecessary energy consumption and mechanical wear.
[0110] Maintenance cycle: Based on predictive maintenance analysis, adjust maintenance and inspection cycles to prevent failures and extend equipment life.
[0111] The implementation of the intelligent control and prediction module needs to ensure the continuous updating and optimization of the neural network model to adapt to new data and possible unknown failure modes. Therefore, the module design also includes the function of model training and updating, which can be retrained regularly or as needed to maintain the prediction accuracy and the overall performance of the system.
[0112] Furthermore, the neural network model includes a basic feature extraction layer, a capsule network and a graph convolutional neural network;
[0113] The basic feature extraction layer is implemented by a recurrent neural network and is used to extract features from the input monitoring data to obtain high-level feature data;
[0114] The capsule network includes a basic feature input layer, a main capsule layer and a parameter output layer; wherein the basic feature input layer is used to receive the high-level feature data provided by the basic feature extraction layer, and convert the high-level feature data into an intermediate feature representation that can be further processed by the capsule network; the main capsule layer includes a plurality of capsules, each capsule is composed of a group of neurons, and the weight of the feature combination is optimized through an iterative routing process, so as to learn the complex relationship between the local features and the global features of the input data; the main capsule layer is used to receive the intermediate feature representation from the basic feature input layer, and use a plurality of capsules to perform dynamic routing processing on the intermediate feature representation to obtain the features after dynamic routing processing; the parameter output layer is implemented using a fully connected network, and is used to receive the features after dynamic routing processing from the main capsule layer, and map the features after dynamic routing processing to the optimal operating parameters of the air compressor; and output the optimal operating parameters of the air compressor;
[0115] The graph convolutional neural network is used to process the high-level feature data provided by the basic feature extraction layer, predict potential faults of the air compressor, and output the predicted potential faults.
[0116] In the neural network model provided in this embodiment, the basic feature extraction layer is the primary part of the neural network model, and its main function is to extract useful features from the input monitoring data. This layer is implemented using a recurrent neural network (RNN) because RNN is particularly suitable for processing sequence data and can effectively capture dynamic changes in time series, which is crucial for monitoring the operating status of the air compressor.
[0117] First, the recurrent neural network configuration of the basic feature extraction layer must ensure that it can process various sensor data from the air compressor station, including but not limited to the pressure data, temperature data, flow data and power consumption data of the air compressor, as well as the ambient temperature, ambient humidity and vibration data of the air compressor. These data are usually time series data, which contain dynamic change information during the operation of the air compressor.
[0118] When processing such data, the recurrent neural network first inputs the data sequence into the network, and the network continuously learns and extracts key features by updating its internal state. These internal states can transmit information across time steps, allowing the network to remember and use information from previous time points to affect subsequent outputs, which is the key to extracting time series features.
[0119] In terms of network structure configuration, the RNN layer usually includes several neurons or units, such as long short-term memory units (LSTM) or gated recurrent units (GRU), which are designed to avoid the gradient vanishing or gradient exploding problems that traditional RNNs may encounter in long sequence learning. The specific type of LSTM or GRU selected depends on the characteristics of the input data and the required processing complexity.
[0120] After the network training is completed, the basic feature extraction layer outputs a set of high-level feature data, which has condensed the important information in the original input data and converted it into a form that is more useful for subsequent processing. These high-level feature data are then sent to the basic feature input layer of the capsule network for further processing and analysis.
[0121] Furthermore, the recurrent neural network is implemented using a bidirectional recurrent neural network, which is used to capture dependencies in time series data from both forward and backward directions to improve the recognition accuracy of dynamic changes in the operating state of the air compressor.
[0122] Bidirectional recurrent neural network is a special type of neural network that captures past and future contextual information by simultaneously passing information forward and backward on time series data. This network structure is particularly suitable for application scenarios where the current state is significantly affected by the previous and next states, such as speech recognition, natural language processing, and time series analysis.
[0123] In a bidirectional recurrent neural network, the network is divided into two branches: forward (positive time direction) and backward (negative time direction). The output at each time point depends not only on the previous state, but also on the subsequent state. This structure enables the network to comprehensively consider the global information of the entire input sequence when making predictions, thereby improving the accuracy and robustness of the predictions.
[0124] The implementation steps of the bidirectional recurrent neural network are:
[0125] Design a neural network model that includes a bidirectional LSTM (Long Short-Term Memory) layer. LSTM is a type of recurrent neural network that can effectively process and memorize long-term dependency information.
[0126] Adding bidirectional layers to the model enables it to learn both forward and reverse dependencies of time series data. This can be achieved by using the bidirectional wrapper in the neural network framework, such as the `Bidirectional` class in TensorFlow or PyTorch.
[0127] Below is the reference code for the basic feature extraction layer. This reference code uses a bidirectional recurrent neural network (Bi-RNN), specifically a bidirectional long short-term memory network (Bi-LSTM), to capture time series dependencies in monitoring data.
[0128] import tensorflow as tf
[0129] from tensorflow.keras.models import Model
[0130] from tensorflow.keras.layers import Input, Bidirectional, LSTM, Dense
[0131] def build_feature_extraction_layer(input_shape):
[0132] """
[0133] Build a basic feature extraction layer and use a bidirectional LSTM to capture forward and backward dependencies in the time series.
[0134] parameter:
[0135] input_shape (tuple): shape of the input data, e.g. (time steps, number of features).
[0136] return:
[0137] model (tensorflow.keras.models.Model): A model with basic feature extraction layers.
[0138] """
[0139] # Define the input layer, input_shape is usually (time step, number of features)
[0140] inputs = Input(shape=input_shape, name='input_layer')
[0141] # Add a bidirectional LSTM layer
[0142] # The number of units in the LSTM layer can be adjusted according to the complexity of the data. Here we assume that 64 units are used.
[0143] bi_lstm = Bidirectional(LSTM(64, return_sequences=True, name='bi_lstm_layer'), name='bidirectional_wrapper')(inputs)
[0144] # Add an output layer and use the Dense layer to further compress the features. Here, we assume that 128 high-level features are output.
[0145] outputs = Dense(128, activation='relu', name='output_layer')(bi_lstm)
[0146] # Build the model
[0147] model = Model(inputs=inputs, outputs=outputs, name='feature_extraction_model')
[0148] # Compile the model. Here, only the optimizer is set. In actual use, loss functions and evaluation indicators should be added according to specific tasks.
[0149] model.compile(optimizer='adam')
[0150] return model
[0151] # Example
[0152] # Assume that each sample has 10 time steps and each time step has 20 features
[0153] input_shape = (10, 20)
[0154] model = build_feature_extraction_layer(input_shape)
[0155] model.summary() # Print model structure and view detailed configuration
[0156] In the reference code above, the input layer defines the shape of the input, i.e. the number of time steps of the time series and the number of features at each time step. This provides the network with the necessary input data structure information.
[0157] The bidirectional LSTM layer captures the forward and backward time series dependencies by applying LSTM in two directions at each time step. This structure enables the network to integrate the information before and after the current time step, improving the ability to capture dynamic changes.
[0158] The output layer uses a fully connected layer to convert the output of the bidirectional LSTM into a set of higher-level feature representations. These features will be used in subsequent network layers or directly for the final task prediction.
[0159] In this embodiment, the capsule network is a key neural network module for processing high-level feature data provided by the basic feature extraction layer. The capsule network consists of three main parts: the basic feature input layer, the main capsule layer, and the parameter output layer. This network structure is designed to more effectively parse and utilize input features by simulating the hierarchical structure in the data.
[0160] The first component of the capsule network is the basic feature input layer, which directly receives high-level feature data from the basic feature extraction layer. These data already contain important information about the operating status of the air compressor, such as the time series analysis results of temperature, pressure and other data. The task of the basic feature input layer is to further convert these high-level features into intermediate feature representations to prepare for subsequent deeper analysis.
[0161] Next is the main capsule layer, the core part of the capsule network. This layer contains multiple capsules, each of which consists of a group of neurons. Each group of neurons can not only capture local features, but also learn the complex hierarchical relationship of input data through the dynamic routing mechanism between capsules. The dynamic routing process is an iterative process that strengthens the transmission of important features by optimizing the connection weights between capsules while suppressing the influence of irrelevant or noise features. This mechanism enables the network to more accurately characterize the operating status of the air compressor and improve the representation ability of features.
[0162] Finally, there is the parameter output layer, which uses a fully connected network to process the features output by the main capsule layer. At this stage, the network synthesizes all the filtered and weighted features and outputs the final result - the optimal operating parameters of the air compressor. These parameters are calculated based on the current machine status and historical data, and can be directly used to adjust the actual operating settings of the air compressor to optimize its performance and energy efficiency.
[0163] In capsule networks, the dynamic routing algorithm is a key technology that enables the network to effectively learn the important features and hierarchical structure of input data by optimizing the connection weights between capsules. Implementing this algorithm involves detailed steps and precise parameter adjustments to ensure that the network can not only capture key information, but also provide accurate predictions and optimization suggestions in practical applications.
[0164] The implementation of dynamic routing first requires initializing the connection weights, which are usually set to zero or a small random number at the beginning. Subsequently, the algorithm adjusts these weights through multiple iterations so that important features can be strengthened and unimportant features can be suppressed.
[0165] The number of iterations is a key parameter that affects model performance. Generally speaking, the number of iterations should be determined based on the complexity of the data and the depth of the network. In practical applications, the optimal number of iterations is usually determined through experiments to ensure that the network is neither overfitting nor underfitting. Generally, the number of iterations can range from 3 to 5.
[0166] Another key factor is the update rule of the routing coefficients, which determine how the outputs of different capsules are combined. In each iteration, the routing coefficients are updated based on the similarity of the capsule outputs. Specifically, if the outputs of two capsules are highly similar, the connection weight between them is increased, and vice versa. The similarity is usually evaluated by calculating the dot product of the capsule output vectors.
[0167] The following is the reference implementation code of the capsule network:
[0168] import tensorflow as tf
[0169] from tensorflow.keras import layers, models
[0170] class CapsuleLayer(layers.Layer):
[0171] """Custom capsule layer to implement dynamic routing algorithm"""
[0172] def __init__(self, num_capsule, dim_capsule, routing=3, **kwargs):
[0173] super(CapsuleLayer, self).__init__(**kwargs)
[0174] self.num_capsule = num_capsule
[0175] self.dim_capsule = dim_capsule
[0176] self.routings = routings
[0177] self.kernel_initializer = tf.keras.initializers.glorot_uniform()
[0178] def build(self, input_shape):
[0179] self.W = self.add_weight(shape=[input_shape[-1], self.num_capsule, self.dim_capsule],
[0180] initializer=self.kernel_initializer,
[0181] name='weights')
[0182] def call(self, inputs):
[0183] # Expand and tile the input to match the capsule dimensions
[0184] inputs_expand = tf.expand_dims(inputs, 2)
[0185] inputs_tiled = tf.tile(inputs_expand, [1, 1, self.num_capsule, 1])
[0186] # Multiply the input by the weight matrix
[0187] inputs_transformed = tf.squeeze(tf.map_fn(lambda x: tf.matmul(x, self.W), elems=inputs_tiled), axis=2)
[0188] # Initialize routing weight
[0189] b_ij = tf.zeros(shape=[inputs.shape[0], inputs.shape[1],self.num_capsule])
[0190] # Routing process
[0191] for i in range(self.routings):
[0192] c_ij = tf.nn.softmax(b_ij, axis=-1)
[0193] s_j = tf.linalg.matmul(c_ij, inputs_transformed,transpose_a=True)
[0194] v_j = self.squash(s_j)
[0195] if i < self.routings - 1:
[0196] b_ij += tf.linalg.matmul(inputs_transformed, v_j,transpose_b=True)
[0197] return tf.squeeze(v_j, axis=1)
[0198] def squash(self, vectors, axis=-1):
[0199] s_squared_norm = tf.reduce_sum(tf.square(vectors), axis,keepdims=True)
[0200] scale = s_squared_norm / (1 + s_squared_norm) / tf.sqrt(s_squared_norm + tf.keras.backend.epsilon())
[0201] return scale * vectors
[0202] # Build the overall model
[0203] def build_model(input_shape):
[0204] inputs = layers.Input(shape=input_shape)
[0205] x = layers.LSTM(64, return_sequences=True)(inputs)
[0206] x = layers.LSTM(32, return_sequences=False)(x)
[0207] x = layers.Dense(128, activation='relu')(x)
[0208] # Capsule Network Layer
[0209] x = CapsuleLayer(num_capsule=10, dim_capsule=16, routings=3)(x)
[0210] # Parameters output layer
[0211] outputs = layers.Dense(10, activation='softmax')(x)
[0212] model = models.Model(inputs=inputs, outputs=outputs)
[0213] model.compile(optimizer='adam', loss='categorical_crossentropy',metrics=['accuracy'])
[0214] return model
[0215] # Example
[0216] model = build_model((100, 50)) # Assume that the input data dimension is (time step, number of features)
[0217] model.summary()
[0218] In this code, the CapsuleLayer class implements the main capsule layer of the capsule network including the dynamic routing algorithm. The dynamic routing iteration process is added to this layer, and a fully connected layer is added at the end of the network as the parameter output layer.
[0219] Furthermore, the main capsule layer of the capsule network uses a dynamic routing algorithm to adjust the connection weights between capsules to improve the accuracy and robustness in identifying different air compressor operation modes; wherein the capsule network includes primary capsules and advanced capsules; the primary capsule refers to a capsule converted from a feature vector output by a basic feature input layer, and each primary capsule is used to encode a different basic feature combination of input data; the advanced capsule is used to receive information from the primary capsule and process it through a dynamic routing process to form a representation of higher-level features; the dynamic routing algorithm includes the following steps:
[0220] Initialization step S1: for primary capsule To the advanced capsule Set the initial connection weight for each possible connection ;
[0221] Iterative update step S2: For high-level capsules , according to the following formula 1, calculate its relationship with all primary capsules The coupling coefficient :
[0222]
[0223] For premium capsules , according to the output vector of the primary capsule , calculate the total input vector according to the following formula 2 :
[0224]
[0225] For premium capsules , use the following formula 3 to calculate its output vector :
[0226]
[0227] Update the connection weight according to the following formula 4 :
[0228]
[0229] Output step S3: After completing the specified number of iterations, output the output vector of each advanced capsule As the final identified feature representation, it is used for fine identification of the air compressor operation mode in the subsequent process.
[0230] In the digital control system for energy-saving upgrades of air compressor stations, the capsule network is designed to accurately identify the different operating modes of air compressors by deeply learning and analyzing the features extracted from monitoring data. This process specifically uses a dynamic routing algorithm to adjust the connection weights between capsules, which is designed to improve the accuracy and robustness of the identification process.
[0231] The capsule network is mainly composed of two types of capsules: primary capsules and advanced capsules. Primary capsules are converted from the feature vector output by the basic feature input layer, and each primary capsule is used to encode different basic feature combinations of the input data. These primary capsules capture the underlying features of the data. Advanced capsules receive information from primary capsules and process it through a dynamic routing process to form a representation of higher-level features. This hierarchical processing allows the network to learn more complex and abstract feature representations from primary data.
[0232] The dynamic routing algorithm is the core of the capsule network, which includes the following steps:
[0233] 1. Initialization steps:
[0234] For each primary capsule To each premium capsule Initialize the connection weight is 0. This initialization process provides a starting point for subsequent iterative updates.
[0235] 2. Iterative update steps:
[0236] Calculation of coupling coefficient :This step involves calculating the coupling coefficient between each high-level capsule and all primary capsules, which is implemented through a softmax function. The specific formula is:
[0237]
[0238] in Indicates that from the primary capsule To the advanced capsule The coupling strength, is the corresponding connection weight.
[0239] Here is an index of an inner loop, used to calculate all the high-level capsules The connection weight The sum of the exponentials of This normalization ensures that The sum of all the connection weights at the outset is equal to 1, so that the output of each primary capsule is distributed to all higher-level capsules according to these normalized coupling coefficients.
[0240] Calculate the total input vector : Advanced Capsules The total input vector is obtained by combining the output vectors of all primary capsules The corresponding coupling coefficient The weighted summation is:
[0241]
[0242] here is the output vector of the primary capsule.
[0243] Calculate the output vector :The output vector of the advanced capsule is calculated by a squash function, which ensures that the length of the output vector will not be too large. The formula is as follows:
[0244]
[0245] Update connection weights : After each iteration, the connection weights are updated to enhance the model's ability to learn features:
[0246]
[0247] The update here depends on the output of the primary capsule and the output of the advanced capsule The dot product between them reflects the degree of consistency between them.
[0248] 3. Output steps:
[0249] After completing the set number of iterations, the output vector of each high-level capsule is The final feature representation will be output, and these features are used for fine identification of the air compressor operation mode in the subsequent process.
[0250] Below is the reference implementation code of the main capsule layer using primary capsules and advanced capsules:
[0251] import tensorflow as tf
[0252] from tensorflow.keras import layers
[0253] class CapsuleLayer(layers.Layer):
[0254] def __init__(self, num_capsules, dim_capsule, routings, **kwargs):
[0255] super(CapsuleLayer, self).__init__(**kwargs)
[0256] self.num_capsules = num_capsules
[0257] self.dim_capsule = dim_capsule
[0258] self.routings = routings
[0259] def build(self, input_shape):
[0260] # Initialize weights
[0261] self.W = self.add_weight(shape=[self.num_capsules, input_shape[-1], self.dim_capsule],
[0262] initializer='glorot_uniform',
[0263] name='weights')
[0264] self.built = True
[0265] def call(self, inputs):
[0266] # Step 1: Initialize the connection weights b_ij from primary capsule i to digit capsule j to 0
[0267] batch_size = tf.shape(inputs)[0]
[0268] input_num_capsules = tf.shape(inputs)[1]
[0269] b_ij = tf.zeros([batch_size, input_num_capsules, self.num_capsules, 1])
[0270] # Expand the input and prepare for multiplication
[0271] inputs_expand = tf.expand_dims(inputs, 2)
[0272] inputs_tiled = tf.tile(inputs_expand, [1, 1, self.num_capsules, 1])
[0273] inputs_transformed = tf.map_fn(lambda x: tf.matmul(self.W,x), elems=inputs_tiled)
[0274] # Dynamic Routing Algorithm
[0275] for i in range(self.routings):
[0276] # Step 2: Calculate the coupling coefficient c_ij
[0277] c_ij = tf.nn.softmax(b_ij, axis=2)
[0278] # Step 3: Calculate the total input vector s_j
[0279] s_j = tf.reduce_sum(tf.multiply(c_ij, inputs_transformed), axis=1, keepdims=True)
[0280] # Step 4: Calculate the output vector v_j
[0281] v_j = self.squash(s_j)
[0282] # Step 5: Update connection weight b_ij
[0283] v_j_tiled = tf.tile(v_j, [1, input_num_capsules, 1, 1])
[0284] agreement = tf.matmul(inputs_transformed, v_j_tiled,transpose_a=True)
[0285] b_ij += agreement
[0286] return tf.squeeze(v_j, axis=1)
[0287] @staticmethod
[0288] def squash(x, axis=-1):
[0289] #Compression function to ensure that the output vector length is not too large
[0290] s_squared_norm = tf.reduce_sum(tf.square(x), axis, keepdims=True)
[0291] scale = s_squared_norm / (1 + s_squared_norm)
[0292] return scale * x / tf.sqrt(s_squared_norm +tf.keras.backend.epsilon())
[0293] # Example
[0294] # Assuming input_tensor is the output tensor from the primary capsule layer, these tensors should have shape [batch_size, num_primary_capsules, dim_primary_capsules]
[0295] num_capsules = 10
[0296] dim_capsule = 16
[0297] routings = 3
[0298] capsule_layer = CapsuleLayer(num_capsules=num_capsules, dim_capsule=dim_capsule, routings=routings)
[0299] output_tensor = capsule_layer(input_tensor)
[0300] The graph convolutional neural network (GCN) plays a core role, specifically used to process the high-level feature data provided by the basic feature extraction layer through the recurrent neural network (RNN) to predict the potential failure of the air compressor. This network structure is particularly suitable for processing data showing complex relationships and can effectively analyze and identify patterns that may lead to equipment performance degradation or failure.
[0301] The graph convolutional neural network first receives the high-level feature data extracted and transmitted from the basic feature extraction layer. These data already contain the results of time series analysis and can show the dynamic changes in the operation of the air compressor. GCN converts these feature data into a graph structure, where each node represents a feature (such as temperature, pressure, etc.), and the edges between nodes represent the dependencies between the features.
[0302] GCN processes this data by performing convolution operations on the graph. Each convolution is designed to extract information about the node and its neighbors, thereby learning the local and global relationships between features. During training, the network improves the accuracy of predictions by optimizing the connection weights between nodes. This process is called dynamic routing. Dynamic routing is implemented by iteratively adjusting the connection weights. Each iteration updates the weights based on the similarity of node features to strengthen the influence of key features.
[0303] The trained GCN is able to use the processed graph data to predict potential failures. The system analyzes pattern changes in the graph and identifies behaviors that are significantly different from normal operating patterns, which may indicate future equipment failures. The output of the GCN is a detailed prediction of potential failures, which is critical for preventive maintenance and reducing unexpected downtime.
[0304] The following is the reference code of the graph convolutional neural network, which shows how to receive data from the basic feature extraction layer, convert it into a graph form, perform feature processing through the graph convolution layer, and finally output the fault prediction result.
[0305] import tensorflow as tf
[0306] from tensorflow.keras import layers, models
[0307] Import Spektral
[0308] class GraphConvolutionLayer(layers.Layer):
[0309] """Custom graph convolution layer"""
[0310] def __init__(self, units, activation=None, **kwargs):
[0311] super(GraphConvolutionLayer, self).__init__(**kwargs)
[0312] self.units = units
[0313] self.activation = tf.keras.activations.get(activation)
[0314] def build(self, input_shape):
[0315] self.kernel = self.add_weight(shape=(input_shape[0][-1],self.units),
[0316] initializer='glorot_uniform',
[0317] name='kernel')
[0318] self.bias = self.add_weight(shape=(self.units,),
[0319] initializer='zeros',
[0320] name='bias')
[0321] def call(self, inputs):
[0322] features, adj = inputs
[0323] # Dot multiply the adjacency matrix and features, then dot multiply the weight matrix
[0324] x = tf.matmul(adj, features)
[0325] x = tf.matmul(x, self.kernel)
[0326] x = tf.nn.bias_add(x, self.bias)
[0327] if self.activation:
[0328] x = self.activation(x)
[0329] return x
[0330] def build_gcn_model(feature_shape, num_classes):
[0331] """Building a graph convolutional network model"""
[0332] # Input features and adjacency matrix
[0333] features_input = layers.Input(shape=(feature_shape,))
[0334] adj_input = layers.Input(shape=(None,))
[0335] # Graph Convolutional Layer
[0336] x = GraphConvolutionLayer(32, activation='relu')([features_input,adj_input])
[0337] x = GraphConvolutionLayer(16, activation='relu')([x, adj_input])
[0338] # Flattening operation followed by a fully connected layer to output fault prediction results
[0339] x = layers.Flatten()(x)
[0340] output = layers.Dense(num_classes, activation='softmax')(x)
[0341] # Build the model
[0342] model = models.Model(inputs=[features_input, adj_input], outputs=output)
[0343] model.compile(optimizer='adam', loss='categorical_crossentropy',metrics=['accuracy'])
[0344] return model
[0345] # Example: Building a model
[0346] num_features = 100 # Assume each node has 100 features
[0347] num_classes = 10 # Assume there are 10 possible failure types
[0348] gcn_model = build_gcn_model(num_features, num_classes)
[0349] gcn_model.summary()
[0350] # Provide feature data and corresponding adjacency matrix for the model
[0351] # features_data and adj_matrix need to be prepared in advance according to the actual data situation
[0352] # gcn_model.fit([features_data, adj_matrix], labels, epochs=10)
[0353] This code first defines a custom graph convolution layer `GraphConvolutionLayer`, which can process the input features and adjacency matrix and extract information about nodes and their neighborhoods through graph convolution operations. In the model, two such graph convolution layers are stacked to further enhance the model's ability to learn local and global feature dependencies. Finally, the output of the graph convolution layer is converted into a probability distribution of potential fault types through a fully connected layer.
[0354] Furthermore, the neural network model uses a loss function The capsule network and graph convolutional neural network are jointly trained, and the loss function As shown in Formula 5 below:
[0355]
[0356] in, is the parameterized loss; Losses for predictive maintenance; is the regularization term; , and is a hyperparameter used to balance the contribution of different loss parts; parameterized loss As shown in Formula 6 below:
[0357]
[0358] in, Indicates The predicted operating parameters; Indicates Actual operating parameters; It is The weight of the operating parameters; is the sum of the operating parameters;
[0359] Predictive maintenance losses As shown in Formula 7 below:
[0360]
[0361] in, is the total number of potential fault types; It is The number of instances of each fault type prediction; It is The fault type The predicted probability of an instance; Indicates The fault type The predicted occurrence time of each instance; Indicates The fault type The actual time when the instance occurred; It is The weight of each fault type;
[0362] Regularization term As shown in Formula 8 below:
[0363]
[0364] in, Represents model parameters of the neural network model.
[0365] In the digital control system for energy-saving upgrade of air compressor station, the neural network model adopts a comprehensive loss function To jointly train the capsule network and the graph convolutional neural network (GCN). This loss function not only focuses on the model's prediction accuracy of the air compressor operating parameters, but also includes the ability to predict potential faults, while adding regularization terms to prevent the model from overfitting. The following will explain in detail the various components of the loss function and their role in model training.
[0366] Loss Function It is composed of three parts, as follows:
[0367] 1. Parameterized Loss :
[0368] This part of the loss focuses on the accuracy of the model in predicting the operating parameters of the air compressor.
[0369] The formula is:
[0370] in The model predicts parameters, are the corresponding actual parameters, is the weight of the parameter, indicating the importance of the prediction error of different parameters in the total loss. It can be obtained through experimental data or set directly based on expert knowledge.
[0371] is the total number of running parameters involved in training.
[0372] 2. Predictive maintenance losses :
[0373] This section evaluates the effectiveness of the loss assessment model in predicting potential problems that could lead to equipment failure.
[0374] The formula is:
[0375]
[0376] in is the total number of potential fault types, It is The number of predicted instances of each fault type.
[0377] It is The fault type The predicted probability of an instance, and are the predicted and actual occurrence times respectively.
[0378] It is The weights of the fault types reflect the importance of different fault types. It can be obtained through experimental data or set directly based on expert knowledge.
[0379] 3. Regularization term :
[0380] The regularization term is used to prevent overfitting caused by excessive model complexity.
[0381] The formula is:
[0382] represents the model parameters of the neural network model, where the complexity of the model is limited by penalizing the sum of squares of all model parameters.
[0383] , and are hyperparameters used to balance the contribution of each part in the loss function. The setting of these parameters critically affects the focus of model training, for example, increasing Will make the model pay more attention to reducing the error of parameter prediction and increase This allows the model to focus more on improving the accuracy of fault prediction.
[0384] In the digital control system for energy-saving upgrade of air compressor stations, the neural network model plays a core role. Its training process involves multiple key steps, from data collection to model deployment, each of which is crucial to the final system performance. This process not only ensures that the model can accurately predict the operating parameters of the air compressor, but also effectively predict potential failures, thereby optimizing the operating efficiency and reliability of the air compressor.
[0385] The training process of the neural network model includes:
[0386] 1. Data collection and preparation:
[0387] First, sensors deployed in the air compressor station collect data about the operating status and environmental parameters of the air compressor, including but not limited to pressure, temperature, flow, etc.
[0388] The collected data needs to be preprocessed, including cleaning (removing noise and outliers), standardization or normalization, to make it suitable for effective machine learning processing.
[0389] 2. Feature extraction:
[0390] A recurrent neural network is used as the basic feature extraction layer to process the input monitoring data. The purpose of this layer is to extract useful features from time series data and convert them into high-level feature data, laying the foundation for subsequent deep learning tasks.
[0391] 3. Capsule network processing:
[0392] The high-level feature data is first fed into the base feature input layer of the capsule network, which converts the data into an intermediate feature representation.
[0393] These intermediate features are then processed by the main capsule layer, which optimizes the feature combination weights between different capsules through a dynamic routing algorithm. This process relies on iterative routing updates to accurately capture the complex relationships and patterns of the input data.
[0394] The features output by the main capsule layer are processed by the parameter output layer, which uses a fully connected network to map the features into the optimal operating parameters of the air compressor.
[0395] 4. Graph Convolutional Neural Network Applications:
[0396] At the same time, the high-level feature data provided by the basic feature extraction layer is also fed into the graph convolutional neural network, which is responsible for analyzing the complex associations and structures of the feature data and predicting potential failures that may cause device performance degradation.
[0397] 5. Model training and optimization:
[0398] During this stage, the entire neural network model learns how to extract valuable information from the data and make accurate predictions through repeated training and adjustment.
[0399] Use methods such as cross-validation to evaluate model performance and ensure its generalization ability on unseen data.
[0400] 6. Deployment and real-time monitoring:
[0401] The trained model is deployed back to the control system of the air compressor station to process data from sensors in real time and provide operating parameter optimization suggestions and fault warnings.
[0402] The optimal operating parameters output by the model are used to adjust the actual operating settings of the air compressor, while the fault prediction results are used to guide maintenance decisions, optimize maintenance plans and reduce unexpected downtime.
[0403] The loss function used in the neural network model combines the parameterized loss and the predictive maintenance loss, and adds a regularization term to control the model complexity to ensure the robustness and accuracy of the model. The contribution of each part is determined by the corresponding hyperparameters , and These hyperparameters need to be carefully adjusted before training to achieve the best learning effect.
[0404] The energy recovery and reuse module 103 is used to capture the waste heat energy emitted by the air compressor and convert the captured waste heat energy into hot water or steam through a heat exchanger and heat energy conversion technology to meet the heat energy demand in heating and industrial production processes.
[0405] In the digital control system for energy-saving upgrade of air compressor stations, the energy recovery and reuse module plays a vital role, capturing and converting the waste heat energy emitted by the air compressor during operation to provide heat energy for the heating system or industrial production process. The design and implementation of this module aims to improve energy efficiency, reduce energy waste, and reduce operating costs.
[0406] This module mainly includes the following key components and steps:
[0407] 1. Capture of waste heat energy:
[0408] Air compressors generate a lot of heat during normal operation, which is usually lost to the environment and not effectively utilized.
[0409] Using efficient heat exchangers, these devices are able to capture the exhaust heat from the air compressor, typically involving routing a coolant (such as water or a specialized cooling medium) through the heat exchanger to absorb the waste heat.
[0410] 2. Thermal energy conversion:
[0411] The captured heat is converted into hot water or steam through a heat exchange process that depends not only on the design and efficiency of the heat exchanger, but may also involve additional heat conversion equipment such as a steam generator.
[0412] The form of heat energy converted (hot water or steam) depends on the specific needs, hot water can be used for heating systems, while steam is widely used in industrial production processes.
[0413] 3. Distribution and utilization of thermal energy:
[0414] According to the needs of the air compression station, the converted heat energy will be transported to different usage points through the pipeline system.
[0415] In a heating system, hot water or steam is piped throughout a building or facility to heat spaces or provide heat to other equipment.
[0416] In industrial production processes, steam can be used to drive equipment, heat raw materials or carry out chemical reactions.
[0417] Furthermore, the energy recovery and reuse module includes a thermal energy storage unit for storing thermal energy generated during low demand periods for use during high demand periods.
[0418] In the digital control system for energy-saving upgrade of air compressor stations, a key component of the energy recovery and reuse module is the thermal energy storage unit. The main function of this unit is to store the waste heat energy generated by the air compressor during periods of low energy demand and release this energy for use during peak demand periods. This function not only enhances the energy efficiency of the system, but also provides important support for balancing energy supply and demand and reducing energy costs.
[0419] Thermal energy storage units typically use physical or chemical methods to store thermal energy. Physical storage may involve using water or other media to store thermal energy in an insulated container, while chemical storage may involve chemical reactions that absorb or release heat. Either way, the key goal is to capture and preserve thermal energy so that it can be used again when needed.
[0420] Implementation steps include:
[0421] 1. Thermal energy capture:
[0422] Waste heat is captured from the air compressor through heat exchangers. These heat exchangers are designed to be efficient enough to extract the maximum amount of heat energy from the hot exhaust air from the air compressor.
[0423] 2. Heat energy conversion and transmission:
[0424] The captured thermal energy is converted into a form suitable for storage, such as heating water or other thermal storage media.
[0425] This heat is transferred to a thermal energy storage unit via a pipe system.
[0426] 3. Thermal energy storage:
[0427] In a thermal energy storage unit, thermal energy is kept stored in a predetermined form and the unit is designed to ensure that thermal energy losses are minimized, for example by retaining heat through insulation materials.
[0428] 4. Heat energy release:
[0429] Depending on the energy demand of the compressor station, the thermal energy storage unit can release the stored thermal energy during high demand periods, such as using the stored hot water for heating or industrial production.
[0430] 5. Monitoring and Control:
[0431] The system is equipped with sensors and control systems to monitor the status of thermal energy storage and release in real time to ensure effective energy management.
[0432] The control system optimizes the storage and use of thermal energy according to preset logic or through manual intervention to achieve the best energy efficiency and economic benefits.
[0433] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A digital control system for energy-saving upgrade of air compressor station, characterized in that: include: The data acquisition and analysis module includes a sensor and a data transmission unit. The sensor is deployed in the air compression station to monitor the operating status data and environmental parameters of the air compressor in the air compression station; and the monitoring data monitored by the sensor is transmitted to the intelligent control and optimization module and the predictive maintenance module through the data transmission unit; An intelligent control and prediction module is used to receive the monitoring data transmitted by the data acquisition and analysis module; based on the monitoring data, by using a trained neural network model, the optimal operating parameters of the air compressor are obtained, and potential failures of the air compressor are predicted; according to the obtained optimal operating parameters, the operating state of the air compressor is adjusted; according to the identified potential failures, early intervention is carried out to reduce downtime and maintenance costs; Energy recovery and reuse module, used to capture waste heat energy emitted by air compressors and convert the captured waste heat energy into hot water or steam through heat exchangers and heat energy conversion technology to meet the heat energy needs of heating and industrial production processes; Wherein, the neural network model includes a basic feature extraction layer, a capsule network and a graph convolutional neural network; The basic feature extraction layer is implemented by a recurrent neural network and is used to extract features from the input monitoring data to obtain high-level feature data; The capsule network includes a basic feature input layer, a main capsule layer and a parameter output layer; wherein the basic feature input layer is used to receive the high-level feature data provided by the basic feature extraction layer, and convert the high-level feature data into an intermediate feature representation that can be further processed by the capsule network; the main capsule layer includes a plurality of capsules, each capsule is composed of a group of neurons, and the weight of the feature combination is optimized through an iterative routing process, so as to learn the complex relationship between the local features and the global features of the input data; the main capsule layer is used to receive the intermediate feature representation from the basic feature input layer, and use a plurality of capsules to perform dynamic routing processing on the intermediate feature representation to obtain the features after dynamic routing processing; the parameter output layer is implemented using a fully connected network, and is used to receive the features after dynamic routing processing from the main capsule layer, and map the features after dynamic routing processing to the optimal operating parameters of the air compressor; and output the optimal operating parameters of the air compressor; The graph convolutional neural network is used to process the high-level feature data provided by the basic feature extraction layer to predict potential faults of the air compressor; and output the predicted potential faults; The main capsule layer of the capsule network uses a dynamic routing algorithm to adjust the connection weights between capsules to improve the accuracy and robustness in identifying different air compressor operation modes; the capsule network includes primary capsules and advanced capsules; the primary capsule refers to a capsule converted from a feature vector output by a basic feature input layer, and each primary capsule is used to encode a different basic feature combination of input data; the advanced capsule is used to receive information from the primary capsule and process it through a dynamic routing process to form a representation of higher-level features; the dynamic routing algorithm includes the following steps: Initialization step S1: for primary capsule To the advanced capsule Set the initial connection weight for each possible connection ; Iterative update step S2: For high-level capsules , according to the following formula 1, calculate its relationship with all primary capsules The coupling coefficient : For premium capsules , according to the output vector of the primary capsule , calculate the total input vector according to the following formula 2 : For premium capsules , use the following formula 3 to calculate its output vector : Update the connection weight according to the following formula 4 : Output step S3: After completing the specified number of iterations, output the output vector of each advanced capsule As the final recognition feature representation, it is used for fine recognition of the air compressor operation mode in the subsequent process; Among them, the neural network model uses the loss function The capsule network and graph convolutional neural network are jointly trained, and the loss function As shown in Formula 5 below: in, is the parameterized loss; Losses for predictive maintenance; is the regularization term; , and is a hyperparameter used to balance the contribution of different loss parts; parameterized loss As shown in Formula 6 below: in, Indicates The predicted operating parameters; Indicates Actual operating parameters; It is The weight of the operating parameters; is the sum of the operating parameters; Predictive maintenance losses As shown in Formula 7 below: in, is the total number of potential fault types; It is The number of instances of each fault type prediction; It is The fault type The predicted probability of an instance; Indicates The fault type The predicted occurrence time of each instance; Indicates The fault type The actual time when the instance occurred; It is The weight of each fault type; Regularization term As shown in Formula 8 below: in, Represents model parameters of the neural network model.
2. The air compressor station energy-saving upgrade digital control system according to claim 1 is characterized in that: The recurrent neural network is implemented using a bidirectional recurrent neural network, which is used to capture dependencies in time series data simultaneously from a forward direction and a backward direction to improve the recognition accuracy of dynamic changes in the operating state of the air compressor.
3. The air compressor station energy-saving upgrade digital control system according to claim 1 is characterized in that: The sensors in the data acquisition and analysis module include temperature sensors, pressure sensors and flow sensors to provide comprehensive air compressor operating status monitoring.
4. The air compressor station energy-saving upgrade digital control system according to claim 1 is characterized in that: The data transmission unit adopts wired communication technology to remotely transmit monitoring data to the intelligent control and optimization module and the predictive maintenance module in real time.
5. The air compressor station energy-saving upgrade digital control system according to claim 1 is characterized in that: The data acquisition and analysis module includes a data buffer storage unit, which is used to temporarily store monitoring data when the network connection is unstable and transmit the data after the network is restored.
6. The air compressor station energy-saving upgrade digital control system according to claim 1 is characterized in that: The energy recovery and reuse module includes a thermal energy storage unit for storing thermal energy generated during low demand periods for use during high demand periods.
7. The air compressor station energy-saving upgrade digital control system according to claim 3 is characterized in that: The data acquisition and analysis module includes a vibration sensor with an adaptive sampling frequency function, and the sampling frequency of the pressure sensor Calculate according to the following formula 9: in, is the basic sampling frequency, i.e. the default sampling frequency under normal operating conditions; It is the difference between the current pressure of the air compressor and the pressure safety threshold; It is the difference between the current temperature of the air compressor and the temperature safety threshold; Indicates the typical pressure value of the air compressor; Indicates the typical temperature value of the air compressor; and is the weight factor; is the adjustment coefficient; is the threshold constant.
