A multi-dimensional monitoring and early warning method for ultrasonic cleaning machine operation
By installing sensors in the ultrasonic cleaning fluid and combining it with a variety of intelligent algorithms, the pollution degree and concentration of the cleaning fluid can be monitored in real time and dynamically adjusted, solving the problem of cleaning fluid status monitoring and early warning, improving cleaning efficiency and quality, and extending the life of the cleaning fluid. service life.
Patent Information
- Application Number
- CN202410873674.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-02
AI Technical Summary
During the ultrasonic cleaning process, the pollution degree and concentration of the cleaning fluid change unevenly. It is difficult for a single sensor to accurately reflect the status of the entire cleaning fluid, and scientific early warning thresholds need to be set based on the cleaning objects and process characteristics. It is difficult to achieve real-time monitoring with existing technology. and dynamic adjustment.
By installing contamination and concentration sensors in the cleaning fluid and combining a variety of intelligent algorithms (logistic regression, support vector machine, random forest, analytic hierarchy process, genetic algorithm and fuzzy control) for data analysis and prediction, the pollution of the cleaning fluid is monitored in real time. Degree and concentration, dynamically adjust cleaning parameters and concentration to ensure cleaning fluid performance.
It realizes real-time monitoring and dynamic adjustment of cleaning fluid, improves cleaning efficiency and quality, prevents performance degradation in advance, adapts to complex and changing cleaning needs, maintains the stability and reliability of the cleaning process, extends the service life of the cleaning fluid, and reduces Resource consumption and environmental impact.
Smart Images

Figure CN118427784B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a multi-dimensional monitoring and early warning method for the operation of an ultrasonic cleaning machine. Background Art
[0002] During ultrasonic cleaning, the contamination and concentration of the cleaning fluid are two key factors that affect the cleaning effect. In actual cleaning operations, as the cleaning progresses, the cleaning fluid will continue to dissolve and absorb the dirt on the object being cleaned, causing the cleaning fluid to gradually become contaminated and the cleaning effect to gradually decrease. At the same time, the concentration of the cleaning fluid will also change. Too high or too low a concentration will affect the cleaning effect.
[0003] To address these two issues, it is necessary to monitor the contamination and concentration of the cleaning fluid in real time and make timely adjustments based on the monitoring results. However, in actual cleaning operations, the volume of the cleaning fluid in the cleaning tank is large, the distribution of pollutants is uneven, and the concentration changes are uneven. It is difficult for a single sensor to accurately reflect the contamination and concentration levels of the entire cleaning fluid. How to install sensors at different locations in the cleaning tank and integrate the data of multiple sensors to obtain accurate contamination and concentration values is a technical problem that needs to be solved urgently. At the same time, in different cleaning stages, the speed of change of the contamination of the cleaning fluid is different, and the concentration change range is also different. It is necessary to set a scientific warning threshold based on the characteristics of the cleaning process. How to establish a warning model for contamination and concentration based on the material, structural characteristics and cleaning process parameters of the cleaning object is also a complex technical problem. Summary of the invention
[0004] The present invention provides a multi-dimensional monitoring and early warning method for the operation of an ultrasonic cleaning machine, which mainly includes:
[0005] Step 1. By installing a contamination sensor and a concentration sensor in the cleaning liquid, the contamination data and concentration data of the cleaning liquid are obtained in real time, and the obtained contamination data are compared with the preset contamination threshold. If the contamination data exceeds the preset threshold, a cleaning liquid contamination warning is triggered. At the same time, the obtained concentration data is compared with the standard concentration range determined according to the type and ratio of the cleaning liquid. If the concentration data exceeds the standard range, an abnormal cleaning liquid concentration warning is triggered;
[0006] Step 2. Perform correlation analysis on the cleaning liquid contamination data and concentration data obtained in step 1, and construct a cleaning liquid contamination-concentration model of logistic regression to determine whether the comprehensive performance of the cleaning liquid meets the cleaning requirements. If the comprehensive performance index obtained by the logistic regression model is lower than the preset value, a cleaning effect warning is triggered;
[0007] Step 3. Use the support vector machine algorithm to train the historical cleaning fluid contamination data and concentration data obtained in steps 1 and 2 to obtain a cleaning fluid performance prediction model. Use the support vector machine model to predict the future performance of the cleaning fluid. If the predicted performance does not meet the requirements, an early warning is triggered to replace the cleaning fluid or adjust the concentration.
[0008] Step 4. According to the working parameters of the ultrasonic cleaning equipment, such as cleaning power, frequency, time, etc., a correlation model between the cleaning parameters and the cleaning fluid performance of the random forest algorithm is established. By obtaining the equipment working parameters in real time, the impact of the current cleaning process on the cleaning fluid performance is judged. Based on the prediction results of the random forest model, the cleaning parameters are dynamically optimized to reduce the loss of cleaning fluid during the cleaning process;
[0009] Step 5. Establish a cleaning fluid performance and cleaning effect evaluation system based on the analytic hierarchy process. Determine cleaning effect evaluation indicators, such as cleanliness and surface roughness, based on factors such as the material, shape, and dirt type of the cleaning object. Obtain cleaning effect data by automatically detecting the workpiece after cleaning. Perform correlation analysis on the cleaning effect data and the cleaning fluid performance data obtained and analyzed in steps 1-4. Use a genetic algorithm to optimize the cleaning fluid performance threshold and cleaning process parameters.
[0010] Step 6. Based on the cleaning liquid contamination data and concentration data obtained in step 1, a fuzzy control algorithm is used to dynamically calculate the amount of concentrated liquid or diluted liquid required to be added. By controlling the operation of the online adding equipment, the automatic adjustment of the cleaning liquid concentration is achieved to ensure that the cleaning liquid is always in the best working state.
[0011] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:
[0012] The present invention discloses a cleaning fluid performance monitoring and optimization system based on multiple intelligent algorithms. The unique business scenario problem is to monitor and maintain the contamination and concentration of the cleaning fluid in the optimal range in real time to ensure the cleaning effect, and predict future performance through intelligent algorithms, dynamically adjust cleaning parameters, and optimize the cleaning process. In view of this scenario problem, the present invention solves it through the following key steps:
[0013] 1. Install contamination sensors and concentration sensors in the cleaning fluid to monitor the contamination and concentration of the cleaning fluid in real time. By comparing with the preset threshold, the corresponding warning is triggered so that timely measures can be taken to maintain the performance of the cleaning fluid.
[0014] 2. Use the logistic regression model to correlate and analyze the contamination data and concentration data to evaluate whether the comprehensive performance of the cleaning fluid meets the cleaning requirements, thereby ensuring the cleaning effect.
[0015] 3. Use the support vector machine algorithm to build a cleaning fluid performance prediction model to predict the future cleaning fluid performance, and adjust the cleaning fluid ratio or replacement time based on the prediction results to maintain the effectiveness of the cleaning fluid.
[0016] 4. The relationship between the working parameters of the ultrasonic cleaning equipment and the performance of the cleaning fluid is analyzed through the random forest algorithm, and the cleaning parameters such as cleaning power, frequency, time, etc. are optimized in real time to reduce the loss of cleaning fluid during the cleaning process.
[0017] 5. Establish an evaluation system of hierarchical analysis method to evaluate the cleaning effect, and conduct correlation analysis between the cleaning effect data and the cleaning fluid performance data, and use genetic algorithm to optimize the cleaning fluid performance threshold and cleaning process parameters.
[0018] 6. The fuzzy control algorithm is used to dynamically calculate the amount of concentrated liquid or diluted liquid to be added according to real-time data, and the concentration of the cleaning liquid is controlled by automatically adjusting the equipment to ensure that it is always in the best working condition.
[0019] Overall technical effect: The present invention effectively combines advanced sensing technology with a variety of intelligent algorithms to achieve real-time monitoring and dynamic adjustment of cleaning fluid, greatly improving cleaning efficiency and quality. By predicting and optimizing the performance of cleaning fluid, the present invention can not only prevent the performance degradation of cleaning fluid in advance, but also adapt to complex and changing cleaning needs, maintain the stability and reliability of the cleaning process, thereby extending the service life of the cleaning fluid, reducing resource consumption and environmental impact, and has important economic value and environmental significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The present invention is a flow chart of a multi-dimensional monitoring and early warning method for ultrasonic cleaning machine operation.
[0021] Figure 2 It is a schematic diagram of a multi-dimensional monitoring and early warning method for the operation of an ultrasonic cleaning machine according to the present invention.
[0022] Figure 3 It is another schematic diagram of a multi-dimensional monitoring and early warning method for the operation of an ultrasonic cleaning machine according to the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0024] like Figure 1-3 In this embodiment, a multi-dimensional monitoring and early warning method for the operation of an ultrasonic cleaning machine may specifically include:
[0025] Step 1. Install a contamination sensor and a concentration sensor in the cleaning fluid to obtain the contamination data and concentration data of the cleaning fluid in real time. Compare the obtained contamination data with the preset contamination threshold. If the contamination data exceeds the preset threshold, the cleaning fluid contamination warning is triggered. At the same time, compare the obtained concentration data with the standard concentration range determined according to the type and ratio of the cleaning fluid. If the concentration data exceeds the standard range, the cleaning fluid concentration abnormality warning is triggered.
[0026] By installing a contamination sensor and a concentration sensor in the cleaning liquid, the contamination data and concentration data of the cleaning liquid are obtained in real time. The obtained contamination data are compared with the preset contamination threshold. If the contamination data exceeds the preset threshold, the cleaning liquid contamination warning is triggered. At the same time, the obtained concentration data are compared with the standard concentration range determined according to the type and ratio of the cleaning liquid. If the concentration data exceeds the standard range, the cleaning liquid concentration abnormality warning is triggered. According to the type and ratio of the cleaning liquid, the standard concentration range of the cleaning liquid is determined, and the standard concentration range is used as the basis for judging whether the concentration of the cleaning liquid is abnormal. The obtained contamination data and concentration data are analyzed by using the support vector machine algorithm to obtain the degree of contamination and concentration abnormality of the cleaning liquid. The contamination data and concentration data of the cleaning liquid are modeled by the hidden Markov model to obtain the change trend of the contamination and concentration of the cleaning liquid. According to the change trend of the contamination and concentration of the cleaning liquid, the time series analysis method is used to predict the change of the contamination and concentration of the cleaning liquid in the future. According to the predicted change of the contamination and concentration of the cleaning liquid in the future, it is judged whether the cleaning liquid needs to be replaced. If the predicted contamination or concentration exceeds the standard range, a reminder to replace the cleaning fluid is triggered. The acquired contamination data and concentration data are filtered through the Kalman filter algorithm to remove noise and outliers in the data and improve the accuracy and reliability of the data. The filtered contamination data and concentration data are used as input for subsequent analysis and prediction. The Bayesian network is used to infer the cause of cleaning fluid contamination. Based on the contamination data, concentration data and other related factors, the possible causes of cleaning fluid contamination are inferred, providing decision support for subsequent cleaning fluid maintenance and management.
[0027] For example, the contamination threshold is set to 80%. When the sensor detects that the contamination of the cleaning fluid reaches 85%, a cleaning fluid contamination warning is triggered. For example, according to the type and ratio of the cleaning fluid, the standard concentration range is determined to be 10%-15%. When the sensor detects that the concentration of the cleaning fluid is 8%, an abnormal cleaning fluid concentration warning is triggered. For example, by analyzing the 100 sets of contamination data and concentration data obtained by the support vector machine algorithm, it is concluded that the degree of contamination of the cleaning fluid is 75%, and the abnormal concentration is that the concentration is lower than the standard range. For example, the contamination data and concentration data of the cleaning fluid for 30 consecutive days are modeled by the hidden Markov model, and the contamination of the cleaning fluid is increasing and the concentration is decreasing. For example, according to the changing trend of the contamination and concentration of the cleaning fluid, the time series analysis method is used to predict that the contamination of the cleaning fluid will exceed 90% and the concentration will be lower than 8% in the next 5 days, so the cleaning fluid needs to be replaced. For example, the 500 sets of contamination data and concentration data obtained are filtered by the Kalman filter algorithm, and 20 sets of abnormal values are removed, thereby improving the accuracy and reliability of the data. For example, the Bayesian network is used to infer the causes of cleaning fluid contamination. Based on the contamination data, concentration data, equipment usage frequency, ambient temperature and other related factors, it is inferred that the possible cause of cleaning fluid contamination is the excessive frequency of equipment use, thereby providing decision support for subsequent cleaning fluid maintenance and management.
[0028] Step 2. Perform correlation analysis on the cleaning fluid contamination data and concentration data obtained in step 1, and build a cleaning fluid contamination-concentration model based on logistic regression to determine whether the comprehensive performance of the cleaning fluid meets the cleaning requirements. If the comprehensive performance index obtained by the logistic regression model is lower than the preset value, a cleaning effect warning is triggered.
[0029] According to the cleaning fluid contamination data and concentration data obtained in step 1, the Pearson correlation coefficient method is used for correlation analysis to obtain the correlation coefficient between the cleaning fluid contamination and concentration. By constructing a logistic regression model, the cleaning fluid contamination is used as the independent variable and the concentration is used as the dependent variable, and the cleaning fluid contamination-concentration logistic regression model is trained. The trained logistic regression model is used to predict the cleaning fluid concentration under different contamination levels and compare it with the actual concentration. Evaluation indicators such as the root mean square error (RMSE) and the mean absolute error (MAE) are calculated to determine the fitting effect of the logistic regression model. According to the prediction results of the logistic regression model, the threshold of the comprehensive performance index is set. If the predicted comprehensive performance index is lower than the preset threshold, the cleaning effect warning is triggered, indicating that the current cleaning fluid contamination and concentration cannot meet the cleaning requirements, and the cleaning fluid formula needs to be replaced or adjusted in time. By continuously optimizing the hyperparameters of the logistic regression model, such as the regularization coefficient and the number of iterations, the generalization ability and prediction accuracy of the model are improved, so that it can better adapt to the cleaning fluid data of different batches, and provide a reliable basis for subsequent cleaning fluid performance evaluation and warning.
[0030] For example, the calculation example of the Pearson correlation coefficient is: for example, based on the collected 10 sets of cleaning fluid contamination and concentration data, the correlation coefficient calculated using the Pearson correlation coefficient formula is 85, indicating that there is a strong positive correlation between the cleaning fluid contamination and concentration. Logistic regression model training and evaluation example: for example, the collected 100 sets of cleaning fluid contamination and concentration data are divided into training set and test set in a ratio of 8:2, and the training set data is used to train the logistic regression model. The test set data is input into the trained model for prediction, and the root mean square error (RMSE) between the predicted concentration and the actual concentration is 12, and the mean absolute error (MAE) is 0.9, indicating that the logistic regression model has a good fitting effect. Cleaning effect warning example: for example, the comprehensive performance index threshold is set to 8. When the predicted comprehensive performance index is 75, the cleaning effect warning is triggered, indicating that the current cleaning fluid contamination and concentration cannot meet the cleaning requirements, and the cleaning fluid formula needs to be replaced or adjusted in time. Logistic regression model optimization example: For example, the regularization coefficient and number of iterations of the logistic regression model are optimized through grid search, and the optimal regularization coefficient is 01 and the optimal number of iterations is 500, which increases the prediction accuracy of the model from the original 85% to 92%, and the generalization ability and prediction accuracy are significantly improved.
[0031] Step 3. Use the support vector machine algorithm to train the historical cleaning fluid contamination data and concentration data obtained in steps 1 and 2 to obtain a cleaning fluid performance prediction model. The future performance of the cleaning fluid is predicted by the support vector machine model. If the predicted performance does not meet the requirements, an early warning is triggered to replace the cleaning fluid or adjust the concentration.
[0032] The support vector machine algorithm is used to train the historical cleaning liquid contamination data and concentration data to obtain a cleaning liquid performance prediction model. The specific steps are as follows: the historical contamination data and concentration data of the cleaning liquid are collected by sensors as training sample data for the support vector machine algorithm. The grid search method is used to optimize the hyperparameters of the support vector machine algorithm, such as the kernel function type, penalty coefficient, and kernel function parameters, and the hyperparameter combination with the best generalization performance is selected by cross-validation. Using the optimized hyperparameters, the support vector regression algorithm is used to train the historical data to obtain a cleaning liquid performance prediction model. Using the cleaning liquid performance prediction model obtained in the previous step, the future performance of the cleaning liquid is predicted. Specifically as follows: the contamination data and concentration data of the current cleaning liquid are input into the cleaning liquid performance prediction model, and the performance change curve of the cleaning liquid in the future period of time is obtained by model prediction. According to the predicted performance change curve, it is judged whether the future performance of the cleaning liquid meets the production requirements. If the predicted future performance does not meet the requirements, the warning of changing or adjusting the concentration of the cleaning liquid is triggered. When the cleaning liquid performance warning is received, it is determined whether to replace the cleaning liquid or adjust the cleaning liquid concentration according to the prediction results and production requirements. If the predicted cleaning fluid performance will not meet the requirements in the short term, the cleaning fluid replacement process will be started; if the predicted cleaning fluid performance can meet the requirements after adjusting the concentration, the predicted optimal concentration value will be sent to the cleaning fluid ratio control system to automatically adjust the cleaning fluid concentration. After the cleaning fluid is replaced or the concentration is adjusted, new cleaning fluid contamination data and concentration data are continuously collected and input into the cleaning fluid performance prediction model for prediction, and the cleaning fluid performance is continuously monitored and warned based on the prediction results to form a closed-loop control. At the same time, the newly collected data is added to the historical data set, and the cleaning fluid performance prediction model is retrained regularly to improve the prediction accuracy and adaptability of the model.
[0033] For example, the historical contamination data of the cleaning liquid collected by the sensor are 1, 15, 2, 25, and the concentration data are 5%, 6%, 7%, 8%, which are used as training sample data for the support vector machine algorithm. For example, the kernel function type is RBF and polynomial, the penalty coefficient C is 1, 1, 10, 100, the gamma parameter of the RBF kernel function is 01, 1, 1, and the degree parameter of the polynomial kernel function is 2, 3, 4. Using 5-fold cross validation, select the hyperparameter combination with the smallest average error on the validation set, such as RBF kernel function, C=10, gamma=1. Using the selected hyperparameters, the historical contamination data and concentration data are trained to obtain a cleaning liquid performance prediction model. The current cleaning liquid contamination degree of 28 and concentration of 9% are input into the prediction model, and the model predicts the cleaning liquid performance change curve within the next 2 hours, where the performance drops to 85 after 1 hour and the performance drops to 76 after 2 hours. If the production requires the cleaning fluid performance to be no less than 8, the performance after 1 hour will not meet the requirements, triggering an early warning for cleaning fluid replacement or concentration adjustment. According to the prediction results, if the concentration is adjusted to 11%, the cleaning fluid performance can be maintained above 82, meeting the production requirements. The concentration adjustment value of 11% is sent to the cleaning fluid ratio control system for execution. After adjusting the concentration, new contamination and concentration data are continuously collected and input into the performance prediction model for prediction every 10 minutes. If the predicted performance within the next 1 hour is higher than 8, the adjustment is considered effective, otherwise a secondary early warning is triggered. The newly collected data is added to the historical data set, the data set is updated once a day, and the prediction model is retrained to improve the model prediction accuracy. After 10 days of training, the average error of the prediction model dropped from 5% to.
[0034] Step 4. According to the working parameters of the ultrasonic cleaning equipment, such as cleaning power, frequency, time, etc., establish a correlation model between the cleaning parameters and the cleaning fluid performance of the random forest algorithm. By obtaining the equipment working parameters in real time, determine the impact of the current cleaning process on the cleaning fluid performance. Based on the prediction results of the random forest model, dynamically optimize the cleaning parameters to reduce the loss of cleaning fluid during the cleaning process.
[0035] According to the working parameters of ultrasonic cleaning equipment such as cleaning power, frequency, and time, the association model between cleaning parameters and cleaning fluid performance is established by using the random forest algorithm. The working parameter data of ultrasonic cleaning equipment is obtained in real time and used as the input feature of the random forest model. The nonlinear fitting ability of the random forest model is used to train the complex mapping relationship between cleaning parameters and cleaning fluid performance. During the model training process, the physical and chemical indicators of the cleaning fluid such as conductivity, pH value, and surface tension are used as evaluation indicators of the cleaning fluid performance to construct a multi-dimensional cleaning fluid performance evaluation system. The cleaning parameters and the corresponding cleaning fluid performance indicator data pairs are used as training samples and input into the random forest model for training to obtain the optimized association model. When the ultrasonic cleaning equipment is actually working, the cleaning power, frequency, time and other parameters of the equipment are collected in real time and input into the trained random forest association model. The model predicts the degree of influence of the current cleaning process on the cleaning fluid performance based on the input cleaning parameters. By analyzing the prediction results of the model, it is judged whether the cleaning process will cause excessive loss of cleaning fluid performance. If the cleaning fluid performance loss predicted by the random forest model exceeds the preset threshold, the dynamic optimization mechanism of the cleaning parameters is triggered. Genetic algorithms are used to optimize and search for parameters such as cleaning power, frequency, and time to find the optimal parameter combination that minimizes the loss of cleaning fluid while satisfying the cleaning effect. The optimized cleaning parameters are passed to the control system of the ultrasonic cleaning equipment to adjust the working parameters of the equipment in real time to reduce the adverse effects of the cleaning process on the performance of the cleaning fluid. Through the predictive feedback and parameter optimization of the random forest association model, a dynamic balance between the ultrasonic cleaning process and the performance of the cleaning fluid is achieved. While ensuring the cleaning effect, the service life of the cleaning fluid is maximized, avoiding the cost waste caused by frequent replacement of the cleaning fluid. At the same time, the optimized cleaning parameters also help to improve cleaning efficiency, shorten cleaning time, and enhance the overall performance of the ultrasonic cleaning equipment.
[0036] For example, the cleaning power of the ultrasonic cleaning equipment is 500 watts, the frequency is 40 kHz, and the cleaning time is 10 minutes. These parameters are used as input features of the random forest model, and the model predicts that the conductivity of the cleaning liquid is 15 millisieverts per centimeter, the pH value is 2, and the surface tension is 35 dynes per centimeter. During the model training process, the physical and chemical indicators such as the conductivity, pH value, and surface tension of the cleaning liquid are used as evaluation indicators of the cleaning liquid performance. For example, the data pairs with cleaning power ranging from 300 watts to 800 watts, frequency ranging from 20 kHz to 50 kHz, and time ranging from 5 minutes to 20 minutes are used as training samples, and the corresponding cleaning liquid performance indicators are conductivity between 10 and 20 millisieverts per centimeter, pH value between 5 and 15, and surface tension between 30 and 40 dynes per centimeter. When the ultrasonic cleaning equipment is actually working, the real-time collection of the equipment's cleaning power is 600 watts, frequency is 45 kHz, time is 12 minutes, and other parameters are input into the trained random forest association model. The model predicts that the current cleaning process will cause the conductivity of the cleaning fluid to drop by 20%, the pH value deviation to exceed 5, and the surface tension to decrease by 10%. If the performance loss of the cleaning fluid predicted by the random forest model exceeds the preset threshold, such as a conductivity drop of more than 15%, a pH value deviation of more than 3, and a surface tension drop of more than 8%, the dynamic optimization mechanism of the cleaning parameters will be triggered. A genetic algorithm is used to optimize the cleaning power, frequency, time and other parameters. For example, the cleaning power is adjusted to 550 watts, the frequency is adjusted to 42 kHz, and the time is shortened to 11 minutes, which minimizes the loss of the cleaning fluid while satisfying the cleaning effect. Through the prediction feedback and parameter optimization of the random forest association model, in 1,000 cleaning cycles, the optimized cleaning parameters extended the service life of the cleaning fluid by 30%, increased the cleaning efficiency by 15%, and shortened the cleaning time by 12%, effectively reducing the cleaning cost and energy consumption.
[0037] Step 5. Establish a cleaning fluid performance and cleaning effect evaluation system based on the analytic hierarchy process, and determine the cleaning effect evaluation indicators, such as cleanliness and surface roughness, according to factors such as the material, shape, and dirt type of the cleaning object. Obtain cleaning effect data by automatically detecting the workpiece after cleaning. Perform correlation analysis on the cleaning effect data and the cleaning fluid performance data obtained and analyzed in steps 1-4, and use genetic algorithms to optimize the cleaning fluid performance threshold and cleaning process parameters.
[0038] According to factors such as the material, shape, and dirt type of the cleaning object, the cleaning effect evaluation index, such as cleanliness and surface roughness, is determined. The cleaning effect data is obtained by automatically detecting the workpiece after cleaning. The cleaning effect data obtained is associated with the cleaning liquid performance data obtained and analyzed by Fourier transform infrared spectroscopy, ultraviolet visible spectrophotometry, conductivity method, acid-base titration, etc. in the previous steps, and the genetic algorithm is used to optimize the cleaning liquid performance threshold and cleaning process parameters. In the association analysis, firstly, a hierarchical analysis model is established based on the cleaning liquid performance data and the cleaning effect data to determine the weights of each index. Then, the cleaning liquid performance data and the cleaning effect data are input into the hierarchical analysis model to obtain a comprehensive evaluation score. Then, the genetic algorithm is used to optimize the weight parameters in the hierarchical analysis model, and the fitness function is used to evaluate the quality of individuals in the population. The independent variables of the fitness function are the cleaning liquid performance threshold and the cleaning process parameters, and the dependent variable is the comprehensive evaluation score. In the iterative process of the genetic algorithm, the population is optimized through genetic operations such as selection, crossover, and mutation until the termination conditions are met to obtain the optimal cleaning liquid performance threshold and cleaning process parameters. If the optimized cleaning liquid performance threshold and cleaning process parameters can make the comprehensive evaluation score reach the preset target value, they will be used as the final cleaning liquid performance threshold and cleaning process parameters to guide the actual cleaning operation. If the optimized cleaning liquid performance threshold and cleaning process parameters cannot make the comprehensive evaluation score reach the preset target value, it is necessary to return to the previous steps, adjust the cleaning liquid formula, re-acquire the cleaning liquid performance data and cleaning effect data, and perform correlation analysis and optimization again. The evaluation system of cleaning liquid performance and cleaning effect of the hierarchical analysis method established by the above method can quantify the relationship between cleaning liquid performance and cleaning effect, provide theoretical basis and data support for optimizing the cleaning liquid formula and cleaning process parameters, thereby improving cleaning quality and efficiency.
[0039] Exemplary, the determination of the cleaning effect evaluation index, for example, the cleanliness is set to 0-10 points, 0 points for before cleaning, 10 points for complete cleaning, and the surface roughness is set to 2-6 μm. The characteristic absorption peak intensity of the surfactant in the cleaning solution is measured by Fourier transform infrared spectroscopy to be 85, the absorbance of the cleaning solution is measured by ultraviolet visible spectrophotometry to be 32, the conductivity of the cleaning solution is measured by conductivity method to be 15 mS / cm, and the pH value of the cleaning solution is measured by acid-base titration method to be 14. In the association analysis, the analytic hierarchy process model determines that the weight of cleanliness is 6 and the weight of surface roughness is 4. The cleaning liquid performance data and cleaning effect data are input into the model, and the comprehensive evaluation score is 5 points. When the genetic algorithm is optimized, the number of individuals in the initial population is set to 50, the maximum evolutionary generation is set to 100, the crossover probability is set to 7, the mutation probability is set to 05, and the fitness function is set to be 1 when the comprehensive evaluation score reaches 0 points or above, otherwise the fitness is 0. After genetic algorithm optimization, the optimal cleaning fluid performance threshold is obtained as the surfactant characteristic absorption peak intensity above 9, absorbance below 35, conductivity 12-18 mS / cm, and pH value 5-14. At this time, the comprehensive evaluation score of the cleaning effect can reach 2 points, meeting the preset target value of 0 points.
[0040] Step 6. Based on the cleaning liquid contamination data and concentration data obtained in step 1, the fuzzy control algorithm is used to dynamically calculate the amount of concentrated liquid or diluted liquid to be added. By controlling the operation of the online adding equipment, the automatic adjustment of the cleaning liquid concentration is achieved to ensure that the cleaning liquid is always in the best working state.
[0041] Determine the specific range of the cleaning liquid contamination according to the contamination data obtained by the contamination sensor; determine the specific range of the cleaning liquid concentration according to the concentration data obtained by the concentration sensor; construct a fuzzy control rule base, including: construct a fuzzy control rule base according to the specific range of the cleaning liquid contamination and the specific range of the cleaning liquid concentration in combination with the actual process requirements; fuzzify the obtained cleaning liquid contamination data and concentration data, including: use one of the triangle membership function method, trapezoidal membership function method or Gaussian membership function method to convert the contamination data obtained by the contamination sensor and the concentration data obtained by the concentration sensor into corresponding fuzzy sets; obtain the fuzzy amount of the concentrate or diluent to be added through fuzzy reasoning, The method comprises: performing fuzzy reasoning by Mamdani reasoning method or Sugeno reasoning method according to the fuzzy control rule base and the pollution degree fuzzy set and the concentration fuzzy set obtained by fuzzification processing, so as to obtain the fuzzy amount of the concentrated liquid or the diluted liquid required to be added; performing defuzzification processing on the fuzzy value of the added amount obtained by fuzzy reasoning, including: converting the fuzzy value of the added amount obtained by fuzzy reasoning into an accurate control value by adopting one of the centroid method, the maximum membership method or the weighted average method; controlling the operation of the online adding device by the controller, including: transmitting the accurate control value obtained by defuzzification to the controller of the online adding device, and the controller controlling the online adding device to add a corresponding amount of the concentrated liquid or the diluted liquid to the cleaning liquid according to the received control value.
[0042] For example, the contamination data obtained by the contamination sensor is 6. According to the preset range, it can be determined that the contamination of the cleaning liquid is at a medium to high level (5-7). The concentration data obtained by the concentration sensor is 18%. According to the preset range, it can be determined that the concentration of the cleaning liquid is at a low level (15%-20%). When constructing a fuzzy control rule base, according to the situation that the contamination of the cleaning liquid is medium to high and the concentration is low, combined with the actual process requirements, corresponding fuzzy control rules can be formulated, such as "If the contamination is medium to high and the concentration is low, the amount of concentrated liquid added is more". The two values of contamination 6 and concentration 18% are fuzzy processed, and the triangular membership function method can be used to convert them into corresponding fuzzy sets. For example, the contamination 6 can be converted into a membership of 7 for medium to high contamination and a membership of 3 for medium contamination. The concentration 18% can be converted into a membership of 6 for low concentration and a membership of 4 for normal concentration. In the fuzzy reasoning process, according to the fuzzy control rule base and the fuzzy set of contamination and concentration obtained by fuzzification, fuzzy reasoning is performed through the Mamdani reasoning method to obtain the fuzzy set of the amount of concentrated liquid added. For example, the membership of a large amount of concentrated liquid added is 8, and the membership of a moderate amount of concentrated liquid added is 2. The fuzzy value of the amount of addition obtained by fuzzy reasoning is defuzzified, and the centroid method can be used to convert it into an accurate control value. For example, the centroid coordinate of the fuzzy set of the amount of concentrated liquid added is 6, which means that 6 liters of concentrated liquid need to be added. Finally, the controller controls the online adding device to add 6 liters of concentrated liquid to the cleaning liquid according to the accurate control value 6 obtained by defuzzification to ensure that the contamination and concentration of the cleaning liquid are maintained within a reasonable range.
[0043] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-dimensional monitoring and early warning method for ultrasonic cleaning machine operation, characterized in that: The method comprises the following steps: Step 1. By installing a contamination sensor and a concentration sensor in the cleaning liquid, the contamination data and concentration data of the cleaning liquid are obtained in real time, and the obtained contamination data are compared with the preset contamination threshold. If the contamination data exceeds the preset threshold, a cleaning liquid contamination warning is triggered. At the same time, the obtained concentration data is compared with the standard concentration range determined according to the type and ratio of the cleaning liquid. If the concentration data exceeds the standard range, an abnormal cleaning liquid concentration warning is triggered; Step 2. Perform correlation analysis on the cleaning liquid contamination data and concentration data obtained in step 1, and construct a cleaning liquid contamination-concentration model of logistic regression to determine whether the comprehensive performance of the cleaning liquid meets the cleaning requirements. If the comprehensive performance index obtained by the logistic regression model is lower than the preset value, a cleaning effect warning is triggered; Step 3. Use the support vector machine algorithm to train the historical cleaning fluid contamination data and concentration data obtained in step 1 to obtain a cleaning fluid performance prediction model. The cleaning fluid performance prediction model is used to predict the future performance of the cleaning fluid. If the predicted performance does not meet the requirements, an early warning is triggered to replace the cleaning fluid or adjust the concentration. Step 4. According to the working parameters of the ultrasonic cleaning equipment, which include cleaning power, frequency, and time, a correlation model between the cleaning parameters and the cleaning liquid performance of the random forest algorithm is established. By obtaining the equipment working parameters in real time, the influence of the current cleaning process on the cleaning liquid performance is judged. Based on the prediction results of the random forest model, the cleaning parameters are dynamically optimized to reduce the loss of the cleaning liquid during the cleaning process. Step 5. Establish a cleaning fluid performance and cleaning effect evaluation system based on the analytic hierarchy process, determine the cleaning effect evaluation index according to the material, shape, and dirt type of the cleaning object, and the cleaning effect evaluation index includes cleanliness and surface roughness. Automatically detect the workpiece after cleaning to obtain cleaning effect data, and perform correlation analysis on the cleaning effect data and the cleaning fluid performance data obtained and analyzed in steps 1-4, and use genetic algorithms to optimize the cleaning fluid performance threshold and cleaning process parameters; Step 6. Based on the cleaning liquid contamination data and concentration data obtained in step 1, a fuzzy control algorithm is used to dynamically calculate the amount of concentrated liquid or diluted liquid required to be added. By controlling the operation of the online adding equipment, the automatic adjustment of the cleaning liquid concentration is achieved to ensure that the cleaning liquid is always in the best working state.
2. The method according to claim 1, wherein: The step 1. installing a contamination sensor and a concentration sensor in the cleaning liquid to obtain the contamination data and concentration data of the cleaning liquid in real time; comparing the obtained contamination data with a preset contamination threshold, and triggering a cleaning liquid contamination warning if the contamination data exceeds the preset threshold; and at the same time, comparing the obtained concentration data with a standard concentration range determined according to the type and ratio of the cleaning liquid, and triggering a cleaning liquid concentration abnormality warning if the concentration data exceeds the standard range, includes: By installing a contamination sensor and a concentration sensor in the cleaning fluid, the contamination data and concentration data of the cleaning fluid can be obtained in real time; The acquired contamination data is compared with the preset contamination threshold. If the contamination data exceeds the preset threshold, a cleaning fluid contamination warning is triggered; At the same time, the acquired concentration data is compared with the standard concentration range determined according to the type and ratio of the cleaning fluid. If the concentration data exceeds the standard range, an abnormal cleaning fluid concentration warning is triggered; Determine the standard concentration range of the cleaning solution according to the type and ratio of the cleaning solution, and use the standard concentration range as the basis for judging whether the cleaning solution concentration is abnormal; The support vector machine algorithm is used to analyze the acquired contamination data and concentration data to obtain the contamination degree and concentration abnormality of the cleaning fluid; The contamination and concentration data of the cleaning fluid are modeled by using a hidden Markov model to obtain the changing trends of the contamination and concentration of the cleaning fluid; According to the changing trend of the cleaning fluid contamination and concentration, the time series analysis method is used to predict the changes in the cleaning fluid contamination and concentration in the future. Determine whether the cleaning fluid needs to be replaced based on the predicted future contamination and concentration changes of the cleaning fluid; If the predicted contamination level or concentration exceeds the standard range, a reminder to replace the cleaning fluid is triggered; The acquired pollution degree data and concentration data are filtered through the Kalman filter algorithm to remove noise and abnormal values in the data and improve the accuracy and reliability of the data; The filtered pollution degree and concentration data are used as input for subsequent analysis and prediction; The Bayesian network is used to perform reasoning and analysis on the causes of cleaning fluid contamination. Based on the contamination data and concentration data, the causes of cleaning fluid contamination are inferred, providing decision support for subsequent cleaning fluid maintenance and management.
3. The method according to claim 1, wherein: The step 2. performs correlation analysis on the cleaning liquid contamination data and concentration data obtained in step 1, and determines whether the comprehensive performance of the cleaning liquid meets the cleaning requirements by constructing a cleaning liquid contamination-concentration model of logistic regression; if the comprehensive performance index obtained by the logistic regression model is lower than the preset value, a cleaning effect warning is triggered, including: According to the cleaning liquid contamination degree data and concentration data obtained in step 1, a correlation analysis is performed using the Pearson correlation coefficient method to obtain a correlation coefficient between the cleaning liquid contamination degree and concentration; By constructing a logistic regression model, the cleaning fluid contamination degree was taken as the independent variable and the concentration was taken as the dependent variable, and a cleaning fluid contamination degree-concentration logistic regression model was obtained through training; The trained logistic regression model is used to predict the cleaning solution concentration under different contamination levels and compared with the actual concentration. The root mean square error and mean absolute error evaluation indicators are calculated to determine the fitting effect of the logistic regression model. According to the prediction results of the logistic regression model, a comprehensive performance index threshold is set. If the predicted comprehensive performance index is lower than the preset threshold, a cleaning effect warning is triggered, indicating that the current contamination and concentration of the cleaning fluid cannot meet the cleaning requirements and the cleaning fluid formula needs to be replaced or adjusted in time. By continuously optimizing the hyperparameters of the logistic regression model, including the regularization coefficient and the number of iterations, the generalization ability and prediction accuracy of the model are improved, so that it can better adapt to the cleaning fluid data of different batches, providing a reliable basis for subsequent cleaning fluid performance evaluation and early warning.
4. The method according to claim 1, wherein: Step 3. Use a support vector machine algorithm to train the historical cleaning fluid contamination data and concentration data obtained in step 1 to obtain a cleaning fluid performance prediction model; use the cleaning fluid performance prediction model to predict the future performance of the cleaning fluid, and if the predicted performance does not meet the requirements, trigger an early warning of cleaning fluid replacement or concentration adjustment, including: The support vector machine algorithm is used to train the historical cleaning fluid contamination data and concentration data to obtain a cleaning fluid performance prediction model; The specific steps are as follows: collect historical contamination data and concentration data of the cleaning fluid through sensors as training sample data for the support vector machine algorithm; The grid search method is used to optimize the kernel function type, penalty coefficient and kernel function parameters of the support vector machine algorithm, and the hyperparameter combination with the best generalization performance is selected through cross-validation. Using the optimized hyperparameters, the support vector regression algorithm was used to train the historical data to obtain the cleaning fluid performance prediction model; Using the cleaning fluid performance prediction model obtained in the previous step, the future performance of the cleaning fluid is predicted; The details are as follows: the current contamination data and concentration data of the cleaning fluid are input into the cleaning fluid performance prediction model, and the performance change curve of the cleaning fluid in the future period of time is obtained through the model prediction; Based on the predicted performance change curve, determine whether the future performance of the cleaning fluid meets the production requirements; If the predicted future performance does not meet the requirements, an early warning is triggered to replace the cleaning fluid or adjust the concentration; When receiving a cleaning fluid performance warning, determine whether to replace the cleaning fluid or adjust the cleaning fluid concentration based on the prediction results and production requirements; If the predicted cleaning fluid performance will not meet the requirements in the short term, the cleaning fluid replacement process will be initiated; If the predicted cleaning liquid performance can meet the requirements after adjusting the concentration, the predicted optimal concentration value will be sent to the cleaning liquid ratio control system to automatically adjust the cleaning liquid concentration; After the cleaning fluid is replaced or the concentration is adjusted, new cleaning fluid contamination data and concentration data are continuously collected and input into the cleaning fluid performance prediction model for prediction. Based on the prediction results, the cleaning fluid performance is continuously monitored and warned to form a closed-loop control. At the same time, the newly collected data are added to the historical data set, and the cleaning fluid performance prediction model is retrained regularly to improve the prediction accuracy and adaptability of the model.
5. The method according to claim 1, wherein: The step 4. establishes a correlation model between the cleaning parameters and the cleaning fluid performance of a random forest algorithm according to the working parameters of the ultrasonic cleaning equipment, which include cleaning power, frequency, and time; determines the impact of the current cleaning process on the cleaning fluid performance by acquiring the equipment working parameters in real time; and dynamically optimizes the cleaning parameters based on the prediction results of the random forest model to reduce the loss of the cleaning fluid during the cleaning process, including: According to the cleaning power, frequency and time of ultrasonic cleaning equipment, a correlation model between cleaning parameters and cleaning fluid performance was established using random forest algorithm. By acquiring the working parameter data of the ultrasonic cleaning equipment in real time, it is used as the input feature of the random forest model; The nonlinear fitting ability of the random forest model is used to train the complex mapping relationship between cleaning parameters and cleaning fluid performance; During the model training process, the conductivity, pH value and surface tension of the cleaning fluid are used as evaluation indicators of the cleaning fluid performance to construct a multi-dimensional cleaning fluid performance evaluation system; The cleaning parameters and the corresponding cleaning fluid performance index data pairs are used as training samples and input into the random forest model for training to obtain an optimized association model; When the ultrasonic cleaning equipment is actually working, the cleaning power, frequency and time parameters of the equipment are collected in real time and input into the trained random forest association model; The model predicts the impact of the current cleaning process on the cleaning fluid performance based on the input cleaning parameters; By analyzing the prediction results of the model, it is determined whether the cleaning process will lead to excessive loss of cleaning fluid performance; If the cleaning fluid performance loss predicted by the random forest model exceeds a preset threshold, the dynamic optimization mechanism of the cleaning parameters is triggered; Genetic algorithms are used to optimize the cleaning power, frequency and time parameters to find the optimal parameter combination that can meet the cleaning effect while minimizing the loss of cleaning fluid. The optimized cleaning parameters are transmitted to the control system of the ultrasonic cleaning equipment, and the working parameters of the equipment are adjusted in real time to reduce the adverse effects of the cleaning process on the performance of the cleaning fluid; Through the prediction feedback and parameter optimization of the random forest association model, a dynamic balance between the ultrasonic cleaning process and the cleaning fluid performance was achieved; While ensuring the cleaning effect, the service life of the cleaning fluid is extended to the maximum, avoiding the cost waste caused by frequent replacement of the cleaning fluid; At the same time, the optimized cleaning parameters can also help improve cleaning efficiency, shorten cleaning time, and enhance the overall performance of ultrasonic cleaning equipment.
6. The method according to claim 1, wherein: The step 5. establishes a cleaning fluid performance and cleaning effect evaluation system of the analytic hierarchy process, determines the cleaning effect evaluation index according to the material, shape, and dirt type of the cleaning object, and the cleaning effect evaluation index includes cleanliness and surface roughness; obtains cleaning effect data by automatically detecting the workpiece after cleaning; associates the cleaning effect data with the cleaning fluid performance data obtained and analyzed in steps 1-4, and uses a genetic algorithm to optimize the cleaning fluid performance threshold and cleaning process parameters, including: Determine a cleaning effect evaluation index according to the material, shape and dirt type of the cleaning object, wherein the cleaning effect evaluation index includes cleanliness and surface roughness; Acquire cleaning effect data by automatically inspecting the workpiece after cleaning; The cleaning effect data thus obtained are correlated with the cleaning liquid performance data obtained and analyzed in the previous step by one or more of Fourier transform infrared spectroscopy, ultraviolet visible spectrophotometry, conductivity method, and acid-base titration method, and a genetic algorithm is used to optimize the cleaning liquid performance threshold and cleaning process parameters; In the correlation analysis, firstly, the analytic hierarchy process model is established based on the cleaning fluid performance data and cleaning effect data to determine the weight of each indicator; Then the cleaning fluid performance data and cleaning effect data are input into the AHP model to obtain a comprehensive evaluation score; Then, the genetic algorithm is used to optimize the weight parameters in the AHP model, and the fitness function is used to evaluate the quality of individuals in the population. The independent variables of the fitness function are the cleaning fluid performance threshold and the cleaning process parameters, and the dependent variable is the comprehensive evaluation score. In the iterative process of the genetic algorithm, the population is optimized through one or more genetic operations of selection, crossover and mutation until the termination condition is met, and the optimal cleaning liquid performance threshold and cleaning process parameters are obtained; If the optimized cleaning fluid performance threshold and cleaning process parameters can make the comprehensive evaluation score reach the preset target value, they will be used as the final cleaning fluid performance threshold and cleaning process parameters to guide the actual cleaning operation; If the optimized cleaning fluid performance threshold and cleaning process parameters cannot make the comprehensive evaluation score reach the preset target value, it is necessary to return to the previous step, adjust the cleaning fluid formula, re-acquire the cleaning fluid performance data and cleaning effect data, and perform correlation analysis and optimization again; The evaluation system of cleaning fluid performance and cleaning effect based on the analytic hierarchy process established by the above method can quantify the relationship between cleaning fluid performance and cleaning effect, provide a theoretical basis and data support for optimizing cleaning fluid formulation and cleaning process parameters, thereby improving cleaning quality and efficiency.
7. The method according to claim 1, wherein: The step 6. dynamically calculates the amount of concentrated liquid or diluted liquid to be added according to the cleaning liquid contamination data and concentration data obtained in step 1 by using a fuzzy control algorithm; and automatically adjusts the cleaning liquid concentration by controlling the operation of the online adding device to ensure that the cleaning liquid is always in the best working state, including: Determine the specific range of the cleaning fluid contamination according to the contamination data obtained by the contamination sensor; Determine the specific range of the cleaning liquid concentration based on the concentration data obtained by the concentration sensor; Constructing a fuzzy control rule base, including: constructing a fuzzy control rule base according to the specific range of the cleaning liquid contamination degree and the specific range of the cleaning liquid concentration, combined with actual process requirements; The obtained cleaning liquid contamination data and concentration data are fuzzy processed, including: using one of a triangle membership function method, a trapezoidal membership function method or a Gaussian membership function method to convert the contamination data obtained by the contamination sensor and the concentration data obtained by the concentration sensor into corresponding fuzzy sets; Obtaining the fuzzy amount of the concentrate or diluent to be added by fuzzy reasoning, including: performing fuzzy reasoning by Mamdani reasoning method or Sugeno reasoning method according to the fuzzy control rule base and the contamination degree fuzzy set and the concentration fuzzy set obtained by fuzzification processing, to obtain the fuzzy amount of the concentrate or diluent to be added; Defuzzification is performed on the fuzzy value of the added amount obtained by fuzzy reasoning, including: using one of the centroid method, the maximum membership method or the weighted average method to convert the fuzzy value of the added amount obtained by fuzzy reasoning into an accurate control value; The operation of the online adding device is controlled by the controller, including: transmitting the precise control value obtained by defuzzification to the controller of the online adding device, and the controller controls the online adding device to add a corresponding amount of concentrate or diluent to the cleaning liquid according to the received control value.
