A big data-based food processing control system and method

By using a big data-based food processing control system, which utilizes Oracle and Hadoop for data storage and processing, and combines SVM and PID algorithms for dynamic parameter adjustment and image processing, the system solves the problems of low efficiency and large quality fluctuations in traditional systems, and achieves efficient and intelligent food production control.

CN117891159BActive Publication Date: 2026-11-27SHANGHAI JINXIN INVERTER
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410065719.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2026-11-27
Estimated Expiration
2044-01-16

AI Technical Summary

Technical Problem

Traditional food processing control systems cannot fully utilize big data for real-time monitoring and analysis, and lack intelligent quality control methods, resulting in low production efficiency, large quality fluctuations, and an inability to effectively cope with changes in the production environment.

Method used

The food processing control system based on big data is adopted, including data acquisition, storage and processing modules, prediction and optimization modules, automation control modules and quality inspection modules. It uses Oracle database and Hadoop distributed file system for data storage and processing, combines SVM algorithm for quality control and anomaly detection, uses PID control algorithm for dynamic parameter adjustment, and combines image processing technology for appearance inspection and foreign object detection.

Benefits of technology

It enables more comprehensive and real-time monitoring of the production process, improves production efficiency and quality stability, can intelligently optimize production parameters, accurately identify quality problems and make timely adjustments, thereby improving product quality and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117891159B_ABST
    Figure CN117891159B_ABST
Patent Text Reader

Abstract

The application discloses a food processing control system and method based on big data, and belongs to the technical field of big data.The application comprises the following modules: a data acquisition module, which acquires the data of various parameters and indexes of a candy processing environment and a production line in real time, and performs cleaning and preprocessing; a data storage and processing module, which stores data by using an Oracle database, processes data by using a big data processing engine Hadoop, and generates visual charts; a prediction and optimization module, which performs quality control tasks and abnormality detection by using an SVM algorithm, optimizes production parameters, and dynamically adjusts production parameters; an automatic control module, which uses a PID control algorithm, automatically initializes the parameters of a PID controller, calculates a control signal, and adjusts parameters or operations in a production process; and a quality detection module, which detects the appearance characteristics of candies, performs foreign matter detection and packaging detection, performs mechanical property testing on soft candies, and allows quality tracing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of big data technology, specifically to a food processing control system and method based on big data. Background Technology

[0002] In the traditional food processing industry, production processes are often limited by fixed parameters and limited real-time monitoring. This traditional production method can lead to inefficiency, large quality fluctuations, and an inability to effectively cope with changing production environments. Furthermore, stringent requirements for food quality and safety necessitate more sophisticated and intelligent production control systems.

[0003] In recent years, advancements in big data technology, machine learning, and automated control have brought new opportunities to the food processing industry. Big data analytics can monitor the production environment more comprehensively and in real time, machine learning algorithms can optimize production parameters and improve product quality, and automated control systems can achieve more precise and timely production adjustments.

[0004] However, existing food processing control systems still face some challenges in integrating these advanced technologies. Traditional systems often fail to fully utilize big data for real-time monitoring and analysis, lack intelligent quality control methods, and may lack flexibility in adjusting production parameters. Therefore, it is necessary to develop a more advanced food processing control system that fully integrates technologies such as big data, machine learning, and automated control to improve the efficiency, quality, and safety of food processing. Summary of the Invention

[0005] The purpose of this invention is to provide a food processing control system and method based on big data to solve the problems mentioned in the background art.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0007] A food processing control system based on big data includes:

[0008] Data acquisition module: acquires data on various parameters and indicators of the candy processing environment and production line in real time, and cleans and preprocesses the data;

[0009] Data storage and processing module: Receives real-time data transmitted from the data acquisition module; uses an Oracle database to store data; uses the Hadoop big data processing engine to process data; and generates visualization charts using real-time and historical data.

[0010] Prediction and Optimization Module: Uses the SVM algorithm for quality control tasks and anomaly detection, optimizes production parameters, establishes the relationship between production parameters and candy quality, and dynamically adjusts production parameters based on real-time data;

[0011] Automation control module: Using a PID control algorithm, the PID controller parameters are automatically initialized according to the specific production process and equipment performance. These parameters include the proportional coefficient P, integral time I, and derivative time D. Based on real-time data, the PID controller calculates control signals, which are then sent to actuators or control devices to adjust parameters or operations in the production process.

[0012] Quality Inspection Module: Uses image processing technology to detect the appearance features of candies and identify any appearance defects; detects the size and weight of candies, and if the size or weight exceeds the specified threshold, the system will mark it as unqualified; performs mechanical performance tests on gummies to ensure that the chewiness meets the standards; performs foreign object detection and packaging inspection, and promptly marks and alarms when unqualified candies are found, allowing operators to trace the quality of the candies.

[0013] The data acquisition module uses various sensors to measure various data in the candy processing environment and on the production line. The data includes ambient temperature, ambient humidity, pressure of packaging equipment, liquid flow rate, gas flow rate, production line transport speed, candy size and weight, sounds related to the production process, liquid level, optical parameters, packaging parameters, and timestamps of the production process. The acquired data is then cleaned and calibrated, including removing outliers, filling in missing data, and smoothing the data.

[0014] The data storage and processing module stores the real-time data transmitted from the data acquisition module in the Oracle database, then exports the data from the Oracle database to the Hadoop Distributed File System, and uses Hadoop models to design and execute data processing tasks. For historical data, data mining tasks are performed to identify potential problems or trends in the production process; for real-time data, real-time analysis is performed to monitor the current production status; the processed data is stored back in the Hadoop cluster, and visualization tools and report generation tools are used to create visualization charts and reports.

[0015] Storing real-time data in an Oracle database provides high-performance transaction processing capabilities. Exporting data to the Hadoop Distributed File System (Hadoop Distributed File System) allows for distributed storage, adapting to the demands of large-scale data processing. The Hadoop Distributed File System's advantage lies in its horizontal scalability, handling the storage and analysis of massive datasets. The Hadoop model's design and execution of data processing tasks ensure high scalability. Performing data mining tasks on historical data helps uncover potential problems and trends in the production process, providing strong support for developing long-term production optimization strategies. Performing real-time analysis on real-time data allows for timely monitoring of the current production status, rapid detection of anomalies, and immediate action. The Hadoop Distributed File System supports multiple data formats, offering better data compatibility. This enables the system to handle data from different sources and in different formats, enhancing its flexibility. Hadoop's task design and execution can be customized and modified as needed, allowing data processing tasks to flexibly adapt to different analysis and mining requirements.

[0016] The prediction and optimization module uses the SVM algorithm for quality control and anomaly detection, obtaining a set of production parameters X and corresponding candy quality labels Y. In the candy quality labels, the category of passing quality is 1, and the category of failing quality is -1. The linear SVM classifier model is defined as follows:

[0017]

[0018] Where f(X) is the output of the SVM model, f(X) > 0 indicates that the quality is acceptable, f(X) < 0 indicates that the quality is unacceptable, and f(X) = 0 indicates that it needs to be tested again; w is the weight vector of the SVM model, which contains weights related to the production parameter X; b is the bias term of the SVM model, which is the intercept of the decision boundary; n represents the total number of samples, and i represents the index of the sample.

[0019] The optimization objective of SVM is to maximize the margin while satisfying the following constraints:

[0020]

[0021] In the prediction and optimization module, a trained SVM model is used to predict real-time data, and the output of the SVM model is analyzed to detect anomalies. If an anomaly is detected or the quality is lower than expected, a corresponding alarm mechanism is triggered, and the characteristics of the anomaly are recorded. Then, based on the prediction results of the SVM model and the anomaly detection information, a corresponding production parameter adjustment strategy is generated to adjust the production parameters to improve candy quality. The generated adjustment strategy is applied to the actual production environment to dynamically adjust the relevant production parameters. After adjusting the production parameters, the data changes during the production process are monitored in real time, and a feedback mechanism is used to check whether the expected effect has been achieved, so as to further optimize the adjustment of production parameters.

[0022] Based on feedback from actual operation, the SVM model in the prediction and optimization module is iteratively optimized. The model parameters are adjusted according to the new data feedback to improve the accuracy of prediction and the effectiveness of production parameter adjustment.

[0023] In the automated control module, the PID controller outputs the following formula:

[0024]

[0025] Where u(t) is the output of the PID controller; P is the proportional coefficient; I is the integral time; D is the derivative time; e(t) is the system error, defined as the difference between the expected value and the actual value; t represents time.

[0026] In the automation control module, parameters P, I, and D are automatically initialized according to the specific generation process and equipment performance; based on real-time data, the actual error e(t) and its integral are... differential The signal is passed to the PID controller to calculate the corresponding control signal u(t);

[0027] The control signal u(t) will be sent to the actuator or control device to adjust the parameters or operations in the production process; the parameters are consistent with the data collected in the data acquisition module.

[0028] The quality inspection module uses a camera and sensors to capture images of the candy's appearance and preprocesses the images, including noise reduction, contrast enhancement, grayscale conversion, edge enhancement, image smoothing, and binarization.

[0029] Next, image processing techniques are used to extract the candy's appearance features. Color space conversion is used to convert the image to RGB format. Histogram statistics are used to extract the candy's color information for detecting candies of different colors or abnormal colors. Edge detection and morphological operations are used to extract the candy's contour. A shape descriptor, including perimeter, area, and ellipticity, is calculated based on the contour to distinguish candies of different shapes and detect abnormal shapes. A texture analysis method, gray-level co-occurrence matrix, is used to extract the candy's surface texture information, detecting changes in surface texture or texture anomalies that may be caused by foreign objects. By measuring the candy's dimensions, including length, width, and height, relevant proportional information is calculated to identify candies of different sizes or proportions. Finally, image segmentation techniques are used to divide the candy image into different regions, and shape, color, or texture analysis is used to detect possible cracks or defects, locating the cracks.

[0030] The quality testing module uses a chewing simulator to simulate the mechanical properties of gummies during chewing. The test speed of the chewing simulator is set in millimeters per second to simulate the movement during actual chewing. Then, a certain number of gummies are randomly selected, loaded onto the testing equipment, the testing equipment is started, a load is applied, and the corresponding displacement is measured. During the test, environmental factors such as temperature and humidity are maintained to simulate actual conditions.

[0031] Next, load F(t) - displacement x(t) data are obtained from the testing instrument, where time is the chewing time. The work done by the gummies during the chewing process is calculated using the load and displacement data, as shown in the following formula:

[0032] w=∫F(time)dx

[0033] The chewiness of the gummies is calculated using the ratio of work to chewing time, T = W / time. The obtained chewiness value is compared with a preset chewiness standard. If T falls within the specified range, the chewiness of the gummies meets the standard. During the experiment, detailed test parameters, sample information, and chewiness calculation results are recorded, and a test report is generated. The test report includes the purpose, method, test results, chewiness value, and conclusions of the test.

[0034] The quality inspection module deploys foreign object detection equipment, including a metal detector, X-ray detector, and optical sensor, to detect the presence of foreign objects in the candy. The sensitivity and threshold of the foreign object detection equipment are set to ensure the detection of even minute foreign objects and avoid false alarms. A vision inspection system is used to inspect the candy packaging for integrity and defects, extracting packaging features and setting packaging inspection standards to ensure compliance with product quality and safety requirements. An inkjet printer is provided to mark substandard candies, printing markings on the candy surface. A real-time alarm program is set up; once a foreign object or packaging defect is detected, the system immediately issues an alarm, emitting an audible alarm and controlling a flashing warning light. Detailed information for each alarm is recorded, and the production information, inspection results, and marking information for each candy are recorded in an Oracle database. A traceability query system is designed, allowing operators to trace the production history, inspection results, and subsequent processing of a candy by inputting its production batch or other information.

[0035] A food processing control method based on big data includes the following steps:

[0036] S100: Real-time acquisition of data on various parameters and indicators in the candy processing environment and production line, and cleaning and preprocessing of the data;

[0037] S200: The cleaned and pre-processed data is transferred to the data storage and processing module, and the data is stored using an Oracle database.

[0038] S300 uses the Hadoop big data processing engine to process data and generates visual charts using real-time and historical data.

[0039] S400: Use the SVM algorithm for quality control tasks and anomaly detection, establish a relationship model between production parameters and candy quality, and dynamically adjust production parameters based on real-time data;

[0040] The S500 uses a PID control algorithm to automatically initialize the parameters of the PID controller, calculate the control signal, and adjust the parameters or operations in the production process according to the specific production process and equipment performance.

[0041] S600: Uses image processing technology to detect the appearance features of candies and identify whether there are appearance defects; detects the size and weight of candies, performs foreign object detection and packaging inspection, and marks unqualified products.

[0042] S700: Conduct mechanical performance tests on the gummies to ensure that the chewiness meets the standards;

[0043] S800. When substandard candies are found, they should be marked and an alarm should be triggered in a timely manner.

[0044] S900 records the production history and quality inspection information of each batch of products, allowing operators to trace the quality of the candy.

[0045] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0046] This invention employs real-time data acquisition and big data analysis, enabling more comprehensive and real-time monitoring of the production process. The application of machine learning algorithms further allows the system to intelligently optimize production parameters and improve production efficiency.

[0047] Introducing the SVM algorithm for quality control tasks and anomaly detection helps to more accurately identify quality problems and take timely measures. This helps to reduce product quality fluctuations and improve the overall quality level.

[0048] The automated control module utilizes a PID control algorithm to dynamically adjust production parameters. Compared to the static parameter settings of traditional systems, this dynamic adjustment can more flexibly adapt to changes in the production environment.

[0049] Using image processing technology for quality inspection can more accurately identify the appearance features and defects of candies, improving the accuracy and efficiency of inspection. Attached Figure Description

[0050] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0051] Figure 1 This is a schematic diagram of a food processing control system based on big data according to the present invention.

[0052] Figure 2 This is a schematic diagram illustrating the steps of a food processing control method based on big data according to the present invention. Detailed Implementation

[0053] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0054] Please see Figures 1-2 The present invention provides the following technical solution:

[0055] According to one embodiment of the present invention, such as Figure 1A flowchart illustrating a big data-based food processing control system is shown. The big data-based food processing control system includes:

[0056] Data acquisition module: acquires data on various parameters and indicators of the candy processing environment and production line in real time, and cleans and preprocesses the data;

[0057] Data storage and processing module: Receives real-time data transmitted from the data acquisition module; uses an Oracle database to store data; uses the Hadoop big data processing engine to process data; and generates visualization charts using real-time and historical data.

[0058] Prediction and Optimization Module: Uses the SVM algorithm for quality control tasks and anomaly detection, optimizes production parameters, establishes the relationship between production parameters and candy quality, and dynamically adjusts production parameters based on real-time data;

[0059] Automation control module: Using a PID control algorithm, the PID controller parameters are automatically initialized according to the specific production process and equipment performance. These parameters include the proportional coefficient P, integral time I, and derivative time D. Based on real-time data, the PID controller calculates control signals, which are then sent to actuators or control devices to adjust parameters or operations in the production process.

[0060] Quality Inspection Module: Uses image processing technology to detect the appearance features of candies and identify any appearance defects; detects the size and weight of candies, and if the size or weight exceeds the specified threshold, the system will mark it as unqualified; performs mechanical performance tests on gummies to ensure that the chewiness meets the standards; performs foreign object detection and packaging inspection, and promptly marks and alarms when unqualified candies are found, allowing operators to trace the quality of the candies.

[0061] The data acquisition module uses various sensors to measure various data in the candy processing environment and on the production line. The data includes ambient temperature, ambient humidity, pressure of packaging equipment, liquid flow rate, gas flow rate, production line transport speed, candy size and weight, sounds related to the production process, liquid level, optical parameters, packaging parameters, and timestamps of the production process. The acquired data is then cleaned and calibrated, including removing outliers, filling in missing data, and smoothing the data.

[0062] The data storage and processing module stores the real-time data transmitted from the data acquisition module in the Oracle database, then exports the data from the Oracle database to the Hadoop Distributed File System, and uses Hadoop models to design and execute data processing tasks. For historical data, data mining tasks are performed to identify potential problems or trends in the production process; for real-time data, real-time analysis is performed to monitor the current production status; the processed data is stored back in the Hadoop cluster, and visualization tools and report generation tools are used to create visualization charts and reports.

[0063] The prediction and optimization module uses the SVM algorithm for quality control and anomaly detection, obtaining a set of production parameters X and corresponding candy quality labels Y. In the candy quality labels, the category of passing quality is 1, and the category of failing quality is -1. The linear SVM classifier model is defined as follows:

[0064]

[0065] Where f(X) is the output of the SVM model, f(X) > 0 indicates that the quality is acceptable, f(X) < 0 indicates that the quality is unacceptable, and f(X) = 0 indicates that it needs to be tested again; w is the weight vector of the SVM model, which contains weights related to the production parameter X; b is the bias term of the SVM model, which is the intercept of the decision boundary; n represents the total number of samples, and i represents the index of the sample.

[0066] The optimization objective of SVM is to maximize the margin while satisfying the following constraints:

[0067]

[0068] In the prediction and optimization module, a trained SVM model is used to predict real-time data, and the output of the SVM model is analyzed to detect anomalies. If an anomaly is detected or the quality is lower than expected, a corresponding alarm mechanism is triggered, and the characteristics of the anomaly are recorded. Then, based on the prediction results of the SVM model and the anomaly detection information, a corresponding production parameter adjustment strategy is generated to adjust the production parameters to improve candy quality. The generated adjustment strategy is applied to the actual production environment to dynamically adjust the relevant production parameters. After adjusting the production parameters, the data changes during the production process are monitored in real time, and a feedback mechanism is used to check whether the expected effect has been achieved, so as to further optimize the adjustment of production parameters.

[0069] Based on feedback from actual operation, the SVM model in the prediction and optimization module is iteratively optimized. The model parameters are adjusted according to the new data feedback to improve the accuracy of prediction and the effectiveness of production parameter adjustment.

[0070] In the automated control module, the PID controller outputs the following formula:

[0071]

[0072] Where u(t) is the output of the PID controller; P is the proportional coefficient; I is the integral time; D is the derivative time; e(t) is the system error, defined as the difference between the expected value and the actual value; t represents time.

[0073] In the automation control module, parameters P, I, and D are automatically initialized according to the specific generation process and equipment performance; based on real-time data, the actual error e(t) and its integral are... differential The signal is passed to the PID controller to calculate the corresponding control signal u(t);

[0074] The control signal u(t) will be sent to the actuator or control device to adjust the parameters or operations in the production process; the parameters are consistent with the data collected in the data acquisition module.

[0075] The quality inspection module uses a camera and sensors to capture images of the candy's appearance and preprocesses the images, including noise reduction, contrast enhancement, grayscale conversion, edge enhancement, image smoothing, and binarization.

[0076] Next, image processing techniques are used to extract the candy's appearance features. Color space conversion is used to convert the image to RGB format. Histogram statistics are used to extract the candy's color information for detecting candies of different colors or abnormal colors. Edge detection and morphological operations are used to extract the candy's contour. A shape descriptor, including perimeter, area, and ellipticity, is calculated based on the contour to distinguish candies of different shapes and detect abnormal shapes. A texture analysis method, gray-level co-occurrence matrix, is used to extract the candy's surface texture information, detecting changes in surface texture or texture anomalies that may be caused by foreign objects. By measuring the candy's dimensions, including length, width, and height, relevant proportional information is calculated to identify candies of different sizes or proportions. Finally, image segmentation techniques are used to divide the candy image into different regions, and shape, color, or texture analysis is used to detect possible cracks or defects, locating the cracks.

[0077] The quality testing module uses a chewing simulator to simulate the mechanical properties of gummies during chewing. The test speed of the chewing simulator is set in millimeters per second to simulate the movement during actual chewing. Then, a certain number of gummies are randomly selected, loaded onto the testing equipment, the testing equipment is started, a load is applied, and the corresponding displacement is measured. During the test, environmental factors such as temperature and humidity are maintained to simulate actual conditions.

[0078] Next, load F(t) - displacement x(t) data are obtained from the testing instrument, where time is the chewing time. The work done by the gummies during the chewing process is calculated using the load and displacement data, as shown in the following formula:

[0079] W=∫F(time)dx

[0080] The chewiness of the gummies is calculated using the ratio of work to chewing time, T = W / time. The obtained chewiness value is compared with a preset chewiness standard. If T falls within the specified range, the chewiness of the gummies meets the standard. During the experiment, detailed test parameters, sample information, and chewiness calculation results are recorded, and a test report is generated. The test report includes the purpose, method, test results, chewiness value, and conclusions of the test.

[0081] The quality inspection module deploys foreign object detection equipment, including a metal detector, X-ray detector, and optical sensor, to detect the presence of foreign objects in the candy. The sensitivity and threshold of the foreign object detection equipment are set to ensure the detection of even minute foreign objects and avoid false alarms. A vision inspection system is used to inspect the candy packaging for integrity and defects, extracting packaging features and setting packaging inspection standards to ensure compliance with product quality and safety requirements. An inkjet printer is provided to mark substandard candies, printing markings on the candy surface. A real-time alarm program is set up; once a foreign object or packaging defect is detected, the system immediately issues an alarm, emitting an audible alarm and controlling a flashing warning light. Detailed information for each alarm is recorded, and the production information, inspection results, and marking information for each candy are recorded in an Oracle database. A traceability query system is designed, allowing operators to trace the production history, inspection results, and subsequent processing of a candy by inputting its production batch or other information.

[0082] According to another embodiment of the invention, such as Figure 2 A schematic diagram illustrating the steps of a big data-based food processing control method is shown. The method includes the following steps:

[0083] S100: Real-time acquisition of data on various parameters and indicators in the candy processing environment and production line, and cleaning and preprocessing of the data;

[0084] S200: The cleaned and pre-processed data is transferred to the data storage and processing module, and the data is stored using an Oracle database.

[0085] S300 uses the Hadoop big data processing engine to process data and generates visual charts using real-time and historical data.

[0086] S400: Use the SVM algorithm for quality control tasks and anomaly detection, establish a relationship model between production parameters and candy quality, and dynamically adjust production parameters based on real-time data;

[0087] The S500 uses a PID control algorithm to automatically initialize the parameters of the PID controller, calculate the control signal, and adjust the parameters or operations in the production process according to the specific production process and equipment performance.

[0088] S600: Uses image processing technology to detect the appearance features of candies and identify whether there are appearance defects; detects the size and weight of candies, performs foreign object detection and packaging inspection, and marks unqualified products.

[0089] S700: Conduct mechanical performance tests on the gummies to ensure that the chewiness meets the standards;

[0090] S800. When substandard candies are found, they should be marked and an alarm should be triggered in a timely manner.

[0091] S900 records the production history and quality inspection information of each batch of products, allowing operators to trace the quality of the candy.

[0092] Based on step S100, the following is a partial record of the data obtained:

[0093] Timestamp: 2024-01-01 10:00, Ambient temperature: 25.5 degrees Celsius, Ambient humidity: 60%, Pressure: 101325 Pa, Liquid flow rate: 50 ml / min, Gas flow rate: 2.5 m³ / min 3 / min, transport speed: 0.2m / s, dimensions: 5x5x2cm 3 Weight: 10g, Sound: 75dB, Liquid level: 15cm, Optical parameters: 0.8, Packaging parameters: 1;

[0094] Timestamp: 2024-01-01 10:05, Ambient temperature: 26.0 degrees Celsius, Ambient humidity: 58%, Pressure: 101200 Pa, Liquid flow rate: 52 ml / min, Gas flow rate: 2.3 m³ / min 3 / min, transport speed: 0.18m / s, dimensions: 5.2x5.2x2.2cm 3 Weight: 9.8g, Sound: 74dB, Liquid level: 14cm, Optical parameters: 0.85, Packaging parameters: 1;

[0095] Timestamp: 2024-01-01 10:10, Ambient temperature: 25.8 degrees Celsius, Ambient humidity: 59%, Pressure: 101400 Pa, Liquid flow rate: 48 ml / min, Gas flow rate: 2.6 m³ / min 3 / min, transport speed: 0.22m / s, dimensions: 4.8x4.8x1.8cm 3 Weight: 10.2g, Sound: 76dB, Liquid level: 16cm, Optical parameters: 0.75, Packaging parameters: 1;

[0096] According to step S400, in the experiment, we used the SVM algorithm to build a quality control model. This model was trained based on historical data, including production parameters such as temperature, humidity, liquid flow rate, and transport speed, as well as corresponding candy quality labels. The model can predict the quality of the candy under given production parameters. When the model detects an anomaly, the system triggers a mechanism for dynamically adjusting parameters. In our simulation, we assume the system adjusts the production parameters by increasing the temperature and decreasing the liquid flow rate to improve candy quality. This adjustment is based on the model's learning and response to anomalies. Timestamp 10:15: Temperature adjusted to 35, liquid flow rate adjusted to 55, candy quality changes from "abnormal" to "qualified";

[0097] According to step S500, the PID control algorithm is used, and some parameters are as follows:

[0098] Timestamp 2024-01-01 10:00: Initial temperature setting: 25 degrees Celsius, actual temperature: 25.5 degrees Celsius, PID control signal: +0.2; Initial liquid flow rate setting: 50 ml / min, actual liquid flow rate: 50 ml / min, PID control signal: 0; Initial transport speed setting: 0.2 m / s, actual transport speed: 0.2 m / s, PID control signal: 0; The temperature deviated from the set value. The PID controller detected that the actual temperature was low, so it increased the control signal to raise the temperature. The liquid flow rate and transport speed basically met the settings, and the PID control signal was close to zero.

[0099] Timestamp 2024-01-01 10:05: Initial temperature setting: 25 degrees Celsius, actual temperature: 26 degrees Celsius, PID control signal: +0.1; Initial liquid flow rate setting: 50 ml / min, actual liquid flow rate: 52 ml / min, PID control signal: +0.2; Initial transport speed setting: 0.2 m / s, actual transport speed: 0.18 m / s, PID control signal: -0.02; The temperature deviates from the set value again, and the PID controller continues to increase the control signal, but the increase is smaller than the previous moment. The liquid flow rate deviates from the set value, and the PID controller increases the control signal to adjust it to the set value. The transport speed deviates from the set value, and the PID controller decreases the control signal to bring the transport speed closer to the set value.

[0100] Timestamp 2024-01-01 10:10: Initial temperature setting: 25 degrees Celsius, actual temperature: 25.8 degrees Celsius, PID control signal: +0.05; Initial liquid flow rate setting: 50 ml / min, actual liquid flow rate: 48 ml / min, PID control signal: -0.1; Initial transport speed setting: 0.2 m / s, actual transport speed: 0.22 m / s, PID control signal: +0.03. The temperature deviates from the set value again, and the PID controller continues to increase the control signal, but the increase is relatively small. The liquid flow rate deviates from the set value, and the PID controller decreases the control signal to bring the liquid flow rate closer to the set value. The transport speed deviates from the set value, and the PID controller increases the control signal to bring the transport speed closer to the set value.

[0101] According to step S600, timestamp 2024-01-01 10:00: Appearance inspection: Image processing technology analyzed appearance features, and no obvious defects were detected. Size and weight inspection: Dimensions are 5x5x2cm. 3 The weight is 10g, which meets the requirements. Foreign object detection: No foreign object was detected. Packaging inspection: Packaging parameter 1, which meets the requirements.

[0102] Timestamp 2024-01-01 10:05: Appearance Inspection: Image processing technology analyzed appearance features and detected a small dent, which was marked as an appearance defect. Size and Weight Inspection: Dimensions are 5.2 x 5.2 x 2.2 cm. 3 The weight is 9.8g, and the size exceeds the specification, therefore it is marked as non-compliant. Foreign object detection: No foreign object detected. Packaging inspection: Packaging parameter 1, compliant with regulations.

[0103] Timestamp 2024-01-01 10:10: Appearance Inspection: Image processing technology analyzed appearance features; no obvious defects were detected. Size and Weight Inspection: Dimensions are 4.8 x 4.8 x 1.8 cm. 3 The weight is 10.2g, which meets the requirements. Foreign object detection: Foreign object was detected and marked as non-compliant. Packaging inspection: Packaging parameter 1, which meets the requirements.

[0104] According to step S700, timestamp 2024-01-01 10:00: Gummy chewing test: The test results meet the standard, and the chewing strength is within the appropriate range.

[0105] Timestamp 2024-01-01 10:05: Gummy chewing test: The test results meet the standards, and the chewing strength is within the appropriate range.

[0106] Timestamp 2024-01-01 10:10: Gummy chewing test: The test result does not meet the standard, the chewing is too soft, and it is marked as unqualified.

[0107] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0108] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A food processing control system based on big data, characterized in that: include: Data acquisition module: acquires data on various parameters and indicators of the candy processing environment and production line in real time, and cleans and preprocesses the data; Data storage and processing module: Receives real-time data transmitted from the data acquisition module; uses an Oracle database to store data; uses the Hadoop big data processing engine to process data; and generates visualization charts using real-time and historical data. Prediction and Optimization Module: Uses the SVM algorithm for quality control tasks and anomaly detection, optimizes production parameters, establishes the relationship between production parameters and candy quality, and dynamically adjusts production parameters based on real-time data; Automation control module: Using a PID control algorithm, the parameters of the PID controller are automatically initialized according to the specific production process and equipment performance. The parameters include the proportional coefficient P, integral time I, and derivative time D. Based on real-time data, the PID controller calculates control signals, which are then sent to actuators or control devices to adjust parameters or operations during the production process. Quality Inspection Module: Uses image processing technology to detect the appearance features of candies and identify any appearance defects; detects the size and weight of candies, and if the size or weight exceeds the specified threshold, the system will mark it as unqualified; performs mechanical performance testing on gummies to ensure that the chewiness meets the standard; performs foreign object detection and packaging inspection, and promptly marks and alarms when unqualified candies are found, allowing operators to trace the quality of the candies; The quality testing module uses a chewing simulator to simulate the mechanical properties of gummies during chewing. The test speed of the chewing simulator is set in millimeters per second to simulate the movement during actual chewing. Then, a certain number of gummies are randomly selected, loaded onto the testing equipment, the testing equipment is started, a load is applied, and the corresponding displacement is measured. During the test, environmental factors such as temperature and humidity are maintained to simulate actual conditions. Next, load F(t) - displacement x(t) data are obtained from the testing instrument, where time is the chewing time. The work done by the gummies during the chewing process is calculated using the load and displacement data, as shown in the following formula: ; The chewiness of the gummy candy is evaluated using the ratio of work to chewing time, T=W / time. The obtained chewiness value is compared with a preset chewiness standard. If T falls within the specified range, it means that the chewiness of the gummy candy meets the standard. During the experiment, detailed test parameters, sample information, and chewiness calculation results were recorded, and a test report was generated. The test report included the purpose, method, test results, chewiness value, and conclusions of the test. The quality inspection module is equipped with a foreign object detection device, which includes a metal detector, an X-ray detector, and an optical sensor to detect whether there are foreign objects in the candy. The sensitivity and threshold of the foreign object detection device are set to ensure that tiny foreign objects are detected and to avoid false alarms. A visual inspection system is used to check the integrity and defects of candy packaging, extracting its characteristics and setting packaging inspection standards to ensure compliance with product quality and safety requirements. An inkjet printer is used to mark substandard candies, printing labels on their surfaces. A real-time alarm program is implemented; once a foreign object or packaging defect is detected, the system immediately issues an alarm, emitting an audible alarm and flashing warning lights. Detailed information for each alarm is recorded, and production information, inspection results, and marking information for each candy are stored in an Oracle database. A traceability system is designed, allowing operators to trace the production history, inspection results, and subsequent processing of a candy by inputting its production batch number or other information.

2. The food processing control system based on big data according to claim 1, characterized in that: The data acquisition module uses various sensors to measure various data in the candy processing environment and on the production line. The data includes ambient temperature, ambient humidity, pressure of packaging equipment, liquid flow rate, gas flow rate, production line transport speed, candy size and weight, sounds related to the production process, liquid level, optical parameters, packaging parameters, and timestamps of the production process. The acquired data is then cleaned and calibrated, including removing outliers, filling in missing data, and smoothing the data.

3. The food processing control system based on big data according to claim 1, characterized in that: The data storage and processing module stores the real-time data transmitted from the data acquisition module in an Oracle database, then exports the data from the Oracle database to the Hadoop Distributed File System, uses the Hadoop model to design and execute data processing tasks; for historical data, it performs data mining tasks to identify potential problems or trends in the production process. For real-time data, perform real-time analysis to monitor the current production status; the processed data is stored back into the Hadoop cluster, and visualization tools and report generation tools are used to create visualization charts and reports based on the processed data.

4. The food processing control system based on big data according to claim 1, characterized in that: The prediction and optimization module uses the SVM algorithm for quality control and anomaly detection, obtaining a set of production parameters X and corresponding candy quality labels Y. In the candy quality labels, the category of passing quality is 1, and the category of failing quality is -1. The linear SVM classifier model is defined as follows: ; Where f(X) is the output of the SVM model, f(X)>0 indicates that the quality is acceptable, f(X)<0 indicates that the quality is unacceptable, and f(X)=0 indicates that it needs to be tested again; w is the weight vector of the SVM model, which contains weights related to the production parameter X; b is the bias term of the SVM model, which is the intercept of the decision boundary; n represents the total number of samples, and i represents the index of the sample. The optimization objective of SVM is to maximize the margin while satisfying the following constraints: 。 5. A food processing control system based on big data according to claim 1, characterized in that: In the prediction and optimization module, a trained SVM model is used to predict real-time data, and the output of the SVM model is analyzed to detect anomalies. If an anomaly is detected or the quality is lower than expected, a corresponding alarm mechanism is triggered, and the characteristics of the anomaly are recorded. Then, based on the prediction results of the SVM model and the anomaly detection information, a corresponding production parameter adjustment strategy is generated to adjust the production parameters to improve candy quality. The generated adjustment strategy is applied to the actual production environment to dynamically adjust the relevant production parameters. After adjusting the production parameters, the data changes during the production process are monitored in real time, and a feedback mechanism is used to check whether the expected effect has been achieved, so as to further optimize the adjustment of production parameters. Based on feedback from actual operation, the SVM model in the prediction and optimization module is iteratively optimized. The model parameters are adjusted according to the new data feedback to improve the accuracy of prediction and the effectiveness of production parameter adjustment.

6. A food processing control system based on big data according to claim 1, characterized in that: In the automated control module, the PID controller outputs the following formula: ; Where u(t) is the output of the PID controller; P is the proportional coefficient; I is the integral time; D is the derivative time; e(t) is the system error, defined as the difference between the expected value and the actual value; t represents time. In the automation control module, parameters P, I, and D are automatically initialized according to the specific generation process and equipment performance; based on real-time data, the actual error e(t) and its integral are... ,differential The signal is passed to the PID controller to calculate the corresponding control signal u(t); The control signal u(t) will be sent to the actuator or control device to adjust the parameters or operations in the production process; the parameters are consistent with the data collected in the data acquisition module.

7. A food processing control system based on big data according to claim 1, characterized in that: The quality inspection module uses a camera and sensors to capture images of the candy's appearance and preprocesses the images, including noise reduction, contrast enhancement, grayscale conversion, edge enhancement, image smoothing, and binarization. Next, image processing techniques are used to extract the candy's appearance features. Color space conversion is used to convert the image to RGB format. Histogram statistics are used to extract the candy's color information for detecting candies of different colors or abnormal colors. Edge detection and morphological operations are used to extract the candy's contour. A shape descriptor, including perimeter, area, and ellipticity, is calculated based on the contour to distinguish candies of different shapes and detect abnormal shapes. A texture analysis method, gray-level co-occurrence matrix, is used to extract the candy's surface texture information, detecting changes in surface texture or texture anomalies that may be caused by foreign objects. By measuring the candy's dimensions, including length, width, and height, relevant proportional information is calculated to identify candies of different sizes or proportions. Finally, image segmentation techniques are used to divide the candy image into different regions, and shape, color, or texture analysis is used to detect possible cracks or defects, locating the cracks.

8. A food processing control method based on big data, applied to a food processing control system based on big data as described in any one of claims 1-7, characterized in that, Includes the following steps: S100: Real-time acquisition of data on various parameters and indicators in the candy processing environment and production line, and cleaning and preprocessing of the data; S200: The cleaned and pre-processed data is transferred to the data storage and processing module, and the data is stored using an Oracle database. S300 uses the Hadoop big data processing engine to process data and generates visual charts using real-time and historical data. S400: Use the SVM algorithm for quality control tasks and anomaly detection, establish a relationship model between production parameters and candy quality, and dynamically adjust production parameters based on real-time data; The S500 uses a PID control algorithm to automatically initialize the parameters of the PID controller, calculate the control signal, and adjust the parameters or operations in the production process according to the specific production process and equipment performance. S600: Uses image processing technology to detect the appearance features of candies and identify whether there are appearance defects; detects the size and weight of candies, performs foreign object detection and packaging inspection, and marks unqualified products. S700: Conduct mechanical performance tests on the gummies to ensure that the chewiness meets the standards; S800. When substandard candies are found, they should be marked and an alarm should be triggered in a timely manner. S900 records the production history and quality inspection information of each batch of products, allowing operators to trace the quality of the candy.

Citation Information

Patent Citations

  • Candy quality detection method based on machine vision and feeding rejecting system

    CN114700273A

  • Intelligent factory production online monitoring and analysis system based on machine vision

    CN116841262A

  • Processing control method and system for marinated food and medium

    CN117008527A