MES-based intelligent factory product quality monitoring method and system

By testing raw materials and finished products and monitoring the production process in smart factories, forming quality files and adjusting production parameters, the problem of insufficient safety testing of raw materials and finished products in smart factories is solved, and the stability and safety of product quality are improved. , improving production efficiency and market competitiveness.

CN118642445APending Publication Date: 2024-09-13吴文娟

Patent Information

Application Number
CN202410795164.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The existing smart factory product quality monitoring methods fail to fully consider the edible safety testing of raw materials and produced products, and lack a comprehensive dynamic adjustment mechanism for factory production parameters. This makes it difficult to detect and solve potential quality problems in a timely manner, affecting the overall quality of the product. and security.

Method used

The smart factory product quality monitoring method based on MES is used to conduct purity testing and composition analysis of raw materials, appearance testing and microbial testing of finished products, and comprehensive monitoring of the production process to form product quality files and input them into the intelligent adaptive control system. Adjust production parameters to optimize the production process in real time.

Benefits of technology

Ensure that raw materials and finished products meet quality standards, improve product safety and consistency, reduce downtime during the production process, improve resource usage efficiency and product consistency, and enhance the market competitiveness and brand reputation of enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118642445A
    Figure CN118642445A
Patent Text Reader

Abstract

The invention relates to the technical field of digital factories, in particular to an MES-based intelligent factory product quality monitoring method and system. Firstly, raw materials are subjected to purity detection and component analysis, and a first detection result is obtained; performing appearance detection and microbiological detection on the product produced by the factory to obtain a second detection result; then, carrying out production process monitoring on the production process, including sheet film monitoring, pressed film monitoring, finished product monitoring and factory monitoring, so as to obtain a third detection result; further, the first detection result, the second detection result and the third detection result are stored in an MES system, and a product quality file is formed; and finally, inputting the product quality file into the intelligent self-adaptive control system, and adjusting the production parameters of the factory by the intelligent self-adaptive control system through analyzing the product quality file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital factories, and in particular to a method and system for monitoring product quality in smart factories based on MES. Background Art

[0002] Smart factory product quality monitoring uses advanced technologies such as the Internet of Things, machine learning, and blockchain technology to monitor, analyze, and manage various quality parameters in the production process in real time to ensure the stability and improvement of product quality. This monitoring method can detect and adjust production parameters in real time through automated data collection and intelligent analysis, quickly discover and deal with quality problems, greatly improve production efficiency and product consistency, and reduce scrap rates and costs.

[0003] With the development of society, modern manufacturing industry has higher and higher requirements for product quality, especially for food contact materials such as disposable lunch boxes, whose product safety, reliability and consistency are strictly scrutinized by consumers and the market. Through intelligent quality monitoring, various quality problems in the production process can be effectively prevented to ensure that each batch of lunch boxes can meet the expected quality standards, thereby enhancing the market competitiveness and brand reputation of the enterprise.

[0004] Existing quality monitoring methods mainly rely on traditional quality management systems, usually using regular quality inspections and statistical quality control methods. These methods have problems such as poor real-time performance, scattered data, and slow response speed, making it difficult to meet the high-efficiency and high-precision requirements of modern intelligent manufacturing. In addition, traditional methods are inefficient in data processing and anomaly detection, and cannot achieve full transparency and traceability, making it difficult to detect and solve quality problems in a timely manner.

[0005] Manufacturing Execution System (MES) is a comprehensive software system for managing and optimizing production processes. It monitors and controls production activities in real time, from order placement to finished product completion, and provides workshop-level production scheduling, process control, data collection, quality management and traceability functions. The use of MES in smart factory product quality monitoring can achieve comprehensive monitoring and management of the production process, and ensure the consistency and stability of production parameters and product quality through real-time data collection and analysis. The introduction of MES can effectively improve production efficiency, reduce scrap rate, and quickly locate and trace quality problems, thereby enhancing the company's market competitiveness and brand reputation.

[0006] At present, there are still some defects in the monitoring method of product quality in smart factories. For example, the Chinese patent with the prior art application number CN202111496826.8 discloses a method and system for monitoring product quality in smart factories based on MES. First, the quality inspection results of the production vector and its corresponding product are obtained, and the attention features and attention levels of each target defect are determined according to the production vector. Then, the distinguishing features of each two target defects are obtained, and the features with less attention are removed to obtain an updated feature set. Next, the correction rationality between the two target defects is calculated based on the entropy difference between the attention feature set and the updated feature set. Subsequently, graph data is constructed with all different types of target defects as nodes and correction rationality as edge weights. Finally, the accurate attention features of each target defect are determined based on the graph data, and the value range of these features is obtained to determine whether the corresponding target defects will appear in the new product. In addition, a Chinese patent with application number CN202310360701.5 discloses a method and system for product quality monitoring in a smart factory based on MES. First, the buffer controller determines whether it is necessary to judge whether there is a conflict between the product quality monitoring information B1 and the product quality monitoring information B2 based on the record table. Then, if it is determined that judgment is required, the buffer controller judges whether there is a conflict between the product quality monitoring information B1 and the product quality monitoring information B2. Then, if the judgment result is that there is no conflict between the two, the buffer controller sends the product quality monitoring information B1 to the server memory for storage. The above prior art mainly focuses on the appearance quality monitoring of the products that have been produced, but fails to fully consider the edible safety testing of raw materials and the products that have been produced. At the same time, there is a lack of a comprehensive dynamic adjustment mechanism for factory production parameters, which will cause potential quality problems to be unable to be discovered and solved in time, thereby affecting the overall quality and safety of the product.

[0007] Therefore, a product quality monitoring method and system for smart factory based on MES is proposed. Summary of the invention

[0008] The purpose of the present invention is to provide a method and system for monitoring product quality in an intelligent factory based on MES. First, the purity of the raw materials is tested and the composition is analyzed to obtain a first test result; the appearance of the products produced by the factory is tested and tested for microorganisms to obtain a second test result; then, the production process is monitored, including film monitoring, film pressing monitoring, finished product monitoring and factory monitoring, to obtain a third test result; further, the first test result, the second test result and the third test result are stored in the MES system to form a product quality file; finally, the product quality file is input into the intelligent adaptive control system, and the intelligent adaptive control system adjusts the production parameters of the factory by analyzing the product quality file.

[0009] To achieve the above object, the present invention provides the following technical solutions:

[0010] A method for monitoring product quality in a smart factory based on MES, comprising:

[0011] Performing raw material testing on the raw materials entering the warehouse to obtain a first test result; the raw materials are polypropylene plastic particles; the raw material testing includes purity testing and component analysis;

[0012] Performing finished product quality monitoring on the finished product to obtain a second test result; the finished product quality monitoring includes performing appearance testing and microbial testing on the produced finished product;

[0013] The production process is monitored on the generation process to obtain a third detection result; the production process monitoring includes film sheet monitoring, film pressing monitoring, finished product monitoring and factory monitoring; the film sheet monitoring includes monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film sheet thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the weight of the finished product; the factory monitoring includes monitoring the temperature and humidity of the factory;

[0014] The first test result, the second test result and the third test result are stored in the MES system to form a product quality file; the product quality file is input into the intelligent adaptive control system, and by analyzing the product quality file, the intelligent adaptive control system adjusts the production parameters of the factory; the production parameters include the pressure of the extruder die head, the temperature of the cooling roller, the pressure and time parameters, speed and processing time of the thermoforming machine.

[0015] The purity test includes:

[0016] Taking out part of the raw material and making it into a thin sheet as a first test sample; scanning the first test sample by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; comparing the infrared spectrum of the first test sample with a standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure;

[0017] The purity value calculation formula of the first test sample is:

[0018]

[0019] Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ;

[0020] The composition analysis includes:

[0021] Taking out part of the raw material and dissolving it in xylene solvent to obtain a second test sample; using a micro-syringe to take a small amount of the second test sample and inject it into the injection port of a gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column; the different chemical components are input into the mass spectrometer to be ionized and decomposed into multiple ions, and the mass spectrometer detects the mass / charge of the multiple ions to obtain mass spectrum data of the multiple ions respectively; the mass spectrum data includes a mass spectrum and relative abundance; let A i is the area of ​​the characteristic ion peak of the ith component, and C i is the concentration of the component, and the calibration curve is:

[0022] C i =k1×A i +k2;

[0023] Among them, k1 and k2 are parameters obtained through calibration;

[0024] The calculation formula of the relative abundance is:

[0025]

[0026] Among them, ∑A i represents the sum of all detected ion peak areas;

[0027] The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

[0028] The pressure of the extruder die is obtained by a pressure sensor; the temperature of the cooling roller is obtained by a temperature sensor; the monitoring of the film thickness is achieved by using an automatic thickness gauge; the thickness gauge accurately measures the film thickness by laser technology; the pressure and speed of the thermoforming machine are monitored in real time by the pressure sensor and speed sensor; the time parameters of the thermoforming machine are monitored by a timer; the weight of the finished product is monitored by a weighing sensor; the temperature and humidity of the factory are monitored by a temperature and humidity sensor.

[0029] The appearance inspection includes:

[0030] Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is:

[0031]

[0032] Where S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; t is the preset maximum error threshold;

[0033] The microbiological testing includes:

[0034] Randomly take out part of the finished product as the fourth test sample; use a pre-sterilized cotton swab to slightly wet it and wipe the inner surface, edge and bottom area of ​​the fourth test sample; the wiping covers the entire surface area in a Z-shape; put the cotton swab into a culture dish containing nutrient agar to ensure that the colony can grow; put the culture dish into a constant temperature incubator and set the temperature to 35°C for 24 hours of incubation; observe and count the colonies on the culture dish and record the colony forming units; the calculation formula of the colony forming unit is:

[0035]

[0036] Where C is the colony forming unit, T is the total colony count, and S is the surface area detected.

[0037] The intelligent adaptive control system includes a quality prediction model and a control model;

[0038] The quality prediction model includes model construction and model training; monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the finished product weight; the factory monitoring includes monitoring the temperature and humidity of the factory

[0039] The model construction includes a data preprocessing layer, a feature analysis layer and a result output layer;

[0040] The data preprocessing layer is used to remove outliers and missing values, normalize and splice the second detection sample and the second detection sample to obtain first data;

[0041] The feature analysis layer includes an LSTM structure, which is used to analyze the first data to obtain a corresponding feature vector; the feature analysis layer includes analyzing the relationship between the pressure of the extruder die head and the temperature of the cooling roller and the film thickness and the finished product weight, and analyzing the relationship between the pressure, time parameters and speed of the thermoforming machine and the finished product quality; the finished product quality is obtained through the appearance inspection;

[0042] The result output layer is used to analyze the feature vector to obtain a prediction result; the prediction result is the qualified rate of a unified batch of finished products;

[0043] The model training includes: constructing a product data set; each piece of data in the product data set includes the pressure of the extruder die head, the temperature of the cooling roller, the film thickness, the finished product weight, the pressure of the thermoforming machine, the time parameter and the speed, and the finished product quality; annotating the result of each piece of data, that is, annotating the qualified rate of the unified batch of finished products;

[0044] Dividing the product data set into a training set and a validation set in a ratio of 7:3; training the quality prediction model by using the training set; and validating and optimizing the quality prediction model by using the validation set;

[0045] The control model is a linear time-invariant model, which is used to adjust the production parameters according to the results of the quality prediction model.

[0046] A smart factory product quality monitoring system based on MES, including:

[0047] A raw material detection unit, used to perform raw material detection on the raw materials entering the warehouse to obtain a first detection result; the raw materials are polypropylene plastic particles; the raw material detection includes purity detection and component analysis;

[0048] A finished product quality monitoring unit, used to monitor the quality of each finished product to obtain a second test result; the finished product quality monitoring includes performing appearance inspection and microbial inspection on each of the finished products produced;

[0049] A production process monitoring unit, used to monitor the production process and obtain a third detection result;

[0050] The feedback unit stores the first test result, the second test result and the third test result in the MES system to form a product quality file; the product quality file is input into the intelligent adaptive control system, and the intelligent adaptive control system adjusts the production parameters of the factory by analyzing the product quality file.

[0051] The production parameters include the pressure of the extruder die, the temperature of the cooling roller, the pressure and time parameters of the thermoforming machine, the speed and the processing time.

[0052] The purity test includes:

[0053] Part of the raw material is taken out to be made into a thin sheet as a first test sample; the first test sample is scanned by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; the infrared spectrum of the first test sample is compared with the standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure; the purity value calculation formula of the first test sample is:

[0054]

[0055] Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ.

[0056] The composition analysis includes:

[0057] Taking out part of the raw material and dissolving it in xylene solvent to obtain a second test sample; using a micro-syringe to take a small amount of the second test sample and inject it into the injection port of a gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column; the different chemical components are input into the mass spectrometer to be ionized and decomposed into multiple ions, and the mass spectrometer detects the mass / charge of the multiple ions to obtain mass spectrum data of the multiple ions respectively; the mass spectrum data includes a mass spectrum and relative abundance; let A i is the area of ​​the characteristic ion peak of the ith component, and C i is the concentration of the component, and the calibration curve is:

[0058] C i =k1×A i +k2;

[0059] Among them, k1 and k2 are parameters obtained through calibration;

[0060] The calculation formula of the relative abundance is:

[0061]

[0062] Among them, ∑A i represents the sum of all detected ion peak areas;

[0063] The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

[0064] The appearance inspection includes:

[0065] Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is:

[0066]

[0067] Wherein, S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; and t is the preset maximum error threshold.

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

[0069] 1. The present invention ensures that the raw materials used in production meet the required quality standards by performing purity testing and component analysis on the raw materials entering the warehouse. Purity testing ensures that the polypropylene plastic particles are free of impurities that should not exist, which is crucial for the mechanical properties during the manufacturing process and the structural integrity of the final product; component analysis further verifies whether the chemical composition meets the predetermined specifications, thereby preventing production line shutdowns and product defects that may be caused by raw material quality problems, and maintaining the consistency and reliability of product quality.

[0070] 2. The present invention can effectively ensure the safety and hygiene standards of products by performing appearance inspection and microbiological inspection on finished products, which is particularly important for meeting industry regulations. Appearance inspection captures any defects or inconsistencies through image processing technology to ensure that each product meets quality standards. Microbiological inspection further ensures that products meet healthy and safe consumer standards, especially in the food packaging and medical industries, to prevent microbial contamination and protect the health of end consumers.

[0071] 3. The present invention analyzes product quality files through an intelligent adaptive control system, thereby adjusting the factory's production parameters in real time to continuously optimize the production process. This method comprehensively considers various monitoring data from raw materials to finished products, and uses the LSTM algorithm to predict possible quality fluctuations, so as to timely adjust key production parameters such as the pressure of the extruder die head and the temperature of the cooling roller. This real-time response based on data not only reduces downtime in the production process, but also improves the efficiency of resource utilization and the consistency of the final product. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A flowchart of a method for monitoring product quality in an intelligent factory based on MES provided in an embodiment of the present invention;

[0073] Figure 2 A schematic diagram of the structure of a smart factory product quality monitoring system based on MES provided in an embodiment of the present invention;

[0074] Figure 3 A schematic diagram of raw materials provided for an embodiment of the present invention;

[0075] Figure 4 Schematic diagram of a hot-pressed lunch box using a thermoforming machine provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0076] 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.

[0077] In modern manufacturing, smart factory product quality monitoring based on MES (Manufacturing Execution System) represents an advanced technology application that aims to accurately control and optimize the production process through real-time data collection and analysis. This monitoring system integrates technologies such as the Internet of Things, machine learning, and blockchain, which can not only monitor every link on the production line, but also automatically adjust production parameters to respond to quality fluctuations and production conditions in real time. In this way, smart factories can ensure the stability and consistency of product quality while significantly improving production efficiency and reducing costs.

[0078] For the production process of disposable lunch boxes, it is particularly important to implement intelligent factory product quality monitoring based on MES. Disposable lunch boxes are in direct contact with food, and the monitoring of their production quality is directly related to the health and safety of consumers. Through intelligent monitoring, it can be ensured that every production link, from the incoming inspection of raw materials to the appearance and microbiological testing of the final product, strictly follows high standards. This not only enhances the market competitiveness of the product, but also enhances consumers' trust and loyalty to the brand. With this approach, companies can control production costs more effectively while improving the overall quality of their products and their market response speed.

[0079] The production process of disposable lunch boxes in factories mainly includes: first, production starts with the selection and preparation of raw materials. Usually, the main material used for disposable lunch boxes is polypropylene plastic granules, which are selected for their high temperature and chemical resistance; then, the plastic granules entering the production line are first fed into the extruder, where the granules are heated and melted into a liquid state. The extruder extrude the melted plastic through the die head to form a continuous sheet film; further, the formed plastic sheet film is cooled and solidified by cooling rollers. The cooled sheet film will be sent to the thermoforming machine, where the sheet film is hot-pressed into a specific lunch box shape; finally, the formed lunch box will be automatically sent to the cutting machine to cut off the excess edge material, so that the lunch box presents a neat final shape. The cut waste is usually recycled and sent back into the production process.

[0080] The purpose of the present invention is to provide a method for monitoring product quality in an intelligent factory based on MES. The method is applied to a system for monitoring product quality in an intelligent factory based on MES. For a specific method flow chart and system structure diagram, see Figure 1 and Figure 2 .

[0081] Embodiment 1

[0082] In this embodiment, the following analysis is made corresponding to the generation process of disposable lunch boxes generated by a disposable smart factory:

[0083] First of all, the raw materials used in disposable lunch boxes are polypropylene plastic particles, which are selected for their high temperature and chemical resistance. The raw materials are strictly inspected before use to ensure that they are pollution-free and their chemical composition meets food safety standards. Figure 3 shown.

[0084] Then, the plastic pellets entering the production line are first fed into the extruder, where the pellets are heated and melted into a liquid state. The extruder extrude the melted plastic through the die head to form a continuous film. In this process, it is very critical to control the temperature and pressure of the extruder, which directly affects the thickness and quality of the film.

[0085] Secondly, the formed plastic film is cooled and solidified by cooling rollers. The cooled film will be sent to the thermoforming machine, where the film is hot-pressed into a specific lunch box shape. At this stage, the parameters of the hot pressing need to be precisely controlled to ensure the consistency of the size and shape of the formed lunch box. The schematic diagram of the hot pressing lunch box of the thermoforming machine is shown below. Figure 4 shown.

[0086] Finally, the formed lunch box will be automatically sent to the cutting machine to cut off the excess edge material, so that the lunch box presents a neat final shape. The cut waste is usually recycled and sent back into the production process. After the cutting is completed, the final quality inspection of the disposable lunch box, including appearance inspection and necessary microbiological testing, is an important means to ensure that the product meets hygiene standards.

[0087] Through this series of detailed monitoring of the production process, the quality and safety of disposable lunch boxes are ensured, meeting consumers' high standards for food containers.

[0088] Reference Figure 1 S10 in the embodiment is applied to a raw material detection unit of a product quality monitoring system of an intelligent factory based on MES, and is used to perform raw material detection on raw materials entering the warehouse to obtain a first detection result; the raw materials are polypropylene plastic particles; the raw material detection includes purity detection and component analysis;

[0089] Furthermore, the purity detection includes:

[0090] Taking out part of the raw material and making it into a thin sheet as a first test sample; scanning the first test sample by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; comparing the infrared spectrum of the first test sample with a standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure;

[0091] In this embodiment, the raw material is made into thin slices to improve the accuracy of spectral analysis and the uniformity of the sample;

[0092] The purity value calculation formula of the first test sample is:

[0093]

[0094] Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ;

[0095] When the purity values ​​of some of the raw materials taken out are all greater than 99%, it means that the raw materials of the same batch meet the production requirements. Otherwise, it means that the raw materials of the same batch do not meet the production requirements, and the supply chain of the raw materials is traced to find possible sources of contamination or links with quality control errors.

[0096] The composition analysis includes:

[0097] A portion of the raw materials is taken out and dissolved in xylene solvent to obtain a second test sample; wherein xylene is selected as the solvent because it has a good dissolving effect on polypropylene particles, which is conducive to ensuring the uniformity of the sample.

[0098] A small amount of the second test sample is taken by a micro-syringe and injected into the injection port of the gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column; the different chemical components are input into the mass spectrometer to be ionized and decomposed into multiple ions, and the mass spectrometer detects the mass / charge of the multiple ions to obtain mass spectrum data of the multiple ions; the mass spectrum data includes a mass spectrum and relative abundance; let A i is the area of ​​the characteristic ion peak of the ith component, and C i is the concentration of the component, and the calibration curve is:

[0099] C i =k1×A i +k2;

[0100] Among them, k1 and k2 are parameters obtained through calibration;

[0101] The calculation formula of the relative abundance is:

[0102]

[0103] Among them, ∑A i represents the sum of all detected ion peak areas;

[0104] The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

[0105] Refer to the standards of the "National Food Safety Standard for the Use of Additives in Food Contact Materials and Articles" to determine whether the analysis results of the chemical components meet the requirements for food contact materials.

[0106] As shown in Table 1, the chemical composition analysis results of this embodiment are shown in Table 1.

[0107] Table 1 Chemical composition analysis results

[0108]

[0109] Referring to Table 1, the polypropylene backbone is the main component of polypropylene, showing a high abundance; phthalic acid and methylphenol are commonly used additives in the production of disposable lunch boxes, showing a low abundance, which meets the standards of the "National Food Safety Standard for the Use of Additives in Food Contact Materials and Products"; impurities are pollutants introduced during the production process, showing a low abundance and do not affect food safety.

[0110] In this embodiment, the chemical purity and composition of the polypropylene plastic particles are ensured to fully meet the production standards by performing precise purity testing and component analysis on the raw materials. Purity testing effectively identifies any unexpected chemical impurities or structural anomalies by comparing the infrared absorption spectra of the raw materials and standard polypropylene samples, thereby preventing these problems from affecting the safety and consistency of the final product. In addition, component analysis further ensures that the chemical properties of each batch of raw materials are consistent by identifying the chemical components in detail, thereby providing a solid foundation for the production of high-quality disposable lunch boxes. This not only improves the reliability of the product, but also enhances consumers' trust in the brand.

[0111] Reference Figure 1 S20 in which S20 is applied to a finished product quality monitoring unit of a smart factory product quality monitoring system based on MES, and is used to monitor the quality of each finished product to obtain a second test result; the finished product quality monitoring includes performing appearance inspection and microbial inspection on each of the finished products produced;

[0112] Furthermore, the appearance inspection includes:

[0113] Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is:

[0114]

[0115] Where S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; t is the preset maximum error threshold;

[0116] When the shape consistency score is less than 99, the finished product is judged to not meet the production quality requirements.

[0117] Furthermore, the microbial detection includes:

[0118] Randomly take out part of the finished product as the fourth test sample; use a pre-sterilized cotton swab to slightly wet it and wipe the inner surface, edge and bottom area of ​​the fourth test sample; the wiping covers the entire surface area in a Z-shape; put the cotton swab into a culture dish containing nutrient agar to ensure that the colony can grow; put the culture dish into a constant temperature incubator and set the temperature to 35°C for 24 hours of incubation; observe and count the colonies on the culture dish and record the colony forming units; the calculation formula of the colony forming unit is:

[0119]

[0120] Where C is the colony forming unit, T is the total colony count, and S is the surface area detected.

[0121] According to the "Standards for Detection of Pathogenic Bacteria in Food Contact Materials", determine whether the colony forming units meet the production standards.

[0122] In this example, the quality of the finished product is comprehensively assessed using advanced image processing and microbiological testing techniques to ensure that it meets production and safety standards.

[0123] First, finished product quality monitoring involves taking a picture of each finished product using a high-resolution camera, followed by image preprocessing, including adjusting brightness and contrast. By using the Canny edge detection method, the system can accurately identify the edges of the finished product, compare it with the preset standard shape template, and calculate the shape deviation. The shape consistency score reflects the similarity between the finished product and the standard template, and is obtained by calculating the absolute error between the third test sample and the standard shape template. The score ranges from 0 to 100. The higher the score, the smaller the error and the closer the product shape quality is to the standard.

[0124] Furthermore, the microbial testing of finished products is a key step in ensuring product hygiene and safety. The randomly selected finished products are used as the fourth test samples. Pre-sterilized cotton swabs are used to wipe the inner surface, edge and bottom areas of the finished products to ensure full coverage of the samples. The wiped cotton swabs are transferred to a culture dish containing nutrient agar and incubated in a constant temperature incubator. By observing and counting colony forming units, the system can evaluate the microbial contamination level of the product. This data not only reflects the sanitary quality of the product, but is also an important guarantee for the health and safety of consumers.

[0125] Through these comprehensive testing steps, the MES system can ensure that each finished product not only meets the quality standards in appearance, but also meets the prescribed requirements in terms of microbial safety, further strengthening the protection of consumer health and enhancing the market reputation and competitiveness of the product.

[0126] Reference Figure 1 S30 in which S30 is applied to a production process monitoring unit of a product quality monitoring system of an intelligent factory based on MES, and is used to monitor the production process to obtain a third detection result;

[0127] The production process monitoring includes film sheet monitoring, film pressing monitoring, finished product monitoring and factory monitoring;

[0128] The film monitoring includes monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness;

[0129] The film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine;

[0130] The finished product monitoring includes monitoring the weight of the finished product; the factory monitoring includes monitoring the temperature and humidity of the factory;

[0131] Furthermore, the pressure of the extruder die head is obtained by a pressure sensor; the temperature of the cooling roller is obtained by a temperature sensor; the monitoring of the film thickness is achieved by using an automatic thickness gauge; the thickness gauge accurately measures the film thickness by laser technology; the pressure and speed of the thermoforming machine are monitored in real time by the pressure sensor and speed sensor; the time parameters of the thermoforming machine are monitored by a timer; the weight of the finished product is monitored by a weighing sensor; and the temperature and humidity of the factory are monitored by a temperature and humidity sensor.

[0132] In this embodiment, the production process monitoring unit comprehensively monitors the production process of the disposable lunch box to obtain the third test result. By real-time monitoring of the pressure during the extrusion of the film, the temperature of the cooling roller and the thickness of the film, the system can ensure that a constant quality level is maintained during the material processing process, thereby preventing the occurrence of production defects. Precise control of the pressure, time parameters and speed of the thermoforming machine helps to maintain the consistency of the molding process, while monitoring the weight of the finished product ensures that each product meets the quality requirements. The temperature and humidity of the entire factory are also strictly monitored to maintain an optimal production environment. This comprehensive production process monitoring lays a research foundation for the adjustment of factory production parameters, which can effectively improve the quality and consistency of production products, reduce scrap rates, and further improve production efficiency and economic benefits.

[0133] Reference Figure 1 S40 in the embodiment is applied to a feedback unit of a product quality monitoring system of an intelligent factory based on MES, and is used to store the first detection result, the second detection result and the third detection result in the MES system to form a product quality file; the product quality file is further input into the intelligent adaptive control system, and the intelligent adaptive control system adjusts the production parameters of the factory by analyzing the product quality file.

[0134] Further, the intelligent adaptive control system includes a quality prediction model and a control model;

[0135] The quality prediction model includes model construction and model training; monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the finished product weight; the factory monitoring includes monitoring the temperature and humidity of the factory

[0136] The model construction includes a data preprocessing layer, a feature analysis layer and a result output layer;

[0137] The data preprocessing layer is used to remove outliers and missing values, normalize and splice the second detection sample and the second detection sample to obtain first data;

[0138] The feature analysis layer includes an LSTM structure, which is used to analyze the first data to obtain a corresponding feature vector; the feature analysis layer includes analyzing the relationship between the pressure of the extruder die head and the temperature of the cooling roller and the film thickness and the finished product weight, and analyzing the relationship between the pressure, time parameters and speed of the thermoforming machine and the finished product quality; the finished product quality is obtained through the appearance inspection;

[0139] The result output layer is used to analyze the feature vector to obtain a prediction result; the prediction result is the qualified rate of a unified batch of finished products;

[0140] The model training includes: constructing a product data set; each piece of data in the product data set includes the pressure of the extruder die head, the temperature of the cooling roller, the film thickness, the finished product weight, the pressure of the thermoforming machine, the time parameter and the speed, and the finished product quality; annotating the result of each piece of data, that is, annotating the qualified rate of the unified batch of finished products;

[0141] Dividing the product data set into a training set and a validation set in a ratio of 7:3; training the quality prediction model by using the training set; and validating and optimizing the quality prediction model by using the validation set;

[0142] The control model is a linear time-invariant model, which is used to adjust the production parameters according to the results of the quality prediction model.

[0143] The specific implementation process of the control model includes:

[0144] First, define the objective function, that is, to achieve the optimization goal of the model predictive control (MPC) strategy. In this embodiment, the objective function aims to minimize the deviation between the actual product quality and the target quality; the formal expression of the objective function is:

[0145]

[0146] Among them, J is the objective function, y t+k|t is the output predicted at time t+k, r t+k is the expected output at time t+k, u t+k|t is the predicted control output at time t+k.

[0147] Then, according to the MPC strategy, the control model will calculate a series of future control actions in real time based on the current machine state and the results of the quality prediction model. These control actions are predicted by the optimization algorithm with the goal of optimizing the quality of the upcoming product in the next few time steps.

[0148] Finally, an optimization algorithm based on quadratic programming is used to solve the objective function to determine the best sequence of control actions in the next few time steps. This process not only ensures real-time adjustment of production parameters, but also ensures that the production process is highly adaptable and responsive through continuous feedback and adjustment mechanisms, thereby maximizing production efficiency and product quality.

[0149] In this way, the control model can effectively combine the theoretical model with the actual production operation, achieve precise control of factory production parameters, optimize the production process, improve product consistency and reduce costs.

[0150] In this embodiment, the first test result, the second test result, and the third test result are integrated to form a product quality profile and input into the intelligent adaptive control system. By analyzing these quality profiles, the system automatically adjusts key parameters on the production line, including the pressure of the extruder die head, the operating speed of the thermoforming machine, etc., to optimize product quality. This data-driven control strategy not only enhances the adaptability and flexibility of the production process, but also significantly improves production efficiency and product consistency, and reduces scrap rate.

[0151] In this embodiment, the product quality files are recorded in detail and stored in the MES, and the staff can access and review the quality inspection data of each batch of products in each production link in real time, including the inspection results of raw materials and the inspection of the final finished product. This integrated information management system provides a comprehensive traceability mechanism for products. When any product quality problem is found, the traceability mechanism can be quickly used to trace the source of the problem, whether in the raw material stage or the finished product stage, making the diagnosis and resolution of the problem more efficient and targeted. In addition, this traceability capability also enhances the transparency of quality control, enhances consumer trust, and improves the brand reputation and market competitiveness of the company.

[0152] The method proposed in this embodiment can realize comprehensive production process monitoring and real-time data analysis, greatly improving the quality control efficiency of the product. This method obtains the purity and component analysis results of the raw materials, the appearance and microbial detection results of the finished product, and also monitors the key parameters of the entire production process. All these data are summarized to form a complete product quality file. By analyzing these quality files through an intelligent adaptive control system, the production parameters can be accurately adjusted, thereby effectively reducing resource waste and improving production efficiency while ensuring that the product meets high-standard quality requirements. This application not only optimizes the production process, but also enhances the company's responsiveness and competitiveness to market changes.

[0153] Embodiment 2

[0154] Reference Figure 1 S10 in the embodiment is applied to a raw material detection unit of a product quality monitoring system of an intelligent factory based on MES, and is used to perform raw material detection on raw materials entering the warehouse to obtain a first detection result; the raw materials are polypropylene plastic particles; the raw material detection includes purity detection and component analysis;

[0155] Furthermore, the purity detection includes:

[0156] Taking out part of the raw material and making it into a thin sheet as a first test sample; scanning the first test sample by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; comparing the infrared spectrum of the first test sample with a standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure;

[0157] In this embodiment, the raw material is made into thin slices to improve the accuracy of spectral analysis and the uniformity of the sample;

[0158] The purity value calculation formula of the first test sample is:

[0159]

[0160] Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ;

[0161] When the purity values ​​of some of the raw materials taken out are all greater than 99%, it means that the raw materials of the same batch meet the production requirements. Otherwise, it means that the raw materials of the same batch do not meet the production requirements, and the supply chain of the raw materials is traced to find possible sources of contamination or links with quality control errors.

[0162] The composition analysis includes:

[0163] Taking out a portion of the raw material and dissolving it in a xylene solvent to obtain a second test sample;

[0164] A small amount of the second test sample is taken using a microsyringe and injected into the injection port of the gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column;

[0165] The different chemical components are input into a mass spectrometer to be ionized and decomposed into a plurality of ions, and the mass spectrometer detects the masses / charges of the plurality of ions to obtain mass spectrum data of the plurality of ions respectively;

[0166] The mass spectrum data includes a mass spectrum and relative abundance;

[0167] Assume A i is the area of ​​the characteristic ion peak of the ith component, and C i is the concentration of the component, and the calibration curve is:

[0168] C i =k1×A i +k2;

[0169] Among them, k1 and k2 are parameters obtained through calibration;

[0170] The calculation formula of the relative abundance is:

[0171]

[0172] Among them, ∑A i represents the sum of all detected ion peak areas;

[0173] The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

[0174] Refer to the standards of the "National Food Safety Standard for the Use of Additives in Food Contact Materials and Articles" to determine whether the analysis results of the chemical components meet the requirements for food contact materials.

[0175] As shown in Table 2, the chemical composition analysis results of this embodiment are shown in Table 2.

[0176] Table 2 Chemical composition analysis results

[0177]

[0178] Referring to Table 2, the polypropylene backbone is the main component of polypropylene, showing a high abundance; phthalic acid and methylphenol are commonly used additives in the production of disposable lunch boxes, showing a low abundance, which meets the standards of the "National Food Safety Standard for the Use of Additives for Food Contact Materials and Products"; impurities are pollutants introduced during the production process, showing a low abundance and do not affect food safety.

[0179] Reference Figure 1 S20 in which S20 is applied to a finished product quality monitoring unit of a smart factory product quality monitoring system based on MES, and is used to monitor the quality of each finished product to obtain a second test result; the finished product quality monitoring includes performing appearance inspection and microbial inspection on each of the finished products produced;

[0180] Furthermore, the appearance inspection includes:

[0181] Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is:

[0182]

[0183] Where S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; t is the preset maximum error threshold;

[0184] When the shape consistency score is less than 99, the finished product is judged to not meet the production quality requirements.

[0185] Furthermore, the microbial detection includes:

[0186] Randomly take out part of the finished product as the fourth test sample; use a pre-sterilized cotton swab to slightly wet it and wipe the inner surface, edge and bottom area of ​​the fourth test sample; the wiping covers the entire surface area in a Z-shape; put the cotton swab into a culture dish containing nutrient agar to ensure that the colony can grow; put the culture dish into a constant temperature incubator and set the temperature to 35°C for 24 hours of incubation; observe and count the colonies on the culture dish and record the colony forming units; the calculation formula of the colony forming unit is:

[0187]

[0188] Where C is the colony forming unit, T is the total colony count, and S is the surface area detected.

[0189] According to the "Standards for Detection of Pathogenic Bacteria in Food Contact Materials", determine whether the colony forming units meet the production standards.

[0190] In this embodiment, first, the finished product quality monitoring includes taking a picture of each finished product using a high-resolution camera, followed by image preprocessing, including adjusting brightness and contrast. By using the Canny edge detection method, the system can accurately identify the edge of the finished product, compare it with the preset standard shape template, and calculate the shape deviation. The shape consistency score reflects the similarity between the finished product and the standard template, and is obtained by calculating the absolute error between the third test sample and the standard shape template. The score ranges from 0 to 100. The higher the score, the smaller the error and the closer the product shape quality is to the standard.

[0191] Furthermore, the microbial testing of finished products is a key step in ensuring product hygiene and safety. The randomly selected finished products are used as the fourth test samples. Pre-sterilized cotton swabs are used to wipe the inner surface, edge and bottom areas of the finished products to ensure full coverage of the samples. The wiped cotton swabs are transferred to a culture dish containing nutrient agar and incubated in a constant temperature incubator. By observing and counting colony forming units, the system can evaluate the microbial contamination level of the product. This data not only reflects the sanitary quality of the product, but is also an important guarantee for the health and safety of consumers.

[0192] Reference Figure 1 S30 in the above, S30 is applied to a production process monitoring unit of a product quality monitoring system of an intelligent factory based on MES, and is used to monitor the production process to obtain a third detection result; the production process monitoring includes film monitoring, film pressing monitoring, finished product monitoring and factory monitoring; the film monitoring includes monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the weight of the finished product; the factory monitoring includes monitoring the temperature and humidity of the factory;

[0193] Furthermore, the pressure of the extruder die head is obtained by a pressure sensor; the temperature of the cooling roller is obtained by a temperature sensor; the monitoring of the film thickness is achieved by using an automatic thickness gauge; the thickness gauge accurately measures the film thickness by laser technology; the pressure and speed of the thermoforming machine are monitored in real time by the pressure sensor and speed sensor; the time parameters of the thermoforming machine are monitored by a timer; the weight of the finished product is monitored by a weighing sensor; and the temperature and humidity of the factory are monitored by a temperature and humidity sensor.

[0194] Reference Figure 1S40 in the embodiment is applied to a feedback unit of a product quality monitoring system of an intelligent factory based on MES, and is used to store the first detection result, the second detection result and the third detection result in the MES system to form a product quality file; the product quality file is further input into the intelligent adaptive control system, and the intelligent adaptive control system adjusts the production parameters of the factory by analyzing the product quality file.

[0195] Further, the intelligent adaptive control system includes a quality prediction model and a control model;

[0196] The quality prediction model includes model construction and model training; monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the finished product weight; the factory monitoring includes monitoring the temperature and humidity of the factory

[0197] The model construction includes a data preprocessing layer, a feature analysis layer and a result output layer;

[0198] The data preprocessing layer is used to remove outliers and missing values, normalize and splice the second detection sample and the second detection sample to obtain first data;

[0199] The feature analysis layer includes an LSTM structure, which is used to analyze the first data to obtain a corresponding feature vector; the feature analysis layer includes analyzing the relationship between the pressure of the extruder die head and the temperature of the cooling roller and the film thickness and the finished product weight, and analyzing the relationship between the pressure, time parameters and speed of the thermoforming machine and the finished product quality; the finished product quality is obtained through the appearance inspection;

[0200] The result output layer is used to analyze the feature vector to obtain a prediction result; the prediction result is the qualified rate of a unified batch of finished products;

[0201] The model training includes: constructing a product data set; each piece of data in the product data set includes the pressure of the extruder die head, the temperature of the cooling roller, the film thickness, the finished product weight, the pressure of the thermoforming machine, the time parameter and the speed, and the finished product quality; annotating the result of each piece of data, that is, annotating the qualified rate of the unified batch of finished products;

[0202] Dividing the product data set into a training set and a validation set in a ratio of 7:3; training the quality prediction model by using the training set; and validating and optimizing the quality prediction model by using the validation set;

[0203] The control model is a linear time-invariant model, which is used to adjust the production parameters according to the results of the quality prediction model.

[0204] The specific implementation process of the control model includes:

[0205] First, define the objective function, that is, to achieve the optimization goal of the model predictive control (MPC) strategy. In this embodiment, the objective function aims to minimize the deviation between the actual product quality and the target quality; the formal expression of the objective function is:

[0206]

[0207] Among them, J is the objective function, y t+k|t is the output predicted at time t+k, r t+k is the expected output at time t+k, u t+k|t is the predicted control output at time t+k.

[0208] Then, according to the MPC strategy, the control model will calculate a series of future control actions in real time based on the current machine state and the results of the quality prediction model. These control actions are predicted by the optimization algorithm with the goal of optimizing the quality of the upcoming product in the next few time steps.

[0209] Finally, an optimization algorithm based on quadratic programming is used to solve the objective function to determine the best sequence of control actions in the next few time steps. This process not only ensures real-time adjustment of production parameters, but also ensures that the production process is highly adaptable and responsive through continuous feedback and adjustment mechanisms, thereby maximizing production efficiency and product quality.

[0210] In this way, the control model can effectively combine the theoretical model with the actual production operation, achieve precise control of factory production parameters, optimize the production process, improve product consistency and reduce costs.

[0211] In this embodiment, the product quality files are recorded in detail and stored in the MES, and the staff can access and review the quality inspection data of each batch of products in each production link in real time, including the inspection results of raw materials and the inspection of the final finished product. This integrated information management system provides a comprehensive traceability mechanism for products. When any product quality problem is found, the traceability mechanism can be quickly used to trace the source of the problem, whether in the raw material stage or the finished product stage, making the diagnosis and resolution of the problem more efficient and targeted. In addition, this traceability capability also enhances the transparency of quality control, enhances consumer trust, and improves the brand reputation and market competitiveness of the company.

[0212] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for monitoring product quality in an intelligent factory based on MES, characterized in that: include: Conduct raw material testing on the incoming raw materials to obtain a first test result; The raw material is polypropylene plastic particles; The raw material testing includes purity testing and component analysis; Performing finished product quality monitoring on the finished product to obtain a second test result; the finished product quality monitoring includes performing appearance testing and microbial testing on the produced finished product; The production process is monitored on the generation process to obtain a third detection result; the production process monitoring includes film sheet monitoring, film pressing monitoring, finished product monitoring and factory monitoring; the film sheet monitoring includes monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film sheet thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the weight of the finished product; the factory monitoring includes monitoring the temperature and humidity of the factory; The first test result, the second test result and the third test result are stored in the MES system to form a product quality file; The product quality file is input into an intelligent adaptive control system, and by analyzing the product quality file, the intelligent adaptive control system adjusts the production parameters of the factory; the production parameters include the pressure of the extruder die head, the temperature of the cooling roller, the pressure and time parameters, speed and processing time of the thermoforming machine.

2. According to the MES-based intelligent factory product quality monitoring method of claim 1, it is characterized in that: The purity test includes: Taking out part of the raw material and making it into a thin sheet as a first test sample; scanning the first test sample by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; comparing the infrared spectrum of the first test sample with a standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure; The purity value calculation formula of the first test sample is: Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ; The composition analysis includes: Taking out part of the raw material and dissolving it in xylene solvent to obtain a second test sample; using a micro-syringe to take a small amount of the second test sample and inject it into the injection port of a gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column; the different chemical components are input into the mass spectrometer to be ionized and decomposed into multiple ions, and the mass spectrometer detects the mass / charge of the multiple ions to obtain mass spectrum data of the multiple ions respectively; the mass spectrum data includes a mass spectrum and relative abundance; let A i is the area of ​​the characteristic ion peak of the ith component, C i is the concentration of the component, and the calibration curve is: C i =k1×A i +k2; Among them, k1 and k2 are parameters obtained through calibration; The calculation formula of the relative abundance is: Among them, ∑A i represents the sum of all detected ion peak areas; The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

3. According to the MES-based intelligent factory product quality monitoring method of claim 1, it is characterized in that: The pressure of the extruder die head is obtained by a pressure sensor; the temperature of the cooling roller is obtained by a temperature sensor; the film thickness is monitored by using an automatic thickness gauge; the thickness gauge accurately measures the film thickness by laser technology; the pressure and speed of the thermoforming machine are monitored in real time by the pressure sensor and speed sensor; Using a timer to monitor the time parameters of the thermoforming machine; monitoring the weight of the finished product by a weighing sensor; The temperature and humidity of the factory are monitored by temperature and humidity sensors.

4. The method for monitoring product quality of an intelligent factory based on MES according to claim 1, characterized in that: The appearance inspection includes: Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is: Where S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; t is the preset maximum error threshold; The microbial detection comprises: randomly taking out a portion of the finished product as a fourth detection sample; using a pre-sterilized cotton swab to slightly wet the inner surface, edge and bottom area of ​​the fourth detection sample; the wiping covers the entire surface area in a Z-shape; placing the cotton swab in a culture dish containing nutrient agar to ensure that the colony can grow; placing the culture dish in a constant temperature incubator and setting the temperature to 35°C for 24 hours of incubation; observing and counting the colonies on the culture dish and recording the colony forming units; the calculation formula of the colony forming unit is: Where C is the colony forming unit, T is the total colony count, and S is the surface area detected.

5. The method for monitoring product quality of an intelligent factory based on MES according to claim 1, characterized in that: The intelligent adaptive control system includes a quality prediction model and a control model; The quality prediction model includes model construction and model training; monitoring the pressure of the extruder die head, the temperature of the cooling roller and the film thickness; the film pressing monitoring includes monitoring the pressure, time parameters and speed of the thermoforming machine; the finished product monitoring includes monitoring the finished product weight; the factory monitoring includes monitoring the temperature and humidity of the factory The model construction includes a data preprocessing layer, a feature analysis layer and a result output layer; The data preprocessing layer is used to remove outliers and missing values, normalize and splice the second detection sample and the second detection sample to obtain first data; The feature analysis layer includes an LSTM structure, which is used to analyze the first data to obtain a corresponding feature vector; The characteristic analysis layer includes analyzing the relationship between the pressure of the extruder die head and the temperature of the cooling roller and the film thickness and the finished product weight, and analyzing the relationship between the pressure, time parameters and speed of the thermoforming machine and the finished product quality; The quality of the finished product is obtained through the appearance inspection; The result output layer is used to analyze the feature vector to obtain a prediction result; the prediction result is the qualified rate of a unified batch of finished products; The model training includes: constructing a product data set; each piece of data in the product data set includes the pressure of the extruder die head, the temperature of the cooling roller, the film thickness, the finished product weight, the pressure of the thermoforming machine, the time parameter and the speed, and the finished product quality; annotating the result of each piece of data, that is, annotating the qualified rate of the unified batch of finished products; Dividing the product data set into a training set and a validation set in a ratio of 7:3; training the quality prediction model by using the training set; and validating and optimizing the quality prediction model by using the validation set; The control model is a linear time-invariant model, which is used to adjust the production parameters according to the results of the quality prediction model.

6. A smart factory product quality monitoring system based on MES, characterized in that: include: A raw material detection unit, used to perform raw material detection on the raw materials entering the warehouse to obtain a first detection result; The raw material is polypropylene plastic particles; The raw material testing includes purity testing and component analysis; A finished product quality monitoring unit, used to monitor the quality of each finished product to obtain a second test result; the finished product quality monitoring includes performing appearance inspection and microbial inspection on each of the finished products produced; A production process monitoring unit, used to monitor the production process and obtain a third detection result; A feedback unit stores the first test result, the second test result and the third test result in an MES system to form a product quality file; The product quality file is input into the intelligent adaptive control system, and the intelligent adaptive control system adjusts the production parameters of the factory by analyzing the product quality file.

7. The MES-based smart factory product quality monitoring system according to claim 6 is characterized in that: The production parameters include the pressure of the extruder die, the temperature of the cooling roller, the pressure and time parameters of the thermoforming machine, the speed and the processing time.

8. The MES-based smart factory product quality monitoring system according to claim 6 is characterized in that: The purity test includes: Part of the raw material is taken out to be made into a thin sheet as a first test sample; the first test sample is scanned by a Fourier transform infrared spectrometer to obtain an infrared absorption spectrum of the first test sample; the infrared spectrum of the first test sample is compared with the standard spectrum of pure polypropylene to obtain a purity value of the first test sample; the purity value is used to determine whether there is an unnecessary absorption peak, and the unnecessary absorption peak indicates impurities or abnormal chemical structure; the purity value calculation formula of the first test sample is: Among them, Pu is the purity value, A sample(λ) is the absorption intensity of the first test sample at wavelength λ, A standard(λ) is the absorption intensity of the corresponding pure polypropylene standard sample at wavelength λ.

9. The MES-based smart factory product quality monitoring system according to claim 6 is characterized in that: The composition analysis includes: Taking out part of the raw material and dissolving it in xylene solvent to obtain a second test sample; using a micro-syringe to take a small amount of the second test sample and inject it into the injection port of a gas chromatography-mass spectrometer; the second test sample is separated into different chemical components in the gas chromatography column; the different chemical components are input into the mass spectrometer to be ionized and decomposed into multiple ions, and the mass spectrometer detects the mass / charge of the multiple ions to obtain mass spectrum data of the multiple ions respectively; the mass spectrum data includes a mass spectrum and relative abundance; let A i is the area of ​​the characteristic ion peak of the ith component, and C i is the concentration of the component, and the calibration curve is: C i =k1×A i +k2; Among them, k1 and k2 are parameters obtained through calibration; The calculation formula of the relative abundance is: Among them, ∑A i represents the sum of all detected ion peak areas; The mass spectral data of a plurality of the ions are analyzed to identify chemical components in the raw material.

10. The MES-based intelligent factory product quality monitoring system according to claim 6, characterized in that: The appearance inspection includes: Each of the finished products is photographed using a high-resolution camera to obtain a third test sample; the third test sample is image preprocessed; the image preprocessing includes adjusting brightness and contrast; the edge of the third test sample is identified using the Canny edge detection method; the product shape is compared with a preset standard shape template to calculate the shape deviation and obtain a shape consistency score; the calculation formula of the shape consistency score is: Wherein, S is the shape consistency score, ranging from 0 to 100; e is the absolute error between the third detection sample and the standard shape template, calculated in pixel units; and t is the preset maximum error threshold.

Citation Information

Patent Citations

  • MES-based intelligent factory product quality monitoring method and system

    CN114154896A

  • MES-based intelligent factory product quality monitoring method and system

    CN116088456A

Cited By

  • Packaging material production quality intelligent monitoring method based on industrial internet of things

    CN120931047A