Industrial production data quality management method and device based on SPC detection
By using SPC detection combined with binary classification and anomaly detection methods in industrial production, real-time analysis and feedback of production data solves the problems of lagging information feedback and backward quality control, achieving refined management and cost control of the production process, and improving improve product quality and efficiency.
Patent Information
- Application Number
- CN202411137776.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-09-17
AI Technical Summary
The lack of systematic data statistical analysis methods in industrial production leads to lagging information feedback in the production process, backward quality control methods, high product elimination rates, increased costs, and the inability to control quality stably in the long term.
Adopt an industrial production data quality management method based on SPC testing to collect data through digital measuring tools. After preprocessing, it combines binary classification and anomaly detection mechanisms to compare with preset standards to generate quality inspection reports, feed back unqualified information in real time, and optimize the production process. .
It has achieved refined management of the production process, effectively controlled production costs through real-time monitoring and data-driven decision-making, improved product quality and production efficiency, and promoted a culture of continuous improvement.
Smart Images

Figure CN118657439A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an industrial production data quality management method and device based on SPC detection. Background Art
[0002] With the development of economy and science and technology, the quality requirements of industrial production are getting higher and higher. In the context of intensified market competition, studying how to improve production quality and control production quality stability is of great significance to the long-term stable development of my country's industrial production.
[0003] At present, most companies have a complete quality assurance system and quality management system. They usually use advanced measuring instruments and meters to improve the accuracy of quality inspection, so as to control product quality. They conduct inspections after the finished products are produced, analyze the inspection data, and then feed it back to the production stage to ensure product quality.
[0004] However, due to the lack of systematic and accurate statistical analysis methods for the large amount of data obtained from instruments and meters, it is impossible to summarize and feedback in a timely manner. As a result, problems are often found after the products are produced and then corrected. The feedback cycle is long, which leads to a high product elimination rate, increased costs, and inability to control quality stably in the long term. There are technical problems such as lagging information feedback in production and backward quality control methods, which lead to the inability to stably control production quality and high production costs. Summary of the invention
[0005] In order to solve the technical problems mentioned in the above background technology, an industrial production data quality management method and device based on SPC detection are proposed.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: An industrial production data quality management method based on SPC detection, comprising: S1, data acquisition: collect the physical parameters of the workpiece through digital measuring tools; S2, data preprocessing: converting the analog signal from the digital measuring tool into digital information; S3, data analysis and comparison: using binary classification and anomaly detection mechanisms together, the preprocessed data is compared with the preset standards to determine whether each detection item meets the standards; S4, determine eligibility: determine whether the workpiece is qualified based on the comparison results; S5, generate quality inspection report: summarize and analyze the comparison results and generate a quality inspection report, which includes but is not limited to the workpiece number, inspection date, inspection items, actual measurement value, standard system, deviation, qualified conclusion, and necessary icons and photos; S6, electronically archive the quality inspection report and provide feedback on unqualified information.
[0007] As a further description of the above technical solution: In step S3, binary classification and anomaly detection mechanisms are used together to compare the preprocessed data with the preset standard to determine whether each detection item meets the standard, including: All data are passed through a binary classification model to obtain a preliminary judgment on whether they meet the preset standards; Pass all data through the anomaly detection model to obtain anomaly scores; Combining the classification results with the anomaly detection results, rules are formulated to ultimately determine whether the data meets the standards.
[0008] As a further description of the above technical solution: The rules include: Normal situation: If a data point is judged to meet the standard by the binary classification model and is not marked as abnormal by the anomaly detection model, the data is considered to meet the standard; Suspected anomaly: If a data point is judged to meet the standards by the binary classification model but is marked as anomaly by the anomaly detection model, the data point is further examined to see if it meets the standards; Clear anomaly: If a data point is determined to be non-compliant by the binary classification model and is marked as an anomaly by the anomaly detection model, then the data point is considered non-compliant.
[0009] As a further description of the above technical solution: The binary classification model includes: Linear Model: , where z is the output of the linear model and θ is the weight vector, including the bias term θ 0 and feature weight θ 1 ,θ 2 ,…,θ n , x is the feature vector, containing the feature x 1 ,x 2 ,…,x n ; Sigmoiod function: , g(z) is the Sigmoiod function, which converts the output z of the linear model into a probability value through the Sigmoiod function. The probability value range is between 0 and 1: Cost function: , where m is the number of training samples, h θ (x i ) is the predicted probability value, y i is the actual probability value of the i-th sample, y i The value is 0 or 1, x i is the corresponding eigenvector; Parameter optimization: Minimize the cost function J(θ) through optimization algorithm.
[0010] As a further description of the above technical solution: The minimization of the cost function J(θ) by the optimization algorithm includes: Minimize the cost function J(θ) by gradient descent, which includes:
[0011] In the formula, θ j represents the current estimated value of the jth parameter; “:=” means “defined as”; α is the learning rate, which determines the magnitude of parameter update in each iteration; represents the relationship between J(θ) and θ j The partial derivative of .
[0012] As a further description of the above technical solution: The anomaly detection model includes: Compute neighborhood: determine the neighborhood of each point in the dataset; Calculate the reachable distance: For any two points p and q in the data set, the reachable distance reach-dist q (p) is defined as: reach-dist q (p)=max{∈ q ,d(p,q)}, where ∈ q is the neighborhood radius of q, d(p,q) is the Euclidean distance between p and q; Calculate the local reachable density: local reachable density lr-density q It represents the inverse of the average reachable distance of points in the neighborhood of q, and the formula is:
[0013] Among them, N(q) is the neighborhood set of point q; Calculate the LOF value: The LOF value is the average of the local reachability density of point q and the local reachability density of all points in its neighborhood. The formula is: , The larger the LOF value, the higher the abnormality.
[0014] As a further description of the above technical solution: It also includes: passing all the data through an anomaly detection model and handling outliers, after which feature engineering is performed and a binary classification model is trained using the processed dataset.
[0015] As a further description of the above technical solution: The method for processing outliers includes but is not limited to deleting outliers, or replacing outliers with statistics, or replacing outliers with boundary values, or filling out outliers with interpolation.
[0016] As a further description of the above technical solution: An industrial production data quality management device based on SPC detection, the device comprises an SPC workstation, and the SPC workstation comprises: A host computer, which exchanges data with the MES system through an interface, and transmits real-time data to a remote server or data center system through a wireless module; A digital measuring tool is connected to the host computer for communication to collect physical parameters of the workpiece to be measured, including but not limited to size and shape; The industrial production data quality management system is integrated into the host computer software, processes the data transmitted by the digital measuring tool, converts the analog signal into digital information, automatically analyzes the test data according to the preset quality standards and specification limits, determines whether the function keys are qualified, and generates a quality inspection report; Barcode scanner, used to trace relevant information of workpiece quality inspection management process; The coding machine is connected to the host computer and automatically prints labels according to the quality inspection results sent by the host computer. The label information includes but is not limited to workpiece inspection status information, batch number, and production date.
[0017] As a further description of the above technical solution: The industrial production data quality management system comprises: Measurement process definition module, which defines the measurement processes and standards for different products; The data receiving module selects the corresponding measuring tool data receiving interface to start monitoring according to the measurement items specified in the current measurement process; The data conversion module receives the raw data from the data receiving module and parses and standardizes it according to the different data formats of the measuring tools; The data analysis module uses the standardized data obtained from the data conversion module to make conformity judgments based on the tolerances of product dimensions; Data generation module, which filters and summarizes data according to the conditions set by the user; The scene automatic switching module automatically adjusts the measurement strategy and quality control focus according to different production scenarios; Measuring tool maintenance module, monitoring the calibration status and annual inspection cycle of measuring tools; NG type management module records and analyzes the types of non-conforming products and classifies them according to the five factors of "man-machine-material-method-environment"; Part NG reason type analysis module: After the product dimension measurement is NG, the NG artificial prediction reasons are collected. Based on the collected reason data, the NG reason analysis, improvement basis and direction are output for the two dimensions of NG distribution of the same product and NG distribution of different products; Part NG reason type improvement module: based on the improvement basis and direction provided by the analysis module, the system automatically generates an improvement task plan and monitors the progress of the task until it is completed; The parts NG warning module, based on the CPK quality data range set by the system, determines that when the data exceeds the set range, the system issues an emergency processing reminder.
[0018] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. In the present invention, by continuously monitoring key process parameters, SPC can instantly identify small changes in the production process, which may indicate impending quality problems. It can not only prevent the production of unqualified products, but also reduce waste through early intervention, optimize the production process, ensure product consistency and reliability, and realize refined management of the production process. Through real-time monitoring and data-driven decision-making, it effectively controls production costs, improves product quality and production efficiency, and also promotes a culture of continuous improvement.
[0019] 2. In the present invention, the interaction between the modules of the industrial production data quality management system forms a dynamic and responsive quality control network. The measurement process definition module provides a configuration basis for the data receiving module. The data collected by the data receiving module is standardized by the data conversion module. Then the data analysis module determines whether the data is qualified based on the preset standard. The data generation module is responsible for the generation and visualization of the report. The scene automatic switching module and the NG type management module respectively optimize the adaptability of the measurement scene and the management efficiency of defective products. The entire system ensures long-term accuracy and stability through the monitoring of the measuring tool maintenance module. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic flow chart of an industrial production data quality management method based on SPC detection provided according to an embodiment of the present invention is shown; Figure 2 A structural schematic diagram of an SPC workstation in an industrial production data quality management device based on SPC detection provided according to an embodiment of the present invention is shown.
[0021] Legend: 1. SPC workstation; 2. Digital measuring tool; 3. Barcode scanner; 4. Coding machine; 5. Host computer. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] Example 1 See also Figure 1 The present invention provides a technical solution: an industrial production data quality management method based on SPC detection, comprising: S1, data acquisition: collect the physical parameters of the workpiece through digital measuring tools; S2, data preprocessing: converting the analog signal from the digital measuring tool into digital information; S3, Data Analysis and Comparison: Combine binary classification and anomaly detection mechanisms to compare preprocessed data with preset standards to determine whether each test item meets the standards. The preset standards can be fixed thresholds or ranges set by industry specifications, or upper and lower control limits of statistical process control (SPC). Combining binary classification algorithms with anomaly detection algorithms can build a more comprehensive quality control method that can identify both conventional pass / fail classifications and detect outliers that are not explicitly marked as failed but are clearly deviating from normal behavior.
[0024] The step S3 specifically further comprises the following steps: S311, constructing a binary classification model, wherein the binary classification model includes: Linear Model: , where z is the output of the linear model and θ is the weight vector, including the bias term θ 0 and feature weight θ 1 ,θ 2 ,…,θ n , x is the feature vector, containing the feature x 1 ,x 2 ,…,x n ; Sigmoiod function: , g(z) is the Sigmoiod function, which converts the output z of the linear model into a probability value through the Sigmoiod function. The characteristic of the Sigmoid function is that no matter what the value of the input z is, the output is always between 0 and 1. When z is large, h θ (x) is close to 1, indicating that the probability of belonging to the positive class is very high; when z is very small, h θ (x) is close to 0, indicating that the probability of belonging to the positive class is very low: Cost function: Find a set of weights θ such that h θ (x) is as close as possible to the actual classification label y of the training data. To this end, a cost function J(θ) is defined to measure the gap between the model prediction value and the actual value. In order to avoid the discontinuity of the logarithmic function at 0 and 1, the cost function of the following form is defined: , In the formula, m is the number of training samples, h is θ (x i ) is the predicted probability value, y i is the actual probability value of the i-th sample, y i The value is 0 or 1, x i is the corresponding eigenvector; Parameter optimization: Minimize the cost function J(θ) through gradient descent. Gradient descent includes:
[0025] In the formula, θ j represents the current estimated value of the jth parameter; “:=” means “defined as”; α is the learning rate, which determines the magnitude of parameter update in each iteration; represents the relationship between J(θ) and θ j The partial derivative of By repeatedly applying the gradient descent step, we can gradually adjust the weight vector θ until J(θ) reaches a minimum value, at which point the model h θ (x) will be able to better predict the classification labels of the training data.
[0026] S312, training the model using labeled data and evaluating the model performance through cross-validation; S313, setting a classification threshold according to business requirements to determine whether the data point meets the preset standard; S321, constructing an anomaly detection model, wherein the anomaly detection model includes: Calculate neighborhood: For each point in the data set, its neighborhood needs to be determined. This can be achieved by calculating the neighboring points within a fixed radius, or by finding a certain number (k) of nearest neighboring points; Calculate the reachable distance: For any two points p and q in the data set, the reachable distance reach-dist q (p) is defined as: reach-dist q (p)=max{∈ q ,d(p,q)}, where ∈ q is the neighborhood radius of q, and d(p,q) is the Euclidean distance between p and q. If p is not in the neighborhood of q, then reach-dist q (p) is infinite; Calculate the local reachable density: local reachable density lr-density q It represents the inverse of the average reachable distance of points in the neighborhood of q, and the formula is:
[0027] Among them, N(q) is the neighborhood set of point q; Calculate the LOF value: The LOF value is the average of the local reachability density of point q and the local reachability density of all points in its neighborhood. The formula is:
[0028] If the LOF value of a point is greater than 1, it means that the local density of the point is lower than the average density of its neighborhood, which indicates that the point is abnormal relative to its neighborhood. The larger the LOF value, the higher the degree of abnormality.
[0029] The LOF algorithm can effectively identify outliers in complex data sets, especially those hidden in non-uniform distribution and high-density areas.
[0030] S322, anomaly detection under unsupervised learning, the model learns the distribution of data on normal data; S323, based on the anomaly score output by the model, setting a threshold to distinguish between normal and abnormal data; S33, passing the data point through a binary classification model to obtain a preliminary judgment on whether it meets the preset standard; S34, running the anomaly detection model on all data points to obtain anomaly scores; S35, combining the classification results and the anomaly detection results, formulates rules to ultimately determine whether the data point meets the standards.
[0031] The rules include: Normal situation: If a data point is judged to meet the standard by the binary classification model and is not marked as abnormal by the anomaly detection model, the data is considered to meet the standard; Suspected anomaly: If a data point is judged to meet the standards by the binary classification model but is marked as anomaly by the anomaly detection model, the data point is further examined to see if it meets the standards; Clear anomaly: If a data point is determined to be non-compliant by the binary classification model and is marked as an anomaly by the anomaly detection model, then the data point is considered non-compliant.
[0032] S36, regularly manually review data points marked as suspected anomalies or clear anomalies to confirm the accuracy of the judgment. Based on the review results, adjust the model parameters to optimize the performance of classification and anomaly detection. If it is found that the standard itself needs to be adjusted, update the preset standard in a timely manner to reflect the latest business needs or industry specifications.
[0033] Through such a joint mechanism, a more comprehensive and accurate quality control system can be built to ensure that the data not only meets the basic classification standards, but also can detect and handle abnormal situations in a timely manner, thereby improving the overall quality and reliability of the data.
[0034] Furthermore, when a data point is judged to meet the criteria by the classification model, but is considered to be abnormal by the anomaly detection model, this indicates that although the data point superficially meets the known classification criteria, it exhibits unusual behaviors or characteristics in certain dimensions, which may imply some potential problems or new types of anomalies. At this time, further review is very necessary. You can create scatter plots and box plots to observe the distribution of abnormal data points on each feature to see if there are obvious deviations or anomalies.
[0035] Generally, creating scatter plots and box plots to observe the distribution of abnormal data points on each feature can be achieved through Python's Matplotlib and Seaborn libraries. The specific steps include: A1. Prepare data: Make sure the data has been loaded into a Pandas DataFrame. DataFrame is a tabular data structure that allows you to store various types of data and facilitates data analysis and visualization. A2, create a scatter plot: Use the scatterplot function in the seaborn library to plot the relationship between two features, which helps to understand whether there is a pattern or association between the features. Select the two features you want to compare as the x-axis and y-axis. For example, you can compare 'feature1' with 'feature2'. Use the hue parameter to color the marked outliers so that the outliers are highlighted on the chart; A3, Generate box plots: Box plots can be generated for each feature separately to show the distribution of data, including median, quartiles, and potential outliers. Use seaborn's boxplot function to traverse each column in the DataFrame (except the target column or classification column) to create a box plot. If there are many features, you need to create multiple subplots, or select only some features for visualization to avoid overcrowding the chart; A4, highlight outliers: If there is a column to identify outliers in the data set (such as 'is_outlier'), use the points of the scatter plot to highlight these outliers based on the box plot. This involves filtering out the outliers from the original data and then plotting them using different colors or styles on the box plot.
[0036] A5, Adjust chart layout and beautify: Adjust the chart title, axis labels and other elements to make the chart easier to read and understand. Use the tight_layout function to automatically adjust the spacing between sub-charts to ensure that all charts can be clearly displayed on the page.
[0037] A6. Display and analyze charts: Use the plt.show() function to display all the charts you created. Analyze these charts to find out whether there are obvious deviations or outliers in the data. This will help you further understand the characteristics of the data set.
[0038] Through the above steps, you can deeply understand why the data point is marked as abnormal, so as to make more accurate judgments and take appropriate measures as needed, such as data correction, model optimization or business process adjustment.
[0039] S4, determine eligibility: determine whether the workpiece is qualified based on the comparison results; S5, generate quality inspection report: summarize and analyze the comparison results and generate a quality inspection report, which includes but is not limited to the workpiece number, inspection date, inspection items, actual measurement value, standard system, deviation, qualified conclusion and necessary icons and photos; S6, electronically archive the quality inspection report and provide feedback on unqualified information.
[0040] The industrial production data quality management method based on SPC detection disclosed in this embodiment can instantly identify small changes in the production process by continuously monitoring key process parameters. These changes may indicate impending quality problems. This method can not only prevent the production of substandard products, but also reduce waste through early intervention, optimize production processes, and ensure product consistency and reliability.
[0041] Overall, this approach achieves refined management of the production process, effectively controls production costs through real-time monitoring and data-driven decision-making, improves product quality and production efficiency, and also promotes a culture of continuous improvement.
[0042] Example 2 On the basis of Example 1, it also includes: passing all data through an anomaly detection model and processing outliers, then performing feature engineering, and using the processed data set to train a binary classification model. The method of processing outliers includes but is not limited to deleting outliers, or replacing outliers with statistics, or replacing outliers with boundary values, or filling out outliers with interpolation.
[0043] Among them, boundary value replacement is based on the concept of IQR (interquartile range), which identifies and replaces potential outliers by setting upper and lower limits. The following are the specific implementation steps: B1, calculate quartiles: First, you need to calculate the first quartile (Q1) and third quartile (Q3) of the variables in the data. The first quartile is the number of values less than or equal to it in the data that accounts for 25% of the total, while the third quartile is the number of values less than or equal to it in the data that accounts for 75% of the total; B2, calculate IQR: The interquartile range (IQR) is defined as the difference between the third quartile and the first quartile: IQR=Q3−Q1; B3, determine the outlier boundaries: Usually, the outlier boundaries are defined as: Lower bound=Q1-1.5·IQR, Upper bound = Q3 + 1.5·IQR, Any value below the lower bound or above the upper bound will be considered an outlier; B4, Replace outliers: For identified outliers, one of the following methods can be used to replace them: (1) Replace with lower or upper bound values: Replace outliers below the lower bound with the lower bound value, and replace outliers above the upper bound with the upper bound value; (2) Replace with Q1 or Q3: Another option is to replace outliers with the first quartile or the third quartile to reduce the volatility of the data; (3) Replace with the median: Using the median to replace outliers is also a common practice to keep the central trend of the data unaffected by outliers; B5, Apply Replacement: After determining the replacement strategy, traverse each value in the dataset, and if the value is marked as an outlier, replace it according to the selected strategy.
[0044] B6, Check and verify: After replacing the outliers, check the data distribution again to ensure that no new outliers or deviations are introduced. Similarly, the effect of outlier treatment can be confirmed through visualization methods such as scatter plots, box plots, or histograms; Through these steps, outliers in the data set can be effectively processed and their adverse effects on subsequent analysis and model training can be reduced.
[0045] Example 3 See also Figure 2 ,This embodiment provides a technical solution: an industrial production data quality management device based on SPC detection, the device includes an SPC workstation, and the SPC workstation includes; Host computer 5, the host computer 5 exchanges data with the MES system through an interface, and the host computer 5 transmits real-time data with a remote server or data center system through a wireless module; The digital measuring tool 2 is connected to the host computer 5 for communication and collecting the physical parameters of the workpiece to be measured, including but not limited to size and shape; The industrial production data quality management system is integrated in the upper computer 5 software, processes the data transmitted by the digital measuring tool 2, converts the analog signal into digital information, automatically analyzes the test data according to the preset quality standards and specification limits, determines whether the function keys are qualified, and generates a quality inspection report; Barcode scanner 3, used to trace information related to the workpiece quality inspection management process; The coding machine 4 is connected to the host computer 5 and automatically prints labels according to the quality inspection results sent by the host computer 5. The label information includes but is not limited to workpiece inspection status information, batch number, and production date.
[0046] Furthermore, the industrial production data quality management system includes: The measurement process definition module defines the dimensional measurement process and standards for different products. This is the basis of the entire system. When the product ID is identified, the system will automatically configure the measurement parameters and standards according to the pre-defined process; The data receiving module selects the corresponding gage data receiving port to start monitoring according to the measurement items specified in the current measurement process. This module communicates directly with the gage to collect real-time measurement data. The data conversion module receives the raw data from the data receiving module and parses and standardizes it according to the different data formats of the measuring tools to ensure that all data enter the subsequent analysis stage in a consistent format; The data analysis module uses the standardized data obtained from the data conversion module to make a conformity judgment based on the tolerance standard of the product size. If the data exceeds the tolerance range, it is marked as unqualified (NG) and may trigger an alarm or record; The data generation module filters and summarizes data according to the conditions set by the user (such as measurement items, scenarios, time periods, etc.), and generates various forms of quality inspection reports, including tables displayed on the software interface, graphic reports, and exportable text reports; The automatic scene switching module automatically adjusts the measurement strategy and quality control focus according to different production scenarios (such as the first piece at startup, the first piece at tool change, process sampling, etc.), which helps to more accurately identify and solve quality problems in specific scenarios; The measuring tool maintenance module monitors the calibration status and annual inspection cycle of the measuring tool to ensure the accuracy and reliability of the measuring tool, and warns of the maintenance needs of the measuring tool in advance to avoid measurement errors caused by measuring tool problems. NG type management module records and analyzes the types of non-conforming products, classifies them according to the five factors of "man-machine-material-method-environment", analyzes the distribution of NG, helps identify improvement points, and puts forward suggestions for quality improvement; The part NG reason type analysis module classifies and refines the parts according to the six major categories of "people, machines, materials, methods, environment, and measurement". After the product dimension measurement is NG, the NG manual pre-judgment reasons are collected. Based on the collected reason data, the NG reason analysis, improvement basis and direction can be output based on the two dimensions of NG distribution of the same product and NG distribution of different products; Part NG reason type improvement module: based on the improvement basis and direction provided by the analysis module, the system automatically generates an improvement task plan and monitors the progress of the task until it is completed; The parts NG warning module can send emergency processing reminders such as text messages and emails to the operator when the data exceeds the set range according to the CPK quality data range set by the system.
[0047] The interaction between these modules forms a dynamic and responsive quality control network. For example, the measurement process definition module provides the configuration basis for the data receiving module. The data collected by the data receiving module is standardized by the data conversion module. Then the data analysis module determines whether the data is qualified based on the preset standards, and the data generation module is responsible for report generation and visualization. The scene automatic switching module and the NG type management module optimize the adaptability of the measurement scene and the management efficiency of defective products respectively. The entire system ensures long-term accuracy and stability through the monitoring of the measuring tool maintenance module.
[0048] This device combines digital transformation with an electronic SPC system to provide real-time data analysis, enabling production line workers to respond quickly to abnormal situations and take corrective measures to prevent quality problems from escalating into major accidents, significantly improving the quality management level of industrial production, shortening feedback cycles, and reducing product elimination rates, thereby achieving effective control of production costs and steady improvement of production quality. The electronic data storage and reporting system greatly simplifies data management and tracking, improves data transparency and traceability, and provides a solid foundation for continuous improvement and compliance review.
[0049] Among them, "Man, Machine, Material, Method and Environment" (4M1E) is a method used in the total quality management (TQM) theory to analyze and improve the five key factors of the production process. It classifies the factors affecting product quality into five categories, namely, people (Man), machine (Machine), material (Material), method (Method) and environment (Environment). The specific steps are as follows: (1) Personnel (Man) Assessment: Check employees' skills, training, work attitude and teamwork ability.
[0050] Analyze: Determine if there are any quality issues caused by human factors, such as improper operation, insufficient skills, or lack of training.
[0051] Improvement measures: Provide necessary training, improve the working environment, motivate employees, and establish effective communication channels.
[0052] (2) Machine Evaluation: Check the equipment's operating status, maintenance records, accuracy, and performance.
[0053] Analyze: Find out if the equipment has been regularly maintained, is showing signs of wear or needs calibration.
[0054] Improvement measures: Implement preventive maintenance plans, replace or repair faulty equipment in a timely manner, and ensure that the equipment meets production requirements.
[0055] (3) Material Assessment: Check the quality of raw materials, semi-finished products and components, including the reliability of suppliers.
[0056] Analysis: Confirm whether the materials meet the design specifications and production requirements, and whether there are any unqualified materials.
[0057] Improvement measures: Establish strict material acceptance standards, strengthen supply chain management, and find reliable suppliers.
[0058] (4) Method Assessment: Check the operating procedures, process flow and work instructions during the production process.
[0059] Analyze: Determine whether the production method is reasonable, whether it meets best practices, and whether there is room for optimization.
[0060] Improvement measures: Standardize operating procedures, introduce more efficient production methods, and continuously improve process flows.
[0061] (5) Environment Assessment: Check the physical environment of the production site, such as temperature, humidity, cleanliness, etc.
[0062] Analysis: Determine whether environmental factors have an adverse effect on product quality, especially for environmentally sensitive products.
[0063] Improvement measures: Control and regulate the production environment, implement appropriate cleaning and maintenance procedures to ensure the environment meets product requirements.
[0064] When applying the "Man-Machine-Material-Method-Loop" analysis, it is usually combined with tools such as fishbone diagrams (cause-and-effect diagrams) to list the specific problems under each factor, and then take targeted improvement measures. This approach helps to systematically identify and solve problems, thereby improving product quality and production efficiency. It should be noted that in practice, these steps may be intertwined, because changes in one factor may affect other factors, so it is necessary to comprehensively consider and balance improvements in all aspects.
[0065] Furthermore, in the described industrial production data quality management system, the relationship between the modules (classes) is usually established through data transfer and functional dependency. This embodiment also provides a relationship model for reference: DataReceiver: Responsible for receiving raw measurement data, which may be data obtained from sensors, devices or files. This data may need to be converted into a more general or applicable format, so it passes the data to DataTransformer.
[0066] DataTransformer: Receives raw data from DataReceiver and converts it into a format that can be further analyzed. The converted data will be sent to DataAnalyzer for further calculation and evaluation.
[0067] DataAnalyzer: Performs tolerance verification and other types of analysis using the data received from the DataTransformer. It may determine whether the product is qualified based on the analysis results and send the results to the ReportGenerator and NGTypeManager.
[0068] ReportGenerator: Generates detailed reports based on the analysis results provided by DataAnalyzer. The reports may contain product quality information, trend analysis, or other key indicators.
[0069] SceneSwitcher: Controls the switching of the system between different scenes, for example from one product line to another, or from one measurement type to another. This may affect the settings of DataAnalyzer and NGTypeManager to adapt to the new measurement standards and non-conforming product types.
[0070] ToolMaintenance: Responsible for monitoring and maintaining the tools or hardware in the system to ensure they are in good working condition, which may include regular calibration of sensors, updating software, or replacing faulty parts.
[0071] NGTypeManager: manages the types and definitions of nonconforming products. When DataAnalyzer detects nonconforming products, it classifies them according to the nonconforming product type, which helps ReportGenerator generate more detailed nonconforming product reports.
[0072] These modules usually interact through interfaces, which means that they do not need to know the specific implementation details of other modules, but only need to know how to call the functions provided by each other. This design helps the scalability and maintainability of the system because each module can be developed, tested and upgraded independently.
[0073] For example, DataAnalyzer may have a method analyzeData, which accepts the data processed by DataTransformer as input and returns an analysis result, which may be a Boolean value (pass / fail) or a complex data structure containing more information. ReportGenerator may have a generateReport method, which receives the result of DataAnalyzer and generates a corresponding report. This modular design makes the system more flexible and easy to manage.
[0074] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for industrial production data quality management based on SPC detection, characterized in that: include: S1, data acquisition: collecting the physical parameters of the workpiece through digital measuring tools (2); S2, data preprocessing: converting the analog signal transmitted by the digital measuring tool (2) into digital information; S3, data analysis and comparison: using binary classification and anomaly detection mechanisms together, the preprocessed data is compared with the preset standards to determine whether each detection item meets the standards; S4, determine eligibility: determine whether the workpiece is qualified based on the comparison results; S5, generate quality inspection report: summarize the analysis and comparison results and generate a quality inspection report; S6, electronically archive the quality inspection report and provide feedback on unqualified information.
2. The industrial production data quality management method based on SPC detection according to claim 1 is characterized in that: In step S3, binary classification and anomaly detection mechanisms are used together to compare the preprocessed data with the preset standard to determine whether each detection item meets the standard, including: All data are passed through a binary classification model to obtain a preliminary judgment on whether they meet the preset standards; Pass all data through the anomaly detection model to obtain anomaly scores; Combining the classification results and anomaly detection results, rules are formulated to ultimately determine whether the data meets the standards.
3. The industrial production data quality management method based on SPC detection according to claim 2 is characterized in that: The rules include: Normal situation: If a data point is judged to meet the standard by the binary classification model and is not marked as abnormal by the anomaly detection model, the data is considered to meet the standard; Suspected anomaly: If a data point is judged to meet the standard by the binary classification model but is marked as anomaly by the anomaly detection model, the data point is further examined to see if it meets the standard; Clear anomaly: If a data point is determined to be non-compliant by the binary classification model and is marked as an anomaly by the anomaly detection model, then the data point is considered non-compliant.
4. The industrial production data quality management method based on SPC detection according to claim 3 is characterized in that: The binary classification model includes: Linear Model: , where z is the output of the linear model and θ is the weight vector, which contains the bias term θ0 and feature weights θ1, θ2, …, θ n , x is a feature vector, containing features x1, x2, …, x n ; Sigmoiod function: , g(z) is the Sigmoiod function, which converts the output z of the linear model into a probability value through the Sigmoiod function. The probability value range is between 0 and 1: Cost function: , where m is the number of training samples, h θ (x i ) is the predicted probability value, y i is the actual probability value of the i-th sample, y i The value is 0 or 1, x i is the corresponding eigenvector; Parameter optimization: Minimize the cost function J(θ) through optimization algorithm.
5. The industrial production data quality management method based on SPC detection according to claim 4 is characterized in that: The minimization of the cost function J(θ) by the optimization algorithm includes: Minimize the cost function J(θ) by gradient descent, which includes: , In the formula, θ j represents the current estimated value of the jth parameter; ":=" means "defined as"; α is the learning rate, which determines the magnitude of parameter update in each iteration; represents the relationship between J(θ) and θ j The partial derivative of .
6. The industrial production data quality management method based on SPC detection according to claim 5 is characterized in that: The anomaly detection model includes: Compute neighborhood: determine the neighborhood of each point in the dataset; Calculate the reachable distance: For any two points p and q in the data set, the reachable distance reach-dist q (p) is defined as: reach-dist q (p)=max{∈ q ,d(p,q)}, where ∈ q is the neighborhood radius of q, d(p,q) is the Euclidean distance between p and q; Calculate the local reachable density: local reachable density lr-density q It represents the inverse of the average reachable distance of points in the neighborhood of q, and the formula is: , Among them, N(q) is the neighborhood set of point q; Calculate the LOF value: The LOF value is the average of the local reachability density of point q and the local reachability density of all points in its neighborhood. The formula is: , The larger the LOF value, the higher the abnormality.
7. The industrial production data quality management method based on SPC detection according to claim 6 is characterized in that: Also includes: All the data is passed through an anomaly detection model and outliers are processed. After that, feature engineering is performed and a binary classification model is trained using the processed dataset.
8. The industrial production data quality management method based on SPC detection according to claim 7 is characterized in that: The method for processing outliers includes but is not limited to deleting outliers, or replacing outliers with statistics, or replacing outliers with boundary values, or filling out outliers with interpolation.
9. An industrial production data quality management device based on SPC detection, characterized in that: The device comprises an SPC workstation (1), wherein the SPC workstation (1) comprises: A host computer (5), wherein the host computer (5) exchanges data with the MES system via an interface, and the host computer (5) transmits real-time data with a remote server or a data center system via a wireless module; The digital measuring tool (2) is connected to the host computer (5) for communication and collecting physical parameters of the workpiece to be measured, wherein the physical parameters include but are not limited to size and shape; The industrial production data quality management system is integrated into the upper computer (5) software, processes the data transmitted by the digital measuring tool (2), converts the analog signal into digital information, automatically analyzes the test data according to the preset quality standards and specification limits, determines whether the function keys are qualified, and generates a quality inspection report; Barcode scanner (3), used to trace information related to the workpiece quality inspection management process; The coding machine (4) is connected to the host computer (5) and automatically prints a label according to the quality inspection result sent by the host computer (5), wherein the label information includes but is not limited to workpiece inspection status information, batch number, and production date.
10. The industrial production data quality management device based on SPC detection according to claim 9, characterized in that: The industrial production data quality management system comprises: Measurement process definition module, which defines the measurement processes and standards for different products; The data receiving module selects the corresponding measuring tool data receiving interface to start monitoring according to the measurement items specified in the current measurement process; The data conversion module receives the raw data from the data receiving module and parses and standardizes it according to the different data formats of the measuring tools; The data analysis module uses the standardized data obtained from the data conversion module to make conformity judgments based on the tolerances of product dimensions; Data generation module, which filters and summarizes data according to the conditions set by the user; The scene automatic switching module automatically adjusts the measurement strategy and quality control focus according to different production scenarios; Measuring tool maintenance module, monitoring the calibration status and annual inspection cycle of measuring tools; NG type management module, records and analyzes the types of non-conforming products; Part NG reason type analysis module: After the product dimension measurement is NG, the NG artificial prediction reasons are collected. Based on the collected reason data, the NG reason analysis, improvement basis and direction are output for the two dimensions of NG distribution of the same product and NG distribution of different products; Part NG reason type improvement module: based on the improvement basis and direction provided by the analysis module, the system automatically generates an improvement task plan and monitors the progress of the task until it is completed; The parts NG warning module, based on the CPK quality data range set by the system, determines that when the data exceeds the set range, the system issues an emergency processing reminder.
Citation Information
Patent Citations
An industrial parameter outlier detection system and method
CN109446189A
Production line anomaly detection method based on SPC process management and control system
CN115409131A
Sand blasting passivation process for hard alloy cutter
CN116900943A
MES-based wafer Bin control and yield management method and device
CN117558651A
Electronic equipment surface scratch detection system based on visual identification
CN117876353A
Cited By
Production line anomaly detection method and system based on SPC
CN119984385A
