Optimization Control Method for Air Compressor System Based on Multi-Sensor and Modeling

Through multi-sensor and modeling methods, the air compressor system data is collected and cleaned in real time, the equipment model is trained, and the control parameters are optimized using genetic algorithms, which solves the adaptability problem of traditional air compressor system control methods, and realizes efficient operation and energy efficiency optimization of the system.

CN120062097BActive Publication Date: 2025-07-08SHANGHAI DIETENG NETWORK TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510526183.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-07-08
Estimated Expiration
2045-04-25

AI Technical Summary

Technical Problem

The traditional air compressor system control method cannot adapt to the complex and changeable working environment, resulting in waste of energy and low equipment efficiency, and cannot meet the operating efficiency characteristics of different brands and models of air compressors.

Method used

The multi-sensor and modeling method is used to collect the air compressor system data in real time, clean the data through the quartile method and sliding window method, train the performance models of the air compressor, dryer, cooling pump, and cooling tower, and optimize the control parameters using genetic algorithms to achieve the lowest energy consumption of the system and the highest dew point temperature.

Benefits of technology

The full state perception of the air compressor system is realized, the quantitative relationship between equipment energy consumption and control parameters is established, the control parameters are optimized to reduce energy consumption, and the system is always in the best energy efficiency state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120062097B_ABST
    Figure CN120062097B_ABST
Patent Text Reader

Abstract

The present invention provides an optimized control method for an air compressor system based on multi-sensors and modeling, including: sensor installation: installing an ambient temperature and humidity sensor, an atmospheric pressure sensor, a gas supply flow sensor, etc. in the air compressor system; data acquisition: collecting the operation data of the air compression system; model training: using the collected data, after data cleaning, training the models of each device in the air compression system; optimization calculation: according to the topological structure of the air compression system, connecting the models of each device in the air compression system together, and using a genetic algorithm to calculate the optimal control parameters with the goals of the lowest energy consumption and the highest dew point temperature; control parameter distribution: distributing the optimized parameters to the devices for execution. The present invention can optimize the operation parameters of the air compressor and reduce energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optimization control of air compressor systems, and in particular to an optimization control method for air compressor systems based on multiple sensors and modeling. Background Art

[0002] The air compressor system is an important power source equipment in industrial production, and its operating efficiency directly affects energy consumption and production costs. Traditional air compressor system control methods usually rely on experience or fixed rules, which are difficult to adapt to complex and changing working environments. At the same time, they cannot adapt to the operating efficiency characteristics of air compressors of different brands and models, resulting in energy waste and low equipment efficiency. In addition, the operating status of equipment such as dryers and cooling towers in the air compressor system will also affect the performance of the overall system. Therefore, how to achieve efficient operation of the air compressor system through data acquisition, modeling and optimization control has become a technical problem that needs to be solved urgently.

[0003] Patent application document CN116877414A discloses an air compressor temperature control optimization test device and measurement method based on orthogonal test of response surface model, including a variable frequency oil pump, a flow meter and a tested temperature control valve connected in series in the main oil circuit. The oil circuit is divided into two branches after passing through the tested temperature control valve, one is a non-cooling branch, and the other is a cooling branch. The two branches are mixed before entering the air compressor. The tested temperature control valve is used to control the flow of the two branches, wherein the cooling branch includes a variable frequency fan for cooling, a quick-release cooler, a flow meter, and a flow regulating valve. However, this patent cannot completely solve the existing technical problems, nor can it meet the needs of the present invention. Summary of the invention

[0004] In view of the defects in the prior art, the object of the present invention is to provide an air compressor system optimization control method based on multi-sensor and modeling.

[0005] The air compressor system optimization control method based on multi-sensor and modeling provided by the present invention includes:

[0006] Step 1: Install environmental temperature and humidity sensors, atmospheric pressure sensors, air supply flow sensors, cooling water flow sensors, cooling water temperature sensors, air compressor power sensors, dryer humidity sensors and cooling tower power sensors in the air compressor system to collect corresponding data in real time;

[0007] Step 2: Use the quartile method combined with the sliding window method to clean the collected data, remove outliers and smooth the noise data;

[0008] Step 3: Based on the cleaned data, train the air compressor power model, dryer humidity model, cooling pump frequency model and cooling tower power model respectively;

[0009] Step 4: According to the topological structure of the air compressor system, couple the device models into an overall system model, and output the total system energy consumption and dew point temperature;

[0010] Step 5: Using the lowest energy consumption and the highest dew point temperature as the optimization objectives, adopt the genetic algorithm to perform multi-objective optimization on the system model to generate the optimal control parameters;

[0011] Step 6: Send the optimized control parameters to the air compressor, dryer, cooling pump and cooling tower for execution.

[0012] Preferably, in the said Step 2:

[0013] The specific content of the quartile method includes: setting the data in the dataset where 25% of the data is less than or equal to Q1 as the first quartile, setting the data in the dataset where 75% of the data is less than or equal to Q1 as the third quartile, calculating the interquartile range IQR of the dataset, setting the lower limit as Q1 - 1.5×IQR, and the upper limit as Q3 + 1.5×IQR, and eliminating the outliers outside this range;

[0014] The specific content of the sliding window method includes: adopting a sliding window with a window size of 10 and a sliding step of 1, calculating the mean value of the data within the window, and eliminating the data points whose deviation from the mean value exceeds 2%.

[0015] Preferably, in the said Step 3:

[0016] The air compressor power model adopts the ridge regression method. The inputs include ambient temperature, ambient humidity, the outlet pressure of each stage of the compressor, and the inlet temperature of the cooling water, and the output is the instantaneous power of the air compressor. The objective function is:

[0017]

[0018] Wherein, is the actual value of the instantaneous power of the air compressor for the th sample, is the th feature of the th sample, is the regularization parameter, n is the number of samples, p is the number of features, is the initial regression coefficient, is the regression coefficient of the th feature;

[0019] The training process is: divide the dataset into a training set and a test set, use cross-validation to select the optimal value, fit the ridge regression model to the training set, solve the regression coefficient , and calculate the mean absolute percentage error MAPE of the predicted values on the test set. The expression is:

[0020]

[0021] Among them, is the predicted value of the instantaneous power of the air compressor for the th sample;

[0022] If MAPE < 0.03, the model training is completed; otherwise, data needs to be recollected or features adjusted;

[0023] The cooling tower power model adopts an LSTM neural network. The inputs include ambient temperature, cooling water flow rate, and inlet and outlet water temperatures, and the output is the cooling tower power. The model training accuracy requirement is MAPE < 0.05.

[0024] Preferably, in step 5:

[0025] The population size of the genetic algorithm is 400, and the maximum number of iterations is 500. The single - iteration process is as follows: calculate the fitness value for each individual, eliminate the individuals that do not meet the preset conditions, and then randomly select two parent individuals and exchange part of the genes at the preset parameter positions;

[0026] The fitness function aims at the lowest total power of the system. The constraint conditions include that the fluctuation range of the air supply flow rate is ±10% of the current value, and the dew point temperature meets the process requirements.

[0027] Preferably, in step 6:

[0028] The issued parameters include the start - stop instruction of the air compressor, the pressure set value, the regeneration heating instruction of the dryer, the frequency set value of the cooling pump, and the frequency set value of the cooling tower fan;

[0029] The parameters are executed by a PLC / DDC controller and communicate using BACNet, ModBus, or OPC industrial protocols.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] (1) By installing a variety of sensors and methods of communicating with equipment, including but not limited to compressed air flow rate, ambient temperature and humidity, ambient wet - bulb temperature, atmospheric pressure, air supply pressure, air supply temperature, cooling water supply and return water temperature and flow rate, compressor power consumption, water pump power consumption, cooling tower power consumption, etc., the present invention collects and monitors all data affecting the operating energy efficiency of the air compressor system, achieving full - state perception of the air compressor system;

[0032] (2) By using the quartile method and the sliding window method, the present invention removes the data that cannot truly reflect the equipment performance, and then trains the performance models of equipment such as air compressors, dryers, cooling pumps, and cooling towers through machine learning modeling. For example, for an air compressor, the inputs of the model are ambient temperature, ambient humidity, ambient pressure, inlet temperature of cooling water, outlet temperature of cooling water, air temperature at each stage of the compressor inlet and outlet, outlet pressure at each stage of the compressor, outlet flow of the air compressor, opening degree of the compressor inlet valve, and opening degree of the compressor outlet valve, and the output of the model is the power of the air compressor. This method realizes the quantitative parameter relationship between the control parameters and the equipment energy consumption, and changes the state where the energy efficiency of the equipment is unknown under the original group control state;

[0033] (3) By constructing a system model, the present invention couples the equipment models together, thereby realizing a method that can simulate the actual energy efficiency for any set of control and environmental parameters. Then, with the lowest energy consumption as the goal, the air supply as the constraint, the control parameters as variables, and the environmental parameters as fixed variables, the genetic algorithm is called in real time to optimize the current control parameters of the air compressor, and the control parameters are sent to the air compressor system for execution, so that the air compressor system is always in the best energy efficiency state and the energy consumption is reduced. Brief Description of the Drawings

[0034] By reading the detailed description of the non-restrictive embodiments with reference to the following drawings, other features, objectives, and advantages of the present invention will become more apparent:

[0035] Figure 1 It is a schematic diagram of the optimization of the air compressor system of the present invention;

[0036] Figure 2 It is a schematic diagram of the construction of the system model of the present invention. Detailed Embodiments

[0037] The present invention will be described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those of ordinary skill in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0038] Embodiment

[0039] The present invention provides an optimized control method for an air compressor system based on multi-sensor data acquisition and modeling, including the following steps: Sensor installation step: In the air compressor system, necessary sensors are added to collect data and train models. Data acquisition step: The operating data of the air compressor system is collected. Model training step: Using the collected data, after data cleaning, models of the air compressor, dryer, water pump, and cooling tower are trained. Optimization algorithm step: According to the topological structure of the air compressor system, the models of the air compressor, dryer, water pump, and cooling tower are connected together, and with the goal of minimum energy consumption and maximum dew point temperature, the genetic algorithm is used to calculate the optimal control parameters. Control parameter distribution step: The control parameters calculated in the previous step are distributed to the air compressor, dryer, water pump, and cooling tower for execution.

[0040] In the sensor installation step, the following sensors and actuators are installed in the air compressor system:

[0041] Atmospheric pressure sensor: used to monitor the ambient atmospheric pressure;

[0042] Ambient temperature and humidity sensor: used to monitor the ambient temperature and humidity;

[0043] Compressed air flow sensor at the outlet of the air compressor: used to monitor the compressed air flow at the outlet of the air compressor. When installed, the requirements for the straight pipe section lengths upstream and downstream should be met;

[0044] Regulating valve at the inlet of the dryer: used to adjust the compressed air flow at the inlet of the dryer (if there is only one dryer, it is not necessary to install);

[0045] Cooling water flow sensor: used to monitor the cooling water flow. When installed, the requirements for the straight pipe section lengths upstream and downstream should be met;

[0046] Cooling water inlet and outlet temperature sensor: used to monitor the inlet / outlet temperature of the cooling water of the air compressor;

[0047] Cooling water inlet and outlet pressure sensor: used to monitor the inlet / outlet temperature of the cooling water of the air compressor.

[0048] The above sensors and actuators are sensors that are not usually configured in a general air compressor system, so they need to be added. And the range of data to be collected is larger than the range of the sensors listed above. The final data collection content is subject to the variables listed in the data acquisition step. For variables not collected, sensors need to be added. The above sensors and actuators all need to be connected to the PLC / DDC controller to ensure stable data control and reliability.

[0049] In the data acquisition step, the following data is collected in real time through the newly installed sensors and the original air compressor system:

[0050] Environmental parameters: ambient temperature (Tdb), ambient humidity (RH), ambient pressure (P);

[0051] Cooling water parameters: cooling water inlet temperature (TcdIn), cooling water outlet temperature (TcdOut), cooling water flow rate (Fcd), cooling water inlet and outlet pressure difference (PcdIn and PcdOut), cooling pump frequency (cdp_Hz), cooling pump power (cdp_E);

[0052] Air compressor parameters: air inlet and outlet temperature of each stage of the compressor (TairIni and TairOuti), outlet pressure of each stage of the compressor (PairOuti), air compressor outlet flow rate (Fair), air compressor instantaneous power (ca_E), compressor inlet valve opening (ca_ValIn), compressor outlet valve opening (ca_ValOut) (for air compressors without regulating valves, valve parameters may not need to be collected), pressure loss rate (dPcoef);

[0053] Dryer parameters: dryer inlet flow rate (dry_F), dryer inlet air humidity (dry_HIn), dryer outlet air humidity (dry_HOut), regeneration heating temperature (dry_Treg), regeneration heating electric power (dry_E), regeneration heating duration (dry_Timereg), adsorption / regeneration state (dry_State);

[0054] Cooling tower parameters: cooling water inlet and outlet temperature (TcdIn and TcdOut), cooling water flow rate (Fcd), cooling tower fan frequency (ct_Hz), cooling tower fan power (ct_E).

[0055] The acquisition of the above variables is required. For variables not available in the original air compressor system, sensors need to be added for supplementation. The above data acquisition needs to be collected into the PLC / DDC controller and then collected into the server through industrial protocols such as BACNet, ModBus, OPC, etc., and stored in the server at a minute-level frequency. If the storage frequency is lower than 1 minute, it is easy to cause deviations in the indicators of the next model training, reducing the reliability of the model.

[0056] In the model training step, data cleaning is first performed.

[0057] Data cleaning uses the quartile method and the sliding window method to clean the collected data and exclude abnormal data:

[0058] Quartile method: By calculating the interquartile range (IQR) of the data, identify and remove outliers outside the reasonable range;

[0059] A possible implementation of the quartile method is:

[0060] Quartiles: After sorting a set of data in ascending order, it is divided into four equal parts, and the value corresponding to each quantile is called a quartile. Specifically, it includes:

[0061] The first quartile (Q1): 25% of the data in the dataset is less than or equal to Q1;

[0062] The second quartile (Q2, i.e., the median): 50% of the data in the dataset is less than or equal to Q2;

[0063] The third quartile (Q3): 75% of the data in the dataset is less than or equal to Q3.

[0064] Interquartile range (IQR): IQR is the difference between Q3 and Q1, i.e., IQR = Q3 - Q1. IQR reflects the distribution range of the middle 50% of the data.

[0065] Lower Bound: LB = Q1 - k × IQR

[0066] Upper Bound: UB = Q3 + k × IQR, where k is a constant, usually taking a value of 1.5.

[0067] For each data point di in the dataset, if it meets one of the following conditions, it is considered an outlier: di < LB or di > UB. The outliers are removed from the dataset.

[0068] Sliding window method: Smooth the data through a sliding window to eliminate the noise caused by short-term fluctuations.

[0069] A possible implementation of the sliding window method is as follows:

[0070] (1) Determine the window size and sliding step: According to the data characteristics and application requirements, determine the window size w and the sliding step s. After multiple tests, the window size w takes a value of 10, and the sliding step s takes a value of 1.

[0071] (2) Initialize the window position: Place the starting position of the window at the first point of the data.

[0072] (3) Process the data within the window: Apply a window function to the data within the window, such as calculating the mean, median, or standard deviation. After testing, using the calculation of the mean is the best method. Then compare each data within the window with the average value, and those that deviate by more than x% are considered outliers and marked for deletion. The best value of x after testing is 2.

[0073] (4) Slide the window: Slide the window s data points to the right and repeat step (3) until the window covers the entire dataset.

[0074] (5) Delete the samples marked as outliers, and the remaining samples are used for model training.

[0075] Train the model based on the data jointly cleaned by the two methods.

[0076] In the model training step, the second step is to train the model:

[0077] Air compressor model

[0078] Model inputs: Ambient temperature, ambient humidity, ambient pressure, inlet temperature of cooling water, outlet temperature of cooling water, air temperature at the inlet and outlet of each stage of the compressor, outlet pressure of each stage of the compressor, outlet flow of the air compressor, opening of the inlet valve of the compressor, opening of the outlet valve of the compressor;

[0079] Model output: Instantaneous power of the air compressor.

[0080] Model training method: Divide the model inputs into two groups. The first group is ambient temperature, ambient humidity, and ambient pressure, and the second group is the others. The two groups are respectively expanded by quadratic polynomial feature engineering, and the parameters of the two groups cannot be cross-featured. The input variables do not need to be normalized or changed in other ways during testing. They can be directly brought in as they are for training to make the model reach the required accuracy. Then, the ridge regression method is used for model training. After testing, compared with the least squares method, the ridge regression method can better adapt to the working conditions with a relatively small sample size. The model training results are evaluated using MAPE (Mean Absolute Percentage Error). MAPE < 0.03 indicates that the model training is completed. Otherwise, data needs to be collected again and the model needs to be retrained until MAPE < 0.03.

[0081] A possible implementation of the mean absolute percentage error is as follows:

[0082]

[0083] Among them, MAPE represents the mean absolute percentage error; actual(t) represents the actual value of the t-th sample; forecast(t) represents the predicted value of the t-th sample; n represents the number of samples. This formula can be applied to the calculation of the MAPE index of all models in this article.

[0084] Dryer model

[0085] Model inputs: Inlet flow of the dryer, cumulative inlet flow of the dryer (accumulated from the most recent regeneration to the current), inlet air humidity of the dryer, regeneration heating temperature, regeneration heating electric power, regeneration heating duration;

[0086] Model outputs: Outlet air humidity of the dryer, total power consumption of regeneration heating.

[0087] Model training method: Perform quadratic polynomial feature expansion on the model input variables (excluding the cumulative flow at the dryer inlet), and use the least squares method for model training. After testing other regression model training methods such as ridge regression and elastic net, it is found that they cannot significantly improve the model robustness. Therefore, the most classic least squares method can be applied here. The model training results are evaluated using MAPE (Mean Absolute Percentage Error). MAPE < 0.1 indicates that the model training is completed; otherwise, data needs to be collected again and the model retrained until MAPE < 0.1.

[0088] Water pump model

[0089] Model input: Cooling water flow rate;

[0090] Model output: Cooling pump frequency, cooling pump power.

[0091] Model training method: Use the cooling water flow rate as the input variable, and train the cooling pump frequency model by linear regression with the least squares method. Then, change the cooling pump frequency to cooling pump frequency^3, cooling pump frequency^2, and cooling pump frequency, and use them together with the cooling water flow rate and the cooling water pressure difference as the model input, and use the least squares method for model training. After testing other regression model training methods such as ridge regression and elastic net, it is found that they cannot significantly improve the model robustness. Therefore, the most classic least squares method can be applied here. The model training results are evaluated using MAPE (Mean Absolute Percentage Error). MAPE < 0.02 indicates that the model training is completed; otherwise, data needs to be collected again and the model retrained until MAPE < 0.02.

[0092] Cooling tower model

[0093] Model input: Ambient temperature, ambient humidity, cooling water inlet and outlet temperatures, cooling water flow rate;

[0094] Model output: Cooling tower power.

[0095] Model training method: Normalize the training data, and then use the LSTM model for training. The LSTM model should contain at least 1 LSTM layer and 2 fully connected layers with no less than 64 neurons each. The activation function should be tanh. After testing, non-neural network models such as the least squares method, ridge regression, and support vector regression are not effective for the training of the cooling tower model. Adding more than 3 fully connected layers hardly helps improve the model accuracy. The model training results are evaluated using MAPE (Mean Absolute Percentage Error). MAPE < 0.05 indicates that the model training is completed; otherwise, data needs to be collected again and the model retrained until MAPE < 0.05.

[0096] In the optimization algorithm steps, in the first step, according to the topological structure of the air compression system, the inputs and outputs of the air compressor, dryer, water pump, and cooling tower models are connected together to form a system model. Specifically: the total inputs of the system model are ambient temperature / humidity / pressure, cooling water inlet / outlet temperature, compressed air flow rate, air compressor start / stop status, main pipeline pressure, pipeline pressure loss rate, etc. The input variables of the equipment models not listed in the above parameters are constants, and the equipment model input variables that are not the main process connection parameters are temporarily omitted. Then, the inputs and outputs of the model are connected together in the following order:

[0097] Using the main pipeline pressure, pipeline pressure loss rate, and compressed air flow rate, and using the formula: compressor outlet pressure = main pipeline pressure + pipeline pressure loss rate * compressed air flow rate * compressed air flow rate, calculate the compressor outlet pressure;

[0098] Substitute the ambient temperature / pressure, cooling water inlet / outlet temperature, compressed air flow rate, and compressor outlet pressure into the air compressor model to calculate the humidity of the compressed air at the outlet of the air compressor and the power of the air compressor, and sum up the power of the air compressors;

[0099] Substitute the compressed air flow rate and cooling water inlet temperature into the dryer model to calculate the total regeneration heating power and the humidity of the compressed air at the outlet of the dryer;

[0100] Using the total power of the air compressors and the cooling water inlet / outlet temperature, calculate the cooling water flow rate. Use the formula: total power of the air compressors = (cooling water outlet temperature - cooling water inlet temperature) * cooling water flow rate * 1.163 to calculate the cooling water flow rate;

[0101] Substitute the cooling water flow rate into the cooling pump model to calculate the power and frequency of the cooling pump;

[0102] Substitute the cooling water inlet / outlet temperature, cooling water flow rate, and ambient temperature / relative humidity into the cooling tower model to calculate the power of the cooling tower;

[0103] Sum up the powers of the air compressor, dryer, cooling pump, and cooling tower as the output of the system model. At the same time, take the dew point temperature at the outlet of the dryer as the output of the system model;

[0104] The construction of the system model is completed above. The expression of the system model is: total system power = sum(air compressor power) + sum(dryer power) + sum(cooling pump power) + sum(cooling tower power). The specific structure can also be referred to Figure 2 .

[0105] In the optimization algorithm steps, the second step is to use the genetic algorithm to optimize the system model:

[0106] The Model Genetic Algorithm (GA) is a global optimization algorithm based on natural selection and genetic mechanisms, which is widely used in solving complex problems. Its core idea is to search for the optimal solution by simulating the biological evolution process (such as selection, crossover, mutation). The following are the specific steps of the genetic algorithm:

[0107] Step 1: Initialize the population

[0108] Randomly generate the initial population with a size of N; through testing, setting the population size to 400 can balance the computational efficiency and the accuracy of the optimization algorithm. In this case, the variables included in the population are the variable inputs of the system model, specifically the environmental temperature / humidity / pressure, the inlet / outlet temperatures of the cooling water, the compressed air flow rate, the start / stop status of the air compressor, the main pipeline pressure, the pipeline pressure loss rate, etc. In this case, the model input parameters carried by each population individual are the sum of three groups of model inputs. Among these three groups of parameters, the environmental parameters and the unit combination are the same values. For example, the environmental temperature, relative humidity, environmental pressure, and unit start status are the same values in the three groups of parameters. For other parameters, such as the air supply flow rate, they are three different values and can be unequal in the three groups.

[0109] Each individual is represented by a chromosome, and the chromosome can be in the form of a binary string, a real number vector, or other coding forms. Through testing, the inputs and outputs of the system model are all real continuous variables, so the real number vector coding form needs to be used.

[0110] Step 2: Calculate the fitness

[0111] Calculate the fitness value for each individual, and the fitness value is determined by the objective function; in this case, the three groups of parameters in the population individuals are respectively substituted into the system model for calculation. The sum of the variable powers output by the system model calculated by substituting three times is used as the fitness value, with the lowest power as the goal. At the same time, the dew point temperature of the output variable of the system model each time is used as a constraint. Individuals whose calculated dew point temperature is higher than the process requirement value of the compressed air will be marked as eliminated individuals and removed when updating the population. At the same time, the compressed air flow rate is also used as a constraint. The current total air supply flow rate, the current total air supply flow rate * 0.9, and the current total air supply flow rate * 1.1 are used as the constraints for calculating the system model respectively three times. Individuals below the requirements will be eliminated. The coefficients 0.9 and 1.1 for calculating the air supply volume usually do not need to be changed.

[0112] Step 3: Selection

[0113] Select excellent individuals based on the fitness value to enter the next generation;

[0114] Common selection methods include roulette wheel selection, tournament selection, etc. Through testing, there is no significant difference among various methods, and all classical methods can be selected.

[0115] Step 4: Crossover

[0116] Randomly select two individuals from the selected individuals as parents;

[0117] Generate two new individuals through the crossover operation;

[0118] Common crossover methods include single-point crossover, multi-point crossover, uniform crossover, etc.

[0119] Step 5: Mutation

[0120] Perform a mutation operation on the newly generated individuals to increase the diversity of the population;

[0121] Common mutation methods include bit flipping, random perturbation, etc.

[0122] Step 6: Update the population

[0123] Replace some or all of the individuals in the current population with the newly generated individuals; After testing, it is the best choice to retain 50% of the current individuals;

[0124] Retain the optimal individual (elitist strategy).

[0125] Step 7: Judge the termination condition

[0126] If the termination condition is met (such as reaching the maximum number of iterations or the fitness value converges), the algorithm ends; In this case, the maximum number of iterations is set to 500 times.

[0127] Otherwise, return to Step 2.

[0128] After the genetic algorithm calculation is completed, the optimal control parameters can be used for the next control parameter distribution. At the same time, since the unit commitment fully considers the fluctuations of the current gas supply flow within ±10%, it can effectively reduce the fluctuations of the optimized unit commitment caused by the characteristics of its own mutation step, and reduce the number of start-stop operations in the actual control process.

[0129] In the control parameter distribution step, the control parameters calculated in the previous step, including the start-stop instruction of the air compressor, the pressure setting value of the air compressor, the regeneration instruction of the dryer, the start-stop instruction and frequency setting value of the cooling pump, the start-stop instruction and frequency setting value of the cooling tower, are distributed to the PLC / DDC controller, and the controller executes the start-stop actions and parameter setting actions of the air compressor, dryer, water pump and cooling tower.

[0130] Those skilled in the art know that in addition to implementing the systems, devices, and their respective modules provided by the present invention in the form of pure computer-readable program code, the method steps can be logically programmed to enable the systems, devices, and their respective modules provided by the present invention to be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers, etc., to achieve the same program. Therefore, the systems, devices, and their respective modules provided by the present invention can be considered as a kind of hardware component, and the modules included therein for implementing various programs can also be regarded as the structures within the hardware component; the modules for implementing various functions can also be regarded as either software programs for implementing the methods or the structures within the hardware component.

[0131] The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the above specific implementation manners, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. An optimized control method for an air compressor system based on multi-sensors and modeling, characterized in that, include: Step 1: Install environmental temperature and humidity sensors, atmospheric pressure sensors, air supply flow sensors, cooling water flow sensors, cooling water temperature sensors, air compressor power sensors, dryer humidity sensors and cooling tower power sensors in the air compressor system to collect corresponding data in real time; Step 2: Use the quartile method combined with the sliding window method to clean the collected data, remove outliers and smooth the noise data; Step 3: Based on the cleaned data, train the air compressor power model, dryer humidity model, cooling pump frequency model and cooling tower power model respectively; Step 4: According to the topological structure of the air compressor system, the equipment models are coupled into an overall system model, and the total energy consumption and dew point temperature of the system are output; Step 5: Taking the minimum energy consumption and the maximum dew point temperature as the optimization objectives, a genetic algorithm is used to perform multi-objective optimization on the system model to generate the optimal control parameters; Step 6: Send the optimized control parameters to the air compressor, dryer, cooling pump and cooling tower for execution; In step 3: The air compressor power model adopts the ridge regression method. The input includes the ambient temperature, ambient humidity, each stage outlet pressure of the compressor and the cooling water inlet temperature. The output is the instantaneous power of the air compressor. The objective function is: Among them, is the actual value of the instantaneous power of the air compressor for the th sample, is the th feature of the th sample, is the regularization parameter, n is the number of samples, p is the number of features, is the initial regression coefficient, is the regression coefficient of the th feature; The training process is as follows: The dataset is divided into a training set and a test set, and cross-validation is used to select the optimal value. A ridge regression model is fitted to the training set to solve for the regression coefficients . The mean absolute percentage error MAPE of the predicted values is calculated on the test set. The expression is as follows: Among them, is the predicted value of the instantaneous power of the air compressor for the th sample; If MAPE<0.03, the model training is complete; otherwise, data needs to be collected again or features need to be adjusted; The cooling tower power model adopts an LSTM neural network, the input includes ambient temperature, cooling water flow rate and inlet and outlet water temperature, the output is cooling tower power, and the model training accuracy requires MAPE<0.

05.

2. The optimized control method for an air compressor system based on multi-sensors and modeling according to claim 1, characterized in that, In step 2: The quartile method specifically includes: setting 25% of the data in the data set less than or equal to Q1 as the first quartile, setting 75% of the data in the data set less than or equal to Q1 as the third quartile, calculating the interquartile range IQR of the data set, setting the lower limit to Q1-1.5×IQR, the upper limit to Q3+1.5×IQR, and eliminating outliers outside the range; The sliding window method specifically includes: using a sliding window with a window size of 10 and a sliding step size of 1, calculating the mean of the data in the window, and eliminating data points that deviate from the mean by more than 2%.

3. The optimized control method for an air compressor system based on multi-sensors and modeling according to claim 1, characterized in that, In step 5: The population size of the genetic algorithm is 400, the maximum number of iterations is 500, and the single iteration process is: calculate the fitness value of each individual, eliminate individuals that do not meet the preset conditions, and then randomly select two parent individuals to exchange some genes at the preset parameter position; The fitness function aims to minimize the total system power, and the constraints include that the fluctuation range of the gas supply flow rate is ±10% of the current value and the dew point temperature meets the process requirements.

4. The optimized control method for an air compressor system based on multi-sensors and modeling according to claim 1, wherein In step 6: The parameters sent include air compressor start and stop instructions, pressure setting value, dryer regeneration heating instruction, cooling pump frequency setting value and cooling tower fan frequency setting value; The parameters are executed by a PLC / DDC controller and communicate using BACNet, ModBus or OPC industrial protocols.

Citation Information

Patent Citations

  • Air compressor temperature control optimization test device and measurement method based on response curved surface model orthogonal test

    CN116877414A

  • Energy-saving control method and system for low-load air conditioner of data center

    CN119665383A

  • Data processing device, data processing method and calculation model generation system

    JP2023094269A