Data cleaning method and system based on dynamic rule and medium

Adjusting industrial data cleaning methods through dynamic rules solves the problem of unreasonable cleaning frequency and inability to monitor in real time in traditional methods, and the matching of cleaning activities with production needs is achieved, equipment life and product quality are improved, and maintenance costs are reduced.

CN118964854AInactive Publication Date: 2024-11-15BUGONG CLOUD DIGITAL TECHNOLOGY (CHENGDU) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411140211.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional industrial data cleaning methods cannot flexibly respond to the changing production environment and complex production needs, resulting in unreasonable cleaning frequency and the inability to monitor and adjust cleaning strategies in real time, affecting the normal operation of the equipment and the stable product quality.

Method used

The data cleaning method based on dynamic rules is adopted to collect production data in real time for denoising, smoothing and standardizing processing, and set regular, continuous production and product switching cleaning rules, and dynamically adjust cleaning trigger conditions based on real-time data to optimize the cleaning process.

Benefits of technology

The best match between cleaning activities and production needs is achieved, excessive or insufficient cleaning is avoided, equipment service life is extended, maintenance costs are reduced, production line stability and product quality are improved, and the company's market competitiveness is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964854A_ABST
    Figure CN118964854A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial data cleaning, in particular to a data cleaning method and system based on a dynamic rule and a medium, and the method comprises the following steps: S1, collecting production data from production equipment and a sensor in real time; s2, cleaning rules are set according to production requirements and equipment characteristics; s3, setting a fixed time interval; s4, when a preset number of products are produced or the preset production time is reached, a cleaning program is automatically triggered; s5, when the production materials are switched, the system automatically triggers a cleaning program according to a set switching rule; s6, adjusting a trigger condition according to the production data collected in real time; and S7, recording and analyzing a cleaning result of each time, and optimizing a cleaning rule and a triggering condition according to an analysis result. According to the method, the cleaning process is optimized through real-time data collection and intelligent analysis, the production efficiency and the product quality are remarkably improved, meanwhile, the equipment maintenance cost is reduced, and the operation consistency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial data cleaning, and in particular to a data cleaning method, system and medium based on dynamic rules. Background Art

[0002] In the industrial production process, cleaning of equipment and production lines is an important part of ensuring production efficiency and product quality. Traditional cleaning methods usually rely on fixed time intervals or manual triggering, which cannot flexibly respond to changing production environments and complex production needs. With the development of industrial automation and intelligence, the complexity of production equipment and production lines continues to increase. Cleaning methods that rely solely on fixed time intervals can no longer meet the high efficiency and precision requirements of modern industrial production. The operating status of production equipment, changes in the production environment, and the diversity of products have put forward higher requirements on cleaning frequency and cleaning effect. In the prior art, the triggering conditions and cleaning rules of the cleaning program often lack the ability to be dynamically adjusted, resulting in the inability of the cleaning process to respond to emergencies and abnormal conditions in production in real time, affecting the normal operation of the equipment and the quality stability of the product. The limitations of traditional cleaning methods include: unreasonable cleaning frequency leading to excessive or insufficient cleaning, inability to monitor and adjust the cleaning strategy in real time, and difficulty in quantifying and evaluating the cleaning effect. Therefore, in order to solve these problems, the present invention proposes a data cleaning method and system based on dynamic rules, which is particularly important, which can not only improve production efficiency, but also significantly reduce equipment maintenance costs and downtime caused by improper cleaning. Summary of the invention

[0003] Based on the above objectives, the present invention provides a data cleaning method, system and medium based on dynamic rules.

[0004] A data cleaning method based on dynamic rules comprises the following steps: S1: Data collection and preprocessing: real-time collection of production data from production equipment and sensors, and denoising, smoothing and standardization of the data; S2: Cleaning rule setting: Cleaning rules are set according to production requirements and equipment characteristics, including regular cleaning, continuous production cleaning, and product switching cleaning; S3: Regular cleaning trigger, set a fixed time interval, and the system automatically triggers the cleaning program according to the set time interval; S4: Continuous production cleaning trigger, when a predetermined number of products are produced or the preset production time is reached, the system automatically triggers the cleaning program; S5: Product switching cleaning trigger. When the production material is switched, the system automatically triggers the cleaning procedure according to the set switching rules; S6: Dynamically adjust cleaning rules, adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data to optimize the cleaning process; S7: Feedback and optimization of cleaning results. Record and analyze each cleaning result, and optimize cleaning rules and trigger conditions based on the analysis results.

[0005] Optionally, the S1 specifically includes: S11: Collect production data from production equipment and sensors in real time, including temperature, humidity, production speed and equipment status parameters, and collect and transmit data through the Industrial Internet Gateway; S12: De-noising the collected data using a wavelet transform algorithm, eliminating high-frequency noise components in the production data by decomposing and reconstructing the signal; S13: Use the moving average method to smooth the denoised data and reduce data fluctuations by calculating the sliding average of the data; S14: Standardize the smoothed data to convert the data into a standard normal distribution with a mean of zero and a standard deviation of one, thereby eliminating the dimensional differences between different data sources.

[0006] Optionally, S2 specifically includes: S21: Regular cleaning rule setting: based on the actual operating conditions and historical maintenance data of the equipment, set the time interval and cleaning procedure for regular cleaning, consider the environmental factors and production load of the equipment operation, and determine the optimal cleaning cycle through data analysis; S22: Setting of continuous production cleaning rules. According to the continuous production product requirements and the rapid accumulation of pollution in the production equipment, the cleaning trigger point is set. Cleaning is set to be performed immediately after a predetermined number of products are produced or a preset time is reached to ensure product quality. S23: Product switching cleaning rules are set. Every time production materials are switched, necessary cleaning is performed based on the cross-contamination risk and cleaning requirements between materials.

[0007] Optionally, the S3 specifically includes: S31: Setting a fixed time interval, setting a fixed time interval for cleaning according to the operation data of the production equipment and the production plan, including setting a natural time interval or a production time interval; S32: Select the time interval type. Select the corresponding time interval type according to production requirements and equipment characteristics. The natural time interval is suitable for equipment that is sensitive to environmental conditions, and the production time interval is suitable for equipment that is sensitive to production loads. S33: Time monitoring, through the real-time clock built into the production equipment and the production data monitoring device, continuously track and record the equipment's operating time and natural time; for natural time intervals, the real-time clock is used for timing; for production time intervals, the actual operating time of the monitoring equipment is used for cumulative timing; S34: Automatically trigger cleaning. When the set time interval is detected, the cleaning program is automatically triggered. The system will issue a cleaning instruction and start the preset cleaning process through the control device.

[0008] Optionally, the S4 specifically includes: S41: Monitor the product quantity and production time on the production line in real time, and record the production quantity of each batch and the actual running time of the equipment; S42: according to the production plan and equipment characteristics, a production quantity threshold and a production time threshold are set, wherein the production quantity threshold is the total number of products produced; and the production time threshold is the continuous operation time of the production equipment; S43: comparing the real-time monitored production data with the preset production quantity and production time thresholds, and when the production quantity reaches the set threshold or the production time reaches the set time threshold, it is determined that a cleaning operation is required; S44: Once the system determines that a cleaning operation is required, the cleaning program is automatically triggered, and the system issues a cleaning instruction through the control module to start the preset cleaning process; S45: After the cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to the production mode. At the same time, a cleaning report is generated for review by operators and managers.

[0009] Optionally, the S5 specifically includes: S51: The material type on the production line is detected in real time by the material identification module. When the material is detected to be switched, the material identification module transmits the material switching information to the control module. The material identification module is specifically based on the radio frequency identification tag, barcode scanning or Internet of Things sensor for detection; S52: according to production requirements and material characteristics, set cleaning rules when switching different materials, and the cleaning rules include the cleaning time and cleaning procedures required when switching each material; S53: Match the detected material switching information with the preset cleaning rules through a rule matching algorithm. The expression of the rule matching algorithm is: ; in, is the matching cleaning rule, is the material type currently being produced, The material type for the next production. is the current production time, It is a preset rule set, including cleaning rules under predetermined conditions; S54: When the system determines that cleaning is required according to the rule matching algorithm, the cleaning program is automatically triggered, and a cleaning instruction is also sent through the control module to start the preset cleaning process; S55: After cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to production mode. A cleaning report is generated for review by operators and managers.

[0010] Optionally, the S6 specifically includes: S61: receiving the data collected and pre-processed in S1, including production quantity, production time, equipment status, environmental parameters and material type; S62: Use the data anomaly detection algorithm to process the real-time monitoring data and identify abnormal conditions in the production process, including detection equipment wear, material accumulation or contamination. The anomaly detection algorithm formula is: ,in, For the Anomaly score for data points, For the data points, is the mean of the data, is the standard deviation of the data, when When the set threshold is exceeded, the data point is judged as abnormal, which will trigger the corresponding cleaning process adjustment; S63: Dynamically adjust the triggering conditions for periodic cleaning, continuous production cleaning, and product switching cleaning based on data analysis results and abnormal detection conditions; Regular cleaning adjustment uses a dynamic time planning algorithm to adjust the cleaning cycle according to the actual operating time and status of the equipment. The dynamic time planning algorithm formula is: ,in, For the adjusted cleaning cycle, As the basic cleaning cycle, is the adjustment factor, is the sample size, For the Anomaly score for each data point; Continuous production cleaning adjustment, based on real-time monitoring data and changes in product quality, uses the Bayesian optimization algorithm to adjust the thresholds of production quantity and production time. The Bayesian optimization algorithm formula is: ,in, is the posterior probability, is the likelihood function, is the prior probability; Product switching cleaning adjustment uses fuzzy logic control algorithm to adjust the switching cleaning rules according to the frequency of material switching and cross-contamination risk. The fuzzy logic control algorithm formula is: ,in, is the adjustment value of the cleaning condition, is the number of rules, For the The weight of the rule, For the The membership degree of the rule; S64: The system automatically executes the cleaning procedure according to the adjusted cleaning trigger condition.

[0011] Optionally, the S7 specifically includes: S71: After each cleaning is completed, detailed cleaning information is automatically recorded, including cleaning time, cleaning duration, cleaning procedure, equipment status and production line status after cleaning; S72: extracting data from the cleaning record, including cleaning effect indicators and environmental parameters; S73: Analyze the collected cleaning result data using data analysis algorithms of regression analysis and cluster analysis to evaluate the relationship between the cleaning effect and the cleaning conditions. Regression analysis is used to establish a regression model between the cleaning effect and the cleaning parameters. The formula is: ,in, It is an indicator of cleaning effect. For cleaning time, is the cleaning frequency, is the regression coefficient, is the error term; the cluster analysis is used to cluster the cleaning record data according to the cleaning effect and environmental parameters to identify the best cleaning solution under different cleaning conditions. The formula is: ,in, is the clustering result, is the number of data points, For the data points, For the The center point of the class; S74: According to the results of the cleaning effect analysis, the existing cleaning rules and trigger conditions are optimized, and the relationship between the cleaning effect and the cleaning rules is modeled using a machine learning algorithm to automatically adjust the cleaning frequency, cleaning time and cleaning program. The machine learning algorithm includes a decision tree or a random forest.

[0012] A data cleaning system based on dynamic rules, used to implement the above-mentioned data cleaning method based on dynamic rules, includes the following modules: Data acquisition and preprocessing module: used to collect production data from production equipment and sensors in real time, and perform denoising, smoothing and standardization on the data; Cleaning rule setting module: used to set cleaning rules according to production requirements and equipment characteristics, including regular cleaning rules, continuous production cleaning rules and product switching cleaning rules; Time monitoring module: used to monitor the operating time and production quantity of production equipment in real time, trigger the cleaning program according to the set time interval and production quantity, including the monitoring of natural time and production time; Abnormal detection module: used to analyze the real-time collected production data, identify abnormal situations in the production process, and adjust the cleaning trigger conditions according to the abnormal situations; Dynamic adjustment module: used to dynamically adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data and abnormal detection results to optimize the cleaning process; Cleaning execution module: used to receive cleaning trigger signals and automatically execute cleaning procedures, including starting cleaning equipment, notifying operators and monitoring the cleaning process in real time; Cleaning result recording and analysis module: used to record detailed information of each cleaning, analyze the cleaning results using data analysis algorithms, and optimize cleaning rules and trigger conditions based on the analysis results; Rule optimization and update module: used to continuously optimize the cleaning rules using machine learning algorithms, and update the optimized cleaning rules to the system to ensure that the system can automatically adapt to changes in the production environment.

[0013] A computer storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned data cleaning method based on dynamic rules.

[0014] Beneficial effects of the present invention: The present invention, through real-time data collection and analysis, can accurately monitor key indicators in the production process, such as equipment operating status and environmental conditions, so as to realize dynamic adjustment of cleaning rules. This method ensures the best match between cleaning activities and actual production needs, avoids the problems of over-cleaning or insufficient cleaning common in traditional methods, effectively extends the service life of equipment and reduces unnecessary maintenance costs.

[0015] The present invention also reduces the need for manual intervention through its automation and intelligent features, improves the consistency and reliability of operations, and continuously optimizes the cleaning rules and trigger conditions through systematic analysis and feedback of each cleaning result, making the cleaning process more efficient. This continuous optimization process not only improves the stability of the production line, but also ensures that the products can meet high-standard quality requirements under various production conditions, thereby enhancing the company's competitiveness in the market. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A schematic diagram of a data cleaning method based on dynamic rules according to an embodiment of the present invention; Figure 2 Schematic diagram of a data cleaning system based on dynamic rules according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. At the same time, it is explained here that in order to make the embodiments more detailed, the following embodiments are the best and preferred embodiments, and those skilled in the art may also adopt other alternatives to implement some known technologies; and the accompanying drawings are only for more specific description of the embodiments, and are not intended to specifically limit the present invention.

[0019] It should be noted that the references to "one embodiment", "embodiment", "exemplary embodiments", "some embodiments" and the like in the specification indicate that the embodiments described may include specific features, structures or characteristics, but not every embodiment may include the specific features, structures or characteristics. In addition, when a specific feature, structure or characteristic is described in conjunction with an embodiment, it should be within the knowledge of a person skilled in the art to implement such feature, structure or characteristic in conjunction with other embodiments (whether or not explicitly described).

[0020] In general, a term can be understood, at least in part, from its use in context. For example, depending, at least in part, on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in the singular sense, or can be used to describe a combination of features, structures, or characteristics in the plural sense. Additionally, the term "based on" can be understood as not necessarily intended to convey an exclusive set of factors, but can instead, depending, at least in part, on the context, allow for the presence of other factors that are not necessarily explicitly described.

[0021] like Figure 1 As shown, a data cleaning method based on dynamic rules includes the following steps: S1: Data collection and preprocessing: real-time collection of production data from production equipment and sensors, and denoising, smoothing and standardization of the data to ensure data accuracy and consistency; S2: Cleaning rule setting: Cleaning rules are set according to production requirements and equipment characteristics, including regular cleaning, continuous production cleaning, and product switching cleaning; S3: Regular cleaning trigger, set a fixed time interval, and the system automatically triggers the cleaning program according to the set time interval; S4: Continuous production cleaning trigger, when a predetermined number of products are produced or the preset production time is reached, the system automatically triggers the cleaning program; S5: Product switching cleaning trigger. When the production material is switched, the system automatically triggers the cleaning procedure according to the set switching rules; S6: Dynamically adjust cleaning rules, adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data to optimize the cleaning process; S7: Feedback and optimization of cleaning results. Record and analyze each cleaning result, and optimize cleaning rules and trigger conditions based on the analysis results.

[0022] Data collection and preprocessing in S1 specifically include: S11: Collect production data in real time from production equipment and sensors, including temperature, humidity, production speed and equipment status parameters, and collect and transmit data through the Industrial Internet of Things (IIoT) gateway to ensure the real-time and integrity of the data; S12: Use the wavelet transform algorithm to perform denoising on the collected data, decompose and reconstruct the signal, eliminate the high-frequency noise components in the production data, and improve the accuracy of the data; S13: Use the moving average method to smooth the denoised data, and reduce data fluctuations and ensure data stability by calculating the sliding average of the data; S14: Standardize the smoothed data and convert it into a standard normal distribution with a mean of zero and a standard deviation of one, eliminating the dimensional differences between different data sources and improving the comparability of the data. Through the above steps, production data can be collected and processed in real time and efficiently to ensure the accuracy and consistency of the data, thereby providing a reliable data basis for the subsequent setting and triggering of cleaning rules and improving the intelligence and accuracy of the cleaning process.

[0023] The cleaning rule settings in S2 specifically include: S21: Regular cleaning rule setting: Based on the actual operating conditions and historical maintenance data of the equipment, set the time interval and cleaning procedure for regular cleaning, consider the environmental factors of equipment operation (such as temperature, humidity, dust level) and production load, and determine the optimal cleaning cycle through data analysis. The calculation formula for setting the cleaning cycle is as follows: ,in, is the cleaning cycle (hours), is the equipment characteristic constant, which is set according to the specific type of equipment and the manufacturer's recommendations. is the ambient temperature (degrees Celsius), is the ambient humidity (percentage), is the dust level (particle concentration, unit: micrograms per cubic meter), is the production load (percentage), is the weight coefficient, which is set according to the actual production situation. Through the above formula, the cleaning cycle can be dynamically adjusted according to environmental factors and production load to ensure that the equipment operates in the best condition. Specific embodiments include: Scenario 1: In the continuous production process, whether the same material or different materials are produced, cleaning is set to be performed after a fixed natural time (for example, every 24 hours) or production time (for example, every 100 hours of production); Scenario 2: After a large-scale cleaning, routine small cleaning is performed at set time intervals. For example, small cleaning is performed within two weeks after each large cleaning, and the time between two large cleanings should not exceed six months to ensure that the equipment is maintained in the best working condition. S22: Setting of continuous production cleaning rules. According to the product requirements of continuous production and the rapid accumulation of pollution in production equipment, set the cleaning trigger point. In particular, for those equipment that easily accumulates residues or pollutants during the production process, set the cleaning to be performed immediately after the production of a predetermined number of products or the preset time, so as to ensure product quality. For example, when the continuous production of a certain material A reaches the preset waiting time (for example, after 8 hours of continuous production) or the production quantity (for example, after 500 units are produced), the system automatically triggers the cleaning procedure, and the same material can be continued to be produced or switched to the production of other materials after cleaning. S23: Product switching cleaning rule setting. Every time a production material is switched, necessary cleaning is performed according to the cross-contamination risk and cleaning requirements between materials. Specific embodiments include: Scenario 1: Regardless of the material produced previously, as soon as material A is produced, a preset cleaning time is required. For example, 30 minutes of cleaning is required before switching to material A. Scenario 2: If the machine has no tasks for a period of time, when it is reconfigured to produce material A, the preset cleaning time must be executed; Scenario 3: When switching from material B to material A, a scheduled cleaning time is also required to eliminate any potential cross contamination; Through the detailed setting of these cleaning rules, the production process can flexibly respond to different production needs and environmental conditions, ensure that the equipment operates in the best condition, and minimize equipment failures due to contamination or improper maintenance. By precisely controlling the cleaning cycle and cleaning quality, these rules help improve product quality, reduce production interruptions, thereby improving production efficiency and economic benefits. At the same time, they ensure the consistency of product quality and the long-term reliability of equipment, bringing continuous market competitive advantages to enterprises.

[0024] S3 specifically includes: S31: fixed time interval setting, according to the operation data of the production equipment and the production plan, set the fixed time interval for cleaning, including setting the natural time interval (such as every 24 hours) or the production time interval (such as every 100 hours of operation), these time intervals are set and stored through the time configuration module in the equipment management system; S32: Time interval type selection: select the corresponding time interval type (natural time or production time) according to production requirements and equipment characteristics. The natural time interval is suitable for equipment that is sensitive to environmental conditions, and the production time interval is suitable for equipment that is sensitive to production load. The time interval type is selected and applied by the rule engine in the equipment management system. S33: Time monitoring, through the real-time clock built into the production equipment and the production data monitoring device, continuously track and record the equipment's operating time and natural time; for natural time intervals, the real-time clock is used for timing; for production time intervals, the actual operating time of the monitoring equipment is used for cumulative timing; S34: Automatically trigger cleaning. When the set time interval (natural time or production time) is detected, the cleaning program is automatically triggered. The system will issue a cleaning instruction and start the preset cleaning process through the control device. This process includes sending a cleaning notification to the relevant operators and displaying the cleaning status and progress on the system interface. Through the above detailed steps, the system can accurately set and monitor the fixed time interval for cleaning, and automatically trigger the cleaning program when the time interval is reached. This method ensures that the equipment receives the necessary cleaning within the specified time and maintains the best operating state. By selecting the appropriate time interval type (natural time or production time), the system can flexibly adapt to different production environments and equipment characteristics to ensure the timeliness and effectiveness of the cleaning process, thereby improving the reliability of the equipment and the efficiency of the production line.

[0025] The continuous production cleaning trigger in S4 specifically includes: S41: Real-time monitoring of the product quantity and production time on the production line, and recording of the production quantity of each batch and the actual running time of the equipment to ensure the real-time and accuracy of the data; S42: according to the production plan and equipment characteristics, a production quantity threshold and a production time threshold are set, wherein the production quantity threshold is the total number of products produced, for example, 1000 units; and the production time threshold is the continuous operation time of the production equipment, for example, 12 hours; S43: comparing the real-time monitored production data with the preset production quantity and production time thresholds, and when the production quantity reaches the set threshold or the production time reaches the set time threshold, it is determined that a cleaning operation is required; S44: Once the system determines that a cleaning operation is required, the cleaning procedure is automatically triggered, and the system issues a cleaning instruction through the control module to start the preset cleaning process; specifically, it includes: Sending a start signal to the cleaning equipment to start the cleaning operation; Notify the operator to monitor the cleaning process to ensure that the cleaning process proceeds smoothly; Display cleaning status and progress on the system interface to provide real-time feedback; S45: After the cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to the production mode. At the same time, a cleaning report is generated for review by operators and managers to ensure that the cleaning effect meets expectations; through the above detailed steps, the present invention can automatically trigger the cleaning program after producing a predetermined number of products or reaching a preset production time to ensure the cleanliness of the equipment and the continuity of production. The system ensures the timeliness and accuracy of the cleaning operation by real-time monitoring of production data and threshold comparison. Automatically triggering the cleaning program not only improves production efficiency and reduces manual intervention, but also effectively avoids product quality problems and equipment failures caused by untimely cleaning.

[0026] The product switching cleaning trigger in S5 specifically includes: S51: The material type on the production line is detected in real time through the material identification module. When the material is detected to be switched, the material identification module transmits the material switching information to the control module. The material identification module is specifically based on radio frequency identification (RFID) tags, barcode scanning or Internet of Things (IoT) sensors for detection; S52: according to production requirements and material characteristics, set cleaning rules when different materials are switched, and the cleaning rules include the cleaning time (shift_time) and cleaning procedures required when each material is switched; S53: Match the detected material switching information with the preset cleaning rules through a rule matching algorithm. The expression of the rule matching algorithm is: ; in, is the matching cleaning rule, is the material type currently being produced, The material type for the next production. is the current production time, It is a preset rule set, including cleaning rules under predetermined conditions; S54: When the system determines that cleaning is required according to the rule matching algorithm, the cleaning program is automatically triggered, and a cleaning instruction is also sent through the control module to start the preset cleaning process; S55: After cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to the production mode. A cleaning report is generated for review by operators and managers to ensure that the cleaning effect meets expectations. Through the above detailed steps, when the production material is switched, the system can automatically trigger the cleaning program according to the set switching rules to ensure the cleanliness of the production equipment and the continuity of the production process. The combination of material identification module, rule matching algorithm and automatic triggering of cleaning program enables the system to efficiently and accurately handle the cleaning needs in material switching. Through real-time monitoring and cleaning completion confirmation, the system provides reliable data support for subsequent production management and rule optimization, further improving production efficiency and product quality, and ensuring that the equipment always maintains the best state when switching between different materials.

[0027] The dynamic adjustment of cleaning rules in S6 specifically includes: S61: Receives the data collected and pre-processed in S1 and monitors the operation of production equipment and production lines in real time. These data include production quantity, production time, equipment status, environmental parameters (such as temperature, humidity, dust level) and material type; S62: Use the data anomaly detection algorithm to process the real-time monitoring data and identify abnormal conditions in the production process, including detection equipment wear, material accumulation or contamination. These abnormal conditions will trigger the need to adjust the cleaning process. The anomaly detection algorithm formula is: ,in, For the Anomaly score for data points, For the data points, is the mean of the data, is the standard deviation of the data, when When the set threshold is exceeded, the data point is judged as abnormal, which will trigger the corresponding cleaning process adjustment; S63: Dynamically adjust the triggering conditions for periodic cleaning, continuous production cleaning, and product switching cleaning based on data analysis results and abnormal detection conditions; Regular cleaning adjustment uses the dynamic time planning (DTP) algorithm to adjust the cleaning cycle according to the actual operating time and status of the equipment. The dynamic time planning algorithm formula is: ,in, For the adjusted cleaning cycle, As the basic cleaning cycle, is the adjustment factor, is the sample size, For the Anomaly score for each data point; Continuous production cleaning adjustment, based on real-time monitoring data and changes in product quality, uses the Bayesian optimization algorithm to adjust the thresholds of production quantity and production time. The Bayesian optimization algorithm formula is: ,in, is the posterior probability, is the likelihood function, is the prior probability; the threshold is continuously updated through Bayesian optimization to ensure that the production line operates in the best state; Product switching cleaning adjustment uses fuzzy logic control algorithm to adjust the switching cleaning rules according to the frequency of material switching and cross-contamination risk. The fuzzy logic control algorithm formula is: ,in, is the adjustment value of the cleaning condition, is the number of rules, For the The weight of the rule, For the The membership degree of the rule; S64: The system automatically executes the cleaning procedure according to the adjusted cleaning trigger conditions, including sending cleaning instructions, starting the cleaning equipment, notifying the operator and monitoring the cleaning process in real time to ensure the smooth progress of the cleaning operation; through the above steps, the trigger conditions of regular cleaning, continuous production cleaning and product switching cleaning can be dynamically adjusted according to the real-time collected production data to optimize the cleaning process. This method not only improves the flexibility and response speed of the cleaning process, but also ensures the optimal operation of production equipment and production lines under different production conditions.

[0028] S7 specifically includes: S71: After each cleaning is completed, detailed information of the cleaning is automatically recorded, including the cleaning time, cleaning duration, cleaning procedure, equipment status and production line status after cleaning. This information is stored in the log module of the equipment management system; S72: extracting data from the cleaning records, including cleaning effect indicators (such as equipment failure rate after cleaning, degree of product quality improvement) and environmental parameters (such as temperature and humidity), and storing these data in a data analysis module for subsequent analysis; S73: The collected cleaning result data are analyzed using the data analysis algorithms of regression analysis and cluster analysis to evaluate the relationship between the cleaning effect and the cleaning conditions. Regression analysis is used to establish a regression model between the cleaning effect (such as the reduction in equipment failure rate) and the cleaning parameters (such as cleaning time and cleaning frequency). The formula is: ,in, It is an indicator of cleaning effect. For cleaning time, is the cleaning frequency, is the regression coefficient, is the error term; cluster analysis is used to cluster the cleaning record data according to the cleaning effect and environmental parameters to identify the best cleaning solution under different cleaning conditions. The formula is: ,in, is the clustering result, is the number of data points, For the data points, For the The center point of the class; S74: According to the results of the cleaning effect analysis, the existing cleaning rules and trigger conditions are optimized, and the relationship between the cleaning effect and the cleaning rules is modeled using a machine learning algorithm to automatically adjust the cleaning frequency, cleaning time and cleaning program. The machine learning algorithm includes a decision tree or a random forest. Through the above steps, the present invention can record and analyze the results of each cleaning, and optimize the cleaning rules and trigger conditions according to the analysis results. By using data analysis algorithms such as regression analysis and cluster analysis, the system can accurately evaluate the cleaning effect and identify the best cleaning solution. The cleaning rules are automatically adjusted and optimized through machine learning algorithms (such as decision tree models) to ensure that the equipment operates in the best state, improve production efficiency and product quality, and reduce the risk of equipment failure and production interruption.

[0029] like Figure 2 As shown, a data cleaning system based on dynamic rules is used to implement the above-mentioned data cleaning method based on dynamic rules, including the following modules: Data acquisition and preprocessing module: used to collect production data from production equipment and sensors in real time, and perform denoising, smoothing and standardization on the data to ensure the accuracy and consistency of the data; Cleaning rule setting module: used to set cleaning rules according to production requirements and equipment characteristics, including regular cleaning rules, continuous production cleaning rules and product switching cleaning rules; Time monitoring module: used to monitor the operating time and production quantity of production equipment in real time, trigger the cleaning program according to the set time interval and production quantity, including the monitoring of natural time and production time; Abnormal detection module: used to analyze the real-time collected production data, identify abnormal situations in the production process, and adjust the cleaning trigger conditions according to the abnormal situations; Dynamic adjustment module: used to dynamically adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data and abnormal detection results to optimize the cleaning process; Cleaning execution module: used to receive cleaning trigger signals and automatically execute cleaning procedures, including starting cleaning equipment, notifying operators and monitoring the cleaning process in real time; Cleaning result recording and analysis module: used to record detailed information of each cleaning, analyze the cleaning results using data analysis algorithms, and optimize cleaning rules and trigger conditions based on the analysis results; Rule optimization and update module: used to continuously optimize the cleaning rules using machine learning algorithms, and update the optimized cleaning rules to the system to ensure that the system can automatically adapt to changes in the production environment.

[0030] A computer storage medium stores a computer program, which implements the steps of the above-mentioned data cleaning method based on dynamic rules when executed by a processor.

[0031] The present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention. In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without the description of these details. In addition, in order to avoid unnecessary confusion about the essence of the present invention, well-known methods, processes, procedures, components and circuits are not described in detail.

[0032] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data cleaning method based on dynamic rules, It is characterized in that The following steps are involved: S1: Data collection and preprocessing: real-time collection of production data from production equipment and sensors, and denoising, smoothing and standardization of the data; S2: Cleaning rule setting: Cleaning rules are set according to production requirements and equipment characteristics, including regular cleaning, continuous production cleaning, and product switching cleaning; S3: Regular cleaning trigger, set a fixed time interval, and the system automatically triggers the cleaning program according to the set time interval; S4: Continuous production cleaning trigger, when a predetermined number of products are produced or the preset production time is reached, the system automatically triggers the cleaning program; S5: Product switching cleaning trigger. When the production material is switched, the system automatically triggers the cleaning procedure according to the set switching rules; S6: Dynamically adjust cleaning rules, adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data to optimize the cleaning process; S7: Feedback and optimization of cleaning results. Record and analyze each cleaning result, and optimize cleaning rules and trigger conditions based on the analysis results.

2. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S1 specifically includes: S11: Collect production data from production equipment and sensors in real time, including temperature, humidity, production speed and equipment status parameters, and collect and transmit data through the Industrial Internet Gateway; S12: De-noising the collected data using a wavelet transform algorithm, eliminating high-frequency noise components in the production data by decomposing and reconstructing the signal; S13: Use the moving average method to smooth the denoised data and reduce data fluctuations by calculating the sliding average of the data; S14: Standardize the smoothed data to convert the data into a standard normal distribution with a mean of zero and a standard deviation of one, thereby eliminating the dimensional differences between different data sources.

3. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S2 specifically includes: S21: Regular cleaning rule setting: based on the actual operating conditions and historical maintenance data of the equipment, set the time interval and cleaning procedure for regular cleaning, consider the environmental factors and production load of the equipment operation, and determine the optimal cleaning cycle through data analysis; S22: Setting of continuous production cleaning rules. According to the product requirements of continuous production and the rapid accumulation of pollution in production equipment, the cleaning trigger point is set. Cleaning is performed immediately after a predetermined number of products are produced or a preset time is reached to ensure product quality. S23: Product switching cleaning rules are set. Every time production materials are switched, necessary cleaning is performed based on the cross-contamination risk and cleaning requirements between materials.

4. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S3 specifically includes: S31: Setting a fixed time interval, setting a fixed time interval for cleaning according to the operation data of the production equipment and the production plan, including setting a natural time interval or a production time interval; S32: Select the time interval type. Select the corresponding time interval type according to production requirements and equipment characteristics. The natural time interval is suitable for equipment that is sensitive to environmental conditions, and the production time interval is suitable for equipment that is sensitive to production loads. S33: Time monitoring, through the real-time clock built into the production equipment and the production data monitoring device, continuously track and record the equipment's operating time and natural time; for natural time intervals, the real-time clock is used for timing; for production time intervals, the actual operating time of the monitoring equipment is used for cumulative timing; S34: Automatically trigger cleaning. When the set time interval is detected, the cleaning program is automatically triggered. The system will issue a cleaning instruction and start the preset cleaning process through the control device.

5. The data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S4 specifically includes: S41: Monitor the product quantity and production time on the production line in real time, and record the production quantity of each batch and the actual running time of the equipment; S42: according to the production plan and equipment characteristics, a production quantity threshold and a production time threshold are set, wherein the production quantity threshold is the total number of products produced; and the production time threshold is the continuous operation time of the production equipment; S43: comparing the real-time monitored production data with the preset production quantity and production time thresholds, and when the production quantity reaches the set threshold or the production time reaches the set time threshold, it is determined that a cleaning operation is required; S44: Once the system determines that a cleaning operation is required, the cleaning program is automatically triggered, and the system issues a cleaning instruction through the control module to start the preset cleaning process; S45: After the cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to the production mode. At the same time, a cleaning report is generated for review by operators and managers.

6. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S5 specifically includes: S51: The material type on the production line is detected in real time through the material identification module. When the material is detected to be switched, the material identification module transmits the material switching information to the control module. The material identification module is specifically based on the radio frequency identification tag, barcode scanning or Internet of Things sensor for detection; S52: according to production requirements and material characteristics, set cleaning rules when switching different materials, and the cleaning rules include the cleaning time and cleaning procedures required when switching each material; S53: Match the detected material switching information with the preset cleaning rules through a rule matching algorithm. The expression of the rule matching algorithm is: ; in, is the matching cleaning rule, is the material type currently being produced, The material type for the next production. is the current production time, It is a preset rule set, including cleaning rules under predetermined conditions; S54: When the system determines that cleaning is required according to the rule matching algorithm, the cleaning program is automatically triggered, and a cleaning instruction is also sent through the control module to start the preset cleaning process; S55: After cleaning is completed, the cleaning time and cleaning results are automatically recorded, and the equipment status is restored to production mode. A cleaning report is generated for review by operators and managers.

7. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S6 specifically includes: S61: receiving the data collected and pre-processed in S1, including production quantity, production time, equipment status, environmental parameters and material type; S62: Use the data anomaly detection algorithm to process the real-time monitoring data and identify abnormal conditions in the production process, including detection equipment wear, material accumulation or contamination. The anomaly detection algorithm formula is: ,in, For the Anomaly score for data points, For the data points, is the mean of the data, is the standard deviation of the data, when When the set threshold is exceeded, the data point is judged as abnormal, which will trigger the corresponding cleaning process adjustment; S63: Dynamically adjust the triggering conditions for periodic cleaning, continuous production cleaning, and product switching cleaning based on data analysis results and abnormal detection conditions; Regular cleaning adjustment uses a dynamic time planning algorithm to adjust the cleaning cycle according to the actual operating time and status of the equipment. The dynamic time planning algorithm formula is: ,in, For the adjusted cleaning cycle, As the basic cleaning cycle, is the adjustment factor, is the sample size, For the Anomaly score for each data point; Continuous production cleaning adjustment, based on real-time monitoring data and changes in product quality, uses the Bayesian optimization algorithm to adjust the thresholds of production quantity and production time. The Bayesian optimization algorithm formula is: ,in, is the posterior probability, is the likelihood function, is the prior probability; Product switching cleaning adjustment uses fuzzy logic control algorithm to adjust the switching cleaning rules according to the frequency of material switching and cross-contamination risk. The fuzzy logic control algorithm formula is: ,in, is the adjustment value of the cleaning condition, is the number of rules, For the The weight of the rule, For the The membership degree of the rule; S64: The system automatically executes the cleaning procedure according to the adjusted cleaning trigger condition.

8. A data cleaning method based on dynamic rules according to claim 1, It is characterized in that The S7 specifically includes: S71: After each cleaning is completed, detailed cleaning information is automatically recorded, including cleaning time, cleaning duration, cleaning procedure, equipment status and production line status after cleaning; S72: extracting data from the cleaning record, including cleaning effect indicators and environmental parameters; S73: Analyze the collected cleaning result data using data analysis algorithms of regression analysis and cluster analysis to evaluate the relationship between the cleaning effect and the cleaning conditions. Regression analysis is used to establish a regression model between the cleaning effect and the cleaning parameters. The formula is expressed as: ,in, It is an indicator of cleaning effect. For cleaning time, is the cleaning frequency, is the regression coefficient, is the error term; the cluster analysis is used to cluster the cleaning record data according to the cleaning effect and environmental parameters to identify the best cleaning solution under different cleaning conditions. The formula is: ,in, is the clustering result, is the number of data points, For the data points, For the The center point of the class; S74: According to the results of the cleaning effect analysis, the existing cleaning rules and trigger conditions are optimized, and the relationship between the cleaning effect and the cleaning rules is modeled using a machine learning algorithm to automatically adjust the cleaning frequency, cleaning time and cleaning program. The machine learning algorithm includes a decision tree or a random forest.

9. A dynamic rule-based data cleaning system, used to implement a dynamic rule-based data cleaning method as claimed in any one of claims 1 to 8, It is characterized in that Includes the following modules: Data acquisition and preprocessing module: used to collect production data from production equipment and sensors in real time, and perform denoising, smoothing and standardization on the data; Cleaning rule setting module: used to set cleaning rules according to production requirements and equipment characteristics, including regular cleaning rules, continuous production cleaning rules and product switching cleaning rules; Time monitoring module: used to monitor the operating time and production quantity of production equipment in real time, trigger the cleaning program according to the set time interval and production quantity, including the monitoring of natural time and production time; Abnormal detection module: used to analyze the real-time collected production data, identify abnormal situations in the production process, and adjust the cleaning trigger conditions according to the abnormal situations; Dynamic adjustment module: used to dynamically adjust the triggering conditions of regular cleaning, continuous production cleaning and product switching cleaning according to the real-time collected production data and abnormal detection results to optimize the cleaning process; Cleaning execution module: used to receive cleaning trigger signals and automatically execute cleaning procedures, including starting cleaning equipment, notifying operators and monitoring the cleaning process in real time; Cleaning result recording and analysis module: used to record detailed information of each cleaning, analyze the cleaning results using data analysis algorithms, and optimize cleaning rules and trigger conditions based on the analysis results; Rule optimization and update module: used to continuously optimize the cleaning rules using machine learning algorithms, and update the optimized cleaning rules to the system to ensure that the system can automatically adapt to changes in the production environment.

10. A computer storage medium, It is characterized in that The computer storage medium stores a computer program, and when the computer program is executed by the processor, the steps of a dynamic rule-based data cleaning method as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Control method and system of ultrasonic cleaning device

    CN116991146A

  • Abnormal information analysis early warning method and system based on association rule algorithm

    CN117149581A

  • Glass deep processing production line energy-saving management system and method based on Internet of Things technology

    CN117273402A

  • Hair restorer production process management method and system

    CN117391641A

  • System and method for screening redundant data in power system

    CN118227613A