Material batching gate system and opening degree control method and device thereof

By training and updating the relationship model between the material quantity and the gate opening, the problem of inaccurate batching in the traditional batching system is solved, and accurate material batching gate opening control is achieved to adapt to different materials and environmental changes.

CN118567235APending Publication Date: 2024-08-30FAMSUN CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410668697.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the traditional feed industry batching system, it is difficult to achieve fast and high-precision material batching gate opening control, resulting in inaccurate batching.

Method used

By obtaining the historical data of material unloading, we train the relationship model between the initial gate opening and the unloading amount, use the gradient descent method to optimize the model parameters, update the model to adapt to real-time data, and achieve accurate material batching gate opening control.

Benefits of technology

It achieves precise control of the opening of the material batching gate, improves batching accuracy and system stability, and adapts to different materials and environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567235A
    Figure CN118567235A
Patent Text Reader

Abstract

The invention relates to a material batching gate opening control method and device, computer equipment, a storage medium and a computer program product, and the method comprises the steps: obtaining material blanking historical data, training an original gate opening and blanking amount relation model according to the material blanking historical data, and obtaining a material blanking amount relation model; the mean square error of the predicted discharging amount and the actual discharging amount is minimized, and a relation model of the initial gate opening degree and the discharging amount is obtained; acquiring real-time material blanking data in the material batching process within a preset time; updating model parameters of the initial gate opening and blanking quantity relation model according to the real-time material blanking data to obtain a trained gate opening and blanking quantity relation model; and controlling the opening degree of the material batching gate based on the trained gate opening degree and blanking amount relation model. According to the whole scheme, the opening degree of the material batching gate can be accurately controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent technology, and in particular to a material batching gate system, and an opening control method, device, computer equipment, storage medium and computer program product thereof. Background Art

[0002] The material batching gate refers to the gate that controls the weight (flow) of the material batching. Taking feed batching as an example, the feed batching section is based on the production and processing formula, through reasonable conveying equipment, to transport the required raw materials to the mixer equipment faster and more accurately for mixing.

[0003] The traditional feed industry batching system generally adopts auger feeding, which first uses high-speed conveying to shorten the batching time, and then feeds at a low speed to ensure the batching accuracy. However, the contradiction between high speed and high precision has always existed, resulting in double auger or multiple auger feeding at the same time, which makes it impossible to achieve accurate material batching gate opening control.

[0004] Therefore, there is an urgent need for an accurate material gate opening control solution. Summary of the invention

[0005] Based on this, it is necessary to provide an accurate material batching gate system, and its opening control method, device, computer equipment, storage medium and computer program product to address the above technical problems.

[0006] In a first aspect, the present application provides a material batching gate opening control method. The method comprises:

[0007] Acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings;

[0008] The original gate opening and material discharge amount relationship model is trained according to the material discharge historical data to minimize the mean square error between the predicted material discharge amount and the actual material discharge amount, thereby obtaining the initial gate opening and material discharge amount relationship model;

[0009] Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0010] The model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model;

[0011] The material batching gate opening is controlled based on the trained gate opening and material discharge quantity relationship model.

[0012] In one embodiment, the training of the original gate opening and material discharge amount relationship model based on the material discharge history data to minimize the mean square error between the predicted discharge amount and the actual discharge amount, and obtaining the initial gate opening and discharge amount relationship model includes:

[0013] Randomly extract sample data from the material unloading history data, the sample data including the actual amount of sample historical material unloading and the corresponding sample historical gate opening;

[0014] Input the sample historical gate opening into the original gate opening and material discharge quantity relationship model to obtain the sample historical material discharge quantity prediction value;

[0015] Calculate the mean square error between the predicted value of the sample historical material unloading quantity and the actual unloading quantity of the sample historical material unloading;

[0016] Taking the minimization of the mean square error as the optimization goal, the model parameters of the original gate opening and material discharge amount relationship model are iteratively updated by using the gradient descent method;

[0017] When the preset iteration stop condition is reached, the relationship model between the initial gate opening and the material discharge amount is obtained.

[0018] In one embodiment, the update formula of the gradient descent method is:

[0019]

[0020] in, represents any updated model parameter, Characterize any model parameter, Represents the learning rate, The mean square error is The partial derivative of .

[0021] In one embodiment, the updating of the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data to obtain the trained gate opening and material discharge amount relationship model includes:

[0022] According to the real-time data of material unloading, taking the minimization of the mean square error as the optimization goal, the small batch gradient descent method is used to update the model parameters of the initial gate opening and unloading amount relationship model to obtain a trained gate opening and unloading amount relationship model.

[0023] In one embodiment, before the model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain the trained gate opening and material discharge amount relationship model, the method further includes:

[0024] Perform abnormal data detection on the real-time data of material unloading;

[0025] If there is abnormal data, the abnormal data in the real-time data of material unloading is eliminated.

[0026] In one embodiment, the original gate opening and material discharge amount relationship model includes a piecewise linear model, and the piecewise linear model represents the functional relationship between the gate opening and the material discharge amount.

[0027] In a second aspect, the present application also provides a material batching gate opening control device. The device comprises:

[0028] A historical data acquisition module is used to acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings;

[0029] An initial training module is used to train the original gate opening and material discharge amount relationship model according to the material discharge history data, so as to minimize the mean square error between the predicted discharge amount and the actual discharge amount, and obtain the initial gate opening and discharge amount relationship model;

[0030] A real-time data acquisition module, used to acquire the real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0031] A model updating module, used for updating the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data, so as to obtain a trained gate opening and material discharge amount relationship model;

[0032] The opening control module is used to control the material batching gate opening based on the trained gate opening and material discharge quantity relationship model.

[0033] In a third aspect, the present application also provides a material batching gate system, including a data acquisition component, a gate controller, and a material batching gate;

[0034] The data acquisition component collects the opening of the material batching gate and the corresponding actual material discharge weight data, and sends the collected data to the gate controller. The gate controller uses the above-mentioned method to control the opening of the material batching gate.

[0035] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0036] Acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings;

[0037] The original gate opening and material discharge amount relationship model is trained according to the material discharge historical data to minimize the mean square error between the predicted material discharge amount and the actual material discharge amount, thereby obtaining the initial gate opening and material discharge amount relationship model;

[0038] Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0039] The model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model;

[0040] The material batching gate opening is controlled based on the trained gate opening and material discharge quantity relationship model.

[0041] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0042] Acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings;

[0043] The original gate opening and material discharge amount relationship model is trained according to the material discharge historical data to minimize the mean square error between the predicted material discharge amount and the actual material discharge amount, thereby obtaining the initial gate opening and material discharge amount relationship model;

[0044] Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0045] The model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model;

[0046] The material batching gate opening is controlled based on the trained gate opening and material discharge quantity relationship model.

[0047] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0048] Acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings;

[0049] The original gate opening and material discharge amount relationship model is trained according to the material discharge historical data to minimize the mean square error between the predicted material discharge amount and the actual material discharge amount, thereby obtaining the initial gate opening and material discharge amount relationship model;

[0050] Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0051] The model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model;

[0052] The material batching gate opening is controlled based on the trained gate opening and material discharge quantity relationship model.

[0053] The above-mentioned material batching gate opening control method, device, computer equipment, storage medium and computer program product obtain material unloading historical data, train the original gate opening and unloading amount relationship model according to the material unloading historical data, so as to minimize the mean square error between the predicted unloading amount and the actual unloading amount, and obtain the initial gate opening and unloading amount relationship model; obtain the real-time data of material unloading in the material batching process within a preset time; update the model parameters of the initial gate opening and unloading amount relationship model according to the real-time data of material unloading, and obtain the trained gate opening and unloading amount relationship model; control the material batching gate opening based on the trained gate opening and unloading amount relationship model. In the whole process, the gate opening and unloading amount relationship are trained and updated using historical data and real-time data respectively, and the trained gate opening and unloading amount relationship model that can accurately characterize the corresponding relationship between the gate opening and the unloading amount is finally obtained. The accurate model can finally realize accurate material batching gate opening control. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is an application environment diagram of a material batching gate opening control method in one embodiment;

[0055] Figure 2 A schematic diagram of a flow chart of a material batching gate opening control method in one embodiment;

[0056] Figure 3 is a schematic diagram of a sub-process of S200 in another embodiment;

[0057] Figure 4 It is a flow chart of a material batching gate opening control method in an application example;

[0058] Figure 5 It is a structural block diagram of a material batching gate opening control device in one embodiment;

[0059] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] The material batching gate opening control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 The entire material batching gate system shown includes a data acquisition module 102, a gate control terminal 104 and a material batching gate 106. The data acquisition module 102 continuously collects the opening of the material batching gate 106 and the corresponding actual unloading weight data, and sends the collected data to the gate control terminal 104. The gate control terminal 104 obtains the material unloading history data from the received data, and trains the original gate opening and unloading amount relationship model according to the material unloading history data to minimize the mean square error between the predicted unloading amount and the actual unloading amount, and obtains the initial gate opening and unloading amount relationship model; obtains the real-time material unloading data during the material batching process within a preset time; updates the model parameters of the initial gate opening and unloading amount relationship model according to the real-time material unloading data, and obtains the trained gate opening and unloading amount relationship model; and controls the opening of the material batching gate 106 based on the trained gate opening and unloading amount relationship model.

[0062] In one embodiment, Figure 2 As shown, a material batching gate opening control method is provided, and the method is applied to Figure 1 Taking the gate controller 102 in the example as an example, the following steps are included:

[0063] S100: Acquire historical material unloading data, where the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings.

[0064] The material unloading history data refers to the material unloading amount and the corresponding historical gate opening data in the historical records. In practical applications, if there are multiple materials, the historical material unloading amount and the corresponding historical gate opening can be stored separately for different types of materials. Furthermore, these historical data can be collected by sensors, and then the material unloading amount and the corresponding gate opening are stored in chronological order.

[0065] S200: training the original gate opening and material discharge quantity relationship model according to the material discharge history data to minimize the mean square error between the predicted material discharge quantity and the actual material discharge quantity, and obtaining the initial gate opening and material discharge quantity relationship model.

[0066] The historical material unloading data carries the historical material unloading amount and the corresponding historical gate opening, that is, it can characterize the corresponding relationship between the material unloading amount and the gate opening. Here, the original gate opening and unloading amount relationship model is trained according to the historical material unloading data to preliminarily determine the relationship between the gate opening and the unloading amount. In the specific training process, a set of historical material unloading data is used as the data for an iterative training, and the mean square error between the corresponding predicted unloading amount and the actual unloading amount is calculated during each iterative training process; the model parameters are adjusted and a new set of material unloading road test data is reselected as the training data, and a new round of iterative training is started until the model parameters corresponding to the minimum mean square error between the predicted unloading amount and the actual unloading amount are obtained, and the initial gate opening and unloading amount relationship model is obtained.

[0067] S300: Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes real-time material unloading amount and corresponding real-time gate opening.

[0068] The preset time refers to a pre-set period of time, which can be set according to actual needs. For example, the real-time data of material unloading in the material batching process is obtained every 5 minutes. The real-time data of material unloading here also includes the real-time material unloading amount and the corresponding real-time gate opening. Specifically, the real-time data of material unloading in the material batching process within the preset time can be collected by devices such as gate sensors and data collectors (such as weight sensors).

[0069] S400: updating the model parameters of the initial gate opening and material discharge quantity relationship model according to the real-time material discharge data to obtain a trained gate opening and material discharge quantity relationship model.

[0070] After the initial gate opening and material discharge quantity relationship model is obtained in S200, the model parameters of the initial gate opening and material discharge quantity relationship model are updated using the real-time material discharge data to make the updated model more consistent with the actual situation, so as to improve the accuracy of the model and obtain the trained gate opening and material discharge quantity relationship model.

[0071] S500: Controlling the material batching gate opening based on the trained gate opening and material discharge quantity relationship model.

[0072] After obtaining the trained gate opening and material discharge quantity relationship model, the model can be used to control the material batching gate opening.

[0073] The above-mentioned material batching gate opening control method obtains the historical data of material unloading, trains the original gate opening and unloading amount relationship model according to the historical data of material unloading, so as to minimize the mean square error between the predicted unloading amount and the actual unloading amount, and obtains the initial gate opening and unloading amount relationship model; obtains the real-time data of material unloading in the material batching process within a preset time; updates the model parameters of the initial gate opening and unloading amount relationship model according to the real-time data of material unloading, and obtains the trained gate opening and unloading amount relationship model; controls the material batching gate opening based on the trained gate opening and unloading amount relationship model. In the whole process, the gate opening and unloading amount relationship are trained and updated using the historical data and real-time data respectively, and the trained gate opening and unloading amount relationship model that can accurately characterize the corresponding relationship between the gate opening and the unloading amount is finally obtained. The accurate model can finally realize accurate material batching gate opening control.

[0074] like Figure 3 As shown, in one embodiment, S200 includes:

[0075] S210: randomly extracting sample data from the material unloading history data, the sample data including the actual amount of sample historical material unloading and the corresponding sample historical gate opening;

[0076] S220: Inputting the sample historical gate opening into the original gate opening and material discharge quantity relationship model to obtain the sample historical material discharge quantity prediction value;

[0077] S230: Calculate the mean square error between the predicted value of the sample historical material unloading quantity and the actual unloading quantity of the sample historical material;

[0078] S240: Taking the minimization of mean square error as the optimization goal, the model parameters of the original gate opening and material discharge amount relationship model are iteratively updated using the gradient descent method;

[0079] S250: When the preset iteration stop condition is reached, a relationship model between the initial gate opening and the material discharge amount is obtained.

[0080] Randomly extract sample data from the material unloading history data to iteratively optimize the original gate opening and unloading quantity relationship model. Specifically, first randomly extract a set of sample data, input the sample history gate opening in the sample data into the original gate opening and unloading quantity relationship model, obtain the sample history material unloading quantity prediction value, and then calculate the mean square error between the sample history material unloading quantity prediction value and the sample history material unloading actual quantity; with the minimization of the mean square error as the optimization goal, the gradient descent method is used to update the model parameters of the original gate opening and unloading quantity relationship model, and then randomly select sample data again to start a new round of iterative update until the preset iteration stop condition is reached, such as the iteration result has converged or the maximum number of iterations has been reached, etc., at this time, the optimal model parameters are obtained, that is, the initial gate opening and unloading quantity relationship model is obtained.

[0081] In real-time applications, the relationship between gate opening and material discharge can be a piecewise linear relationship. The above-mentioned process of iteratively updating model parameters is to iteratively update the model parameters in the piecewise linear relationship function. Specifically, the goal of iterative updating is to find a set of optimal model parameters based on historical data so that the model can predict the material discharge as accurately as possible, that is, minimize the prediction error. The prediction error can be expressed as the mean square error ( ) to measure, that is

[0082]

[0083] in, Indicates the amount of historical data, Indicates The actual feed quantity of each data, Indicates The predicted material quantity of each data is given by the model, that is,

[0084]

[0085] in, The material type code for the current unloading; is the gate opening; The material type code is The material is at the gate opening The model predicts the material feeding amount when are the piecewise linear model parameters; Is a positive integer, representing the minimum gate opening value; for A positive integer of ; is a natural number, representing the segmentation interval of the linear model. In order to find the optimal model parameters, the gradient descent method can be used for iterative optimization, that is, the model parameters are updated each time in the opposite direction of the gradient until convergence or the maximum number of iterations is reached.

[0086] In one embodiment, the update formula of the gradient descent method is:

[0087]

[0088] in, represents any updated model parameter, Characterize any model parameter, Represents the learning rate, The mean square error is The partial derivative of .

[0089] In one embodiment, the model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data, and the trained gate opening and material discharge amount relationship model is obtained, including:

[0090] According to the real-time data of material unloading, taking the minimization of mean square error as the optimization goal, the small batch gradient descent method is used to update the model parameters of the initial gate opening and material unloading amount relationship model to obtain the trained gate opening and material unloading amount relationship model.

[0091] When the model parameters are updated online based on the real-time data of material unloading, the minimization of the mean square error is also used as the optimization goal. Similarly, the gradient descent method is used here to fine-tune the model parameters so that the model can adapt to the latest data distribution. The advantage of online training is that it can reflect data changes in a timely manner and improve the accuracy and stability of the model. The disadvantage is that the previous data may be forgotten, resulting in overfitting or underfitting of the model. In order to solve this problem, the mini-batch gradient descent method (Mini-batch GD) is used in this embodiment, that is, a small part of the data is used to update the parameters each time instead of a single data.

[0092] In one embodiment, before updating the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data to obtain the trained gate opening and material discharge amount relationship model, the method further includes:

[0093] Perform abnormal data detection on the real-time data of material unloading; if abnormal data exists, remove the abnormal data in the real-time data of material unloading.

[0094] During the online update of model parameters, abnormal data detection is performed on the real-time data of material unloading. If abnormal data exists, it is necessary to remove the abnormal data. Specifically, the abnormal data may include data that obviously deviates from the normal range. There are many methods for abnormal detection, such as K-means method, statistical method, clustering method, isolation forest method, etc. Preferably, the K-means method can be selected here to detect abnormal data that obviously deviates from the normal range.

[0095] In one application example, the material batching gate opening control method can be applied to the entire material batching system, which includes system servers, gate controllers, central servers, weighing devices, gates and other components. Figure 4 As shown, the entire material batching gate opening control includes the following steps:

[0096] 1. The system server obtains the demand quantity and formula information of multiple target products corresponding to the order;

[0097] 2. The system server calculates the optimal gate opening according to the target corresponding model information and the recipe information;

[0098] 3. The gate controller executes the control instructions from the central server, and the weighing device converts the sensor data into digital signals and sends them to the system server through wireless or wired networks;

[0099] 4. The system server receives and processes real-time data from each gate, trains and optimizes the model, and controls the gate opening based on the optimized model;

[0100] 5. The system server stores and manages all material information, historical data, model parameters, etc.

[0101] Specifically, in the above application examples, the material batching gate opening control method of the present application has at least the following significant technical advances:

[0102] 1. Automatic training of gate control model: The system can automatically train a model based on material information, the historical material discharge volume and the corresponding gate opening data. The model can calculate the optimal gate opening according to the set ingredient weight without manual intervention.

[0103] 2. Real-time data collection and storage: The system can collect the real-time feeding amount of different raw materials with different openings through sensors and data collectors, and store the data locally or in the cloud. The system can provide a rich data source and provide a basis for model training and optimization.

[0104] 3. Real-time model training / dynamic error correction: The system can continuously train and learn the model based on the real-time collected data, and automatically avoid abnormal data. The system can adapt the model to different materials and environments, improve the accuracy and stability of the model. When the environmental factors change significantly, the system can automatically adjust the model and output control opening, so that the gate-type batching system maintains the consistency of the discharge amount and avoids batching errors.

[0105] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiment of the present application also provides a material batching gate opening control device for implementing the material batching gate opening control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more material batching gate opening control device embodiments provided below can refer to the limitations of the material batching gate opening control method above, and will not be repeated here.

[0107] like Figure 5 As shown, the present application also provides a material batching gate opening control device. The device includes:

[0108] The historical data acquisition module 100 is used to acquire the historical data of material unloading, and the historical data of material unloading includes the historical material unloading amount and the corresponding historical gate opening;

[0109] The initial training module 200 is used to train the original gate opening and material discharge amount relationship model according to the material discharge history data, so as to minimize the mean square error between the predicted discharge amount and the actual discharge amount, and obtain the initial gate opening and discharge amount relationship model;

[0110] The real-time data acquisition module 300 is used to acquire the real-time data of material unloading during the material batching process within a preset time, and the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening;

[0111] The model updating module 400 is used to update the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model;

[0112] The opening control module 500 is used to control the opening of the material batching gate based on the trained gate opening and material discharge quantity relationship model.

[0113] In one embodiment, the initial training module 200 is also used to randomly extract sample data from the historical material unloading data, and the sample data includes the actual amount of sample historical material unloading and the corresponding sample historical gate opening; the sample historical gate opening is input into the original gate opening and unloading amount relationship model to obtain the sample historical material unloading amount prediction value; the mean square error between the sample historical material unloading amount prediction value and the sample historical material unloading actual amount is calculated; with minimizing the mean square error as the optimization goal, the gradient descent method is used to iteratively update the model parameters of the original gate opening and unloading amount relationship model; when the preset iteration stop condition is reached, the initial gate opening and unloading amount relationship model is obtained.

[0114] In one embodiment, the model updating module 400 updates the model parameters of the initial gate opening and material discharge quantity relationship model based on the real-time material discharge data and takes minimization of the mean square error as the optimization goal, and adopts the small batch gradient descent method to obtain a trained gate opening and material discharge quantity relationship model.

[0115] In one embodiment, the update formula of the gradient descent method is:

[0116]

[0117] in, represents any updated model parameter, Characterize any model parameter, Represents the learning rate, The mean square error is The partial derivative of .

[0118] In one embodiment, the model updating module 400 is also used to perform abnormal data detection on the real-time data of material unloading; if abnormal data exists, the abnormal data in the real-time data of material unloading is eliminated.

[0119] In one embodiment, the original gate opening and material discharge amount relationship model includes a piecewise linear model, and the piecewise linear model represents the functional relationship between the gate opening and the material discharge amount.

[0120] Each module in the material batching gate opening control device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0121] In addition, the present application also provides a material batching gate system, including a data acquisition component, a gate controller and a material batching gate;

[0122] The data acquisition component collects the opening of the material batching gate and the corresponding actual material discharge weight data, and sends the collected data to the gate controller. The gate controller adopts the above-mentioned material batching gate opening control method to control the material batching gate opening.

[0123] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a material batching gate opening control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0124] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0125] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned material batching gate opening control method when executing the computer program.

[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned material batching gate opening control method is implemented.

[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned material batching gate opening control method when executed by a processor.

[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A material batching gate opening control method, It is characterized in that The method comprises: Acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings; The original gate opening and material discharge amount relationship model is trained according to the material discharge history data to minimize the mean square error between the predicted material discharge amount and the actual material discharge amount, thereby obtaining the initial gate opening and material discharge amount relationship model; Acquire real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening; The model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain a trained gate opening and material discharge amount relationship model; The material batching gate opening is controlled based on the trained gate opening and material discharge quantity relationship model.

2. The method according to claim 1, It is characterized in that The training of the original gate opening and material discharge amount relationship model according to the material discharge history data to minimize the mean square error between the predicted discharge amount and the actual discharge amount, and obtaining the initial gate opening and material discharge amount relationship model includes: Randomly extract sample data from the material unloading history data, the sample data including the actual amount of sample historical material unloading and the corresponding sample historical gate opening; Input the sample historical gate opening into the original gate opening and material discharge quantity relationship model to obtain the sample historical material discharge quantity prediction value; Calculate the mean square error between the predicted value of the sample historical material unloading quantity and the actual unloading quantity of the sample historical material unloading; Taking the minimization of the mean square error as the optimization goal, the model parameters of the original gate opening and material discharge amount relationship model are iteratively updated by using the gradient descent method; When the preset iteration stop condition is reached, the relationship model between the initial gate opening and the material discharge amount is obtained.

3. The method according to claim 2, It is characterized in that The update formula of the gradient descent method is: in, represents any updated model parameter, Characterize any model parameter, Represents the learning rate, represents the mean square error The partial derivative of .

4. The method according to claim 1, It is characterized in that The updating of the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data to obtain the trained gate opening and material discharge amount relationship model includes: According to the real-time data of material unloading, taking the minimization of the mean square error as the optimization goal, the small batch gradient descent method is used to update the model parameters of the initial gate opening and unloading amount relationship model to obtain a trained gate opening and unloading amount relationship model.

5. The method according to claim 1, It is characterized in that Before the model parameters of the initial gate opening and material discharge amount relationship model are updated according to the real-time material discharge data to obtain the trained gate opening and material discharge amount relationship model, the method further includes: Perform abnormal data detection on the real-time data of material unloading; If there is abnormal data, the abnormal data in the real-time data of material unloading is eliminated.

6. The method according to claim 1, It is characterized in that The original gate opening and material discharge amount relationship model includes a piecewise linear model, and the piecewise linear model represents the functional relationship between the gate opening and the material discharge amount.

7. A material batching gate opening control device, It is characterized in that The device comprises: A historical data acquisition module is used to acquire historical material unloading data, wherein the historical material unloading data includes historical material unloading amounts and corresponding historical gate openings; An initial training module is used to train the original gate opening and material discharge amount relationship model according to the material discharge history data, so as to minimize the mean square error between the predicted discharge amount and the actual discharge amount, and obtain the initial gate opening and discharge amount relationship model; A real-time data acquisition module, used to acquire the real-time data of material unloading during the material batching process within a preset time, wherein the real-time data of material unloading includes the real-time material unloading amount and the corresponding real-time gate opening; A model updating module, used for updating the model parameters of the initial gate opening and material discharge amount relationship model according to the real-time material discharge data, so as to obtain a trained gate opening and material discharge amount relationship model; The opening control module is used to control the material batching gate opening based on the trained gate opening and material discharge quantity relationship model.

8. A material batching gate system, It is characterized in that Including data acquisition components, gate controllers and material batching gates; The data acquisition component collects the opening of the material batching gate and the corresponding actual material discharge weight data, and sends the collected data to the gate controller. The gate controller uses the method described in any one of claims 1-6 to control the opening of the material batching gate.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Parameter-adaptive material batching system and method and terminal equipment

    CN120540246A

  • Intelligent aquatic product feeding device and system and use method of intelligent aquatic product feeding device and system

    CN121040420A