A method and system for intelligent supervision and management of the entire coating production process
By adjusting the prediction data selection amount of historical data points in the dynamic moving average algorithm and combining the characteristics and differences of consumption rate changes, the problem of inaccurate prediction of the consumption rate of paint raw materials is solved and the reliability of paint production management is improved.
Patent Information
- Application Number
- CN202410749611.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-12
AI Technical Summary
In the existing technology, when the dynamic moving average algorithm predicts the consumption rate of paint raw materials, the selection of the number of historical data is difficult to adapt to changes in the consumption rate, resulting in inaccurate predictions and affecting the management of the entire paint production process.
By obtaining paint consumption monitoring time series data, adjust the prediction data selection amount according to the number of data points and the consumption rate change trend in the neighborhood range of historical data points, and adjust the deviation degree value based on the difference between the actual and predicted consumption rate values to better Accurately predict consumption rates.
It improves the accuracy of forecasting consumption rates, ensures the reliability of paint raw material procurement plans, and optimizes the management of the entire paint production process.
Smart Images

Figure CN118332475B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coating monitoring and prediction, and in particular to a method and system for intelligent supervision and management of the entire coating production process. Background Art
[0002] Paint is a material that is applied to the surface of an object to protect, beautify or change its surface properties. Paint is composed of a variety of raw materials, including resins, solvents, pigments, fillers and additives. Intelligent supervision and management of the entire paint production process plays an important role in paint manufacturing. Through real-time monitoring of the entire production process, production efficiency can be improved and production costs can be reduced. Among them, monitoring the use of paint raw materials and predicting the consumption of raw materials can help factories formulate procurement plans more accurately, avoid excess or shortage of raw materials, thereby reducing inventory costs and procurement costs, and ensuring the production efficiency of paint.
[0003] Predicting the future consumption rate of paint raw materials will help factories make purchase plans for paint raw materials. The existing dynamic moving average algorithm (DMA) is an effective method for predicting the consumption rate of raw materials. The dynamic moving average algorithm can calculate the average value of raw material consumption over a period of time and predict the future consumption rate based on this average value. In the process of prediction by the dynamic moving average algorithm, the selection of the number of historical data is often fixed. Since the change range of the raw material consumption rate may be different in different time periods, the selection of the number of historical data is difficult to adapt to the change of the consumption rate, making the predicted consumption rate inaccurate, which will affect the rationality of the purchase plan of paint raw materials and lead to unreasonable management of the entire paint production process. Summary of the invention
[0004] In order to solve the technical problem that the selection of the number of historical data is difficult to adapt to the change of consumption rate, which makes the predicted consumption rate inaccurate, affects the rationality of the purchase plan of coating raw materials, and leads to unreasonable management of the whole process of coating production, the purpose of the present invention is to provide a method and system for intelligent supervision and management of the whole process of coating production. The technical scheme adopted is as follows:
[0005] A method for intelligent supervision and management of the entire coating production process, the method comprising:
[0006] Obtaining paint consumption monitoring time series data of paint raw materials; the paint consumption monitoring time series data includes various historical data points; the historical data points correspond to actual consumption rate values at historical moments;
[0007] In the paint consumption monitoring time series data, obtain the neighborhood data points of the historical data points in a preset neighborhood range; in the preset neighborhood range of the historical data points, obtain the predicted data selection amount of the historical data points according to the number of the neighborhood data points and the change trend of the corresponding actual consumption rate value; according to the predicted data selection amount of the historical data points, obtain the predicted consumption rate value corresponding to the historical data points; according to the prominence of the historical data points and the degree of difference between the actual consumption rate value and the predicted consumption rate value of the historical data points, obtain the deviation degree value of the historical data points; according to the difference between the actual consumption rate value and the predicted consumption rate value of the historical data points and the deviation degree value of the historical data points, adjust the predicted data selection amount of the historical data points to obtain the adjusted predicted data selection amount of the historical data points;
[0008] According to the adjusted predicted data selection amount of the historical data point, the predicted consumption rate value at the predicted moment is obtained.
[0009] Furthermore, the method for obtaining the selected amount of prediction data includes:
[0010] Obtaining a local slope value of the neighborhood data point according to a difference between the actual consumption rate values corresponding to each of the neighborhood data points and the neighborhood data points adjacent thereto;
[0011] According to the change trend of the corresponding actual consumption rate values of all neighborhood data points of the historical data point, the overall slope value of the preset neighborhood range of the historical data point is obtained;
[0012] Obtaining an overall slope instability value of the preset neighborhood range of the historical data point according to a difference between the local slope value of each neighborhood data point and the overall slope value;
[0013] According to the overall slope value, the overall slope instability value and the number of all neighborhood data points of the historical data point, the predicted data selection amount of the historical data point is obtained; the number of all neighborhood data points of the historical data point and the predicted data selection amount are positively correlated; the overall slope value, the overall slope instability value and the predicted data selection amount are negatively correlated.
[0014] Furthermore, the method for obtaining the predicted consumption rate value corresponding to the historical data point includes:
[0015] Obtaining a prediction reference data point for the historical data point according to the prediction data selection amount for the historical data point;
[0016] Based on all the predicted reference data points of the historical data points, a prediction is made to obtain the predicted consumption rate value corresponding to the historical data points.
[0017] Furthermore, the method for obtaining the deviation degree value includes:
[0018] According to the prominence of the historical data point in the paint consumption monitoring time series data, obtaining the prominence degree value of the historical data point;
[0019] According to the difference between the actual consumption rate value of the historical data point and the predicted consumption rate value of the historical data point, the predicted difference value of the historical data point is obtained;
[0020] According to the prominence value of the historical data point and the predicted difference value, the deviation value of the historical data point is obtained; the predicted difference value and the deviation value are positively correlated; the prominence value and the deviation value are negatively correlated.
[0021] Furthermore, the method for obtaining the protrusion degree value includes:
[0022] According to the actual consumption rate value corresponding to each historical data point in the coating consumption monitoring time series data, obtaining the actual overall consumption value corresponding to the historical data point;
[0023] According to the difference between the actual consumption rate value of the historical data point and the actual overall consumption value, the prominence value of the historical data point is obtained.
[0024] Furthermore, the method for obtaining the adjusted prediction data selection amount includes:
[0025] When the predicted consumption rate value of the historical data point is greater than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the deviation degree value and the predicted data selection amount are both positively correlated with the adjusted predicted data selection amount;
[0026] When the predicted consumption rate value of the historical data point is equal to the actual consumption rate value, the predicted data selection amount is used as the adjusted predicted data selection amount of the historical data point;
[0027] When the predicted consumption rate value of a historical data point is less than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the predicted data selection amount and the adjusted predicted data selection amount are positively correlated; the deviation degree value and the adjusted predicted data selection amount are negatively correlated.
[0028] Furthermore, the method for obtaining the predicted consumption rate value at the predicted moment includes:
[0029] According to the adjusted prediction data selection amount of the preset number before the prediction moment, the adjusted prediction data selection amount at the prediction moment is obtained; according to the adjusted prediction data selection amount at the prediction moment, prediction is performed to obtain the predicted consumption rate value at the prediction moment.
[0030] Furthermore, the method for obtaining the adjusted prediction data selection amount at the prediction moment includes:
[0031] Obtain the data trend change at the prediction moment according to the adjusted prediction data selection amount at a preset number of moments before the prediction moment;
[0032] The adjusted forecast data selection quantity before the forecast time is used as the reference forecast selection quantity at the forecast time;
[0033] According to the data trend change amount and the reference prediction selection amount, the adjusted prediction data selection amount at the prediction moment is obtained; the data trend change amount and the reference prediction selection amount are both positively correlated with the adjusted prediction data selection amount.
[0034] Furthermore, the method further comprises:
[0035] According to the predicted consumption rate value at the predicted time, obtain the predicted duration value of raw material consumption.
[0036] The present invention proposes an intelligent supervision management system for the entire process of paint production, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any one of the steps of the method for intelligent supervision management of the entire process of paint production.
[0037] The present invention has the following beneficial effects:
[0038] In order to more accurately predict the future raw material consumption rate, the dynamic moving average algorithm is considered to predict the future consumption rate by calculating the average value of the actual consumption rate corresponding to a certain number of historical data points before the prediction time. When predicting historical data points, it is necessary to select an appropriate amount of historical data points to determine the degree of dependence of the prediction model on historical data in different situations. Taking into account the fluctuations in market demand, the consumption rate of the same coating raw material will have different changing characteristics in different periods. In order to more accurately predict the consumption of raw materials, it is necessary to combine the changing characteristics of the consumption rate of the coating raw materials corresponding to a certain number of historical data points before the prediction time, and obtain the predicted data selection amount of historical data points; the predicted data selection amount preliminarily reflects the number of historical data points selected for more accurate prediction in combination with the changing characteristics of the consumption rate of the coating raw materials.
[0039] In order to more accurately analyze the amount of historical data points that need to be selected when predicting historical data points, it is necessary to correct the amount of predicted data selection so that the prediction results corresponding to the prediction are more accurate. In order to analyze the accuracy of the prediction results corresponding to the predicted data selection amount, the predicted consumption rate value corresponding to the historical data point is obtained; the predicted consumption rate value reflects the corresponding prediction value of the historical data point predicted according to the predicted data selection amount. Considering that the greater the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point, the greater the prediction deviation; considering that during the production of paint raw materials, there may be machine maintenance, rush work, etc., resulting in a large difference between the actual paint consumption rate corresponding to a certain historical data point and the overall consumption rate, when the prediction model is used to predict the historical data point, the prediction result may not be accurate enough, but for the paint consumption prediction, the accuracy evaluation of the model is relative to the whole. The smaller the difference between the actual paint consumption rate corresponding to the historical data point and the overall consumption rate, the more consistent with the normal consumption of the paint, and the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point is more reference, and the deviation degree value of the historical data point is obtained; the deviation degree value reflects the deviation degree of the prediction result corresponding to the predicted data selection amount. If the predicted value is too large or too small, it is necessary to adjust the prediction data selection amount to obtain the adjusted prediction data selection amount of the historical data point; the adjusted prediction data selection amount not only combines the changing characteristics of the raw material consumption rate, but also ensures the accuracy of the prediction results, improves the reliability of the predicted consumption rate value at the prediction time, and ensures the reliability of the paint raw material procurement plan, so as to better manage the entire paint production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A flow chart of a method for intelligent supervision and management of the entire coating production process provided by an embodiment of the present invention.
[0042] Figure 2 A schematic diagram of a computer device for intelligent supervision and management of the entire coating production process provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the method and system for intelligent supervision and management of the entire process of coating production proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0044] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0045] The specific scheme of the intelligent supervision and management method and system for the entire coating production process provided by the present invention is described in detail below in conjunction with the accompanying drawings.
[0046] See also Figure 1 , which shows a flow chart of a method for intelligent supervision and management of the entire coating production process provided by an embodiment of the present invention, the method comprising the following steps:
[0047] Step S1: Obtaining the paint consumption monitoring time series data of the paint raw materials; the paint consumption monitoring time series data includes various historical data points; the historical data points correspond to the actual consumption rate values at the historical moments.
[0048] In order to predict the consumption of paint raw materials, it is necessary to conduct an in-depth analysis of the consumption of paint raw materials. First, the paint consumption monitoring time series data of the paint raw materials is obtained; the paint consumption monitoring time series data contains various historical data points; the historical data points correspond to the actual consumption rate values at the historical moments.
[0049] Specifically, considering that the coating is composed of a variety of coating raw materials, including resins, solvents, pigments, fillers, additives and other coating raw materials. Using the warehouse management system of coating raw materials, the consumption, consumption time and inventory of each coating raw material are obtained, and the acquired data is transmitted to the monitoring and analysis system. In order to separately study the data of each coating raw material, for any coating raw material, the cumulative value of the consumption of the coating raw material in the preset time interval is used as the consumption value of the coating raw material in the preset time interval, and the ratio of the consumption value to the preset time interval is calculated as the actual consumption rate value of the preset time interval; the preset time interval is taken as a historical moment, and the actual consumption rate values of all historical moments of the historical reference interval are sequentially counted in the order of the historical moments as the coating consumption monitoring time series data of the coating raw material. The inventory of the coating raw material at the last second of the preset time interval is taken as the coating inventory of the preset time interval; the preset time interval is taken as a historical moment, and the coating inventory of all historical moments of the historical reference interval is counted. In one embodiment of the present invention, the preset time interval is from the beginning to the end of a day, the historical reference interval is 200 days, and the last day of the historical reference interval is the day before the current moment. The implementer can set it according to the implementation scenario. It should be noted that the present invention analyzes the paint consumption monitoring time series data of any paint raw material to obtain the raw material consumption prediction duration value corresponding to the paint raw material.
[0050] It should be noted that, in order to facilitate calculation, all indicator data involved in the calculation in the embodiment of the present invention are preprocessed to eliminate the dimension effect. The specific means of eliminating the dimension effect are technical means well known to those skilled in the art and are not limited here.
[0051] Step S2: In the paint consumption monitoring time series data, obtain the neighborhood data points of the historical data points in the preset neighborhood range; in the preset neighborhood range of the historical data points, obtain the predicted data selection quantity of the historical data points according to the number of neighborhood data points and the changing trend of the corresponding actual consumption rate value; according to the predicted data selection quantity of the historical data points, obtain the predicted consumption rate value corresponding to the historical data points; according to the prominence of the historical data points and the degree of difference between the actual consumption rate value and the predicted consumption rate value of the historical data points, obtain the deviation degree value of the historical data points; according to the difference between the actual consumption rate value and the predicted consumption rate value of the historical data points and the deviation degree value of the historical data points, adjust the predicted data selection quantity of the historical data points to obtain the adjusted predicted data selection quantity of the historical data points.
[0052] In order to more accurately predict the future raw material consumption rate, the dynamic moving average algorithm is considered to predict the future consumption rate by calculating the average value of the actual consumption rate corresponding to a certain number of historical data points before the prediction time. When predicting historical data points, it is necessary to select an appropriate amount of historical data points to determine the degree of dependence of the prediction model on historical data in different situations. Taking into account the fluctuations in market demand, the consumption rate of the same coating raw material will have different changing characteristics in different periods. In order to more accurately predict the consumption of raw materials, it is necessary to combine the changing characteristics of the consumption rate of the coating raw materials corresponding to a certain number of historical data points before the prediction time, and obtain the predicted data selection amount of historical data points; the predicted data selection amount preliminarily reflects the number of historical data points selected for more accurate prediction in combination with the changing characteristics of the consumption rate of the coating raw materials.
[0053] In order to more accurately analyze the amount of historical data points that need to be selected when predicting historical data points, it is necessary to correct the amount of predicted data selection so that the prediction results corresponding to the prediction are more accurate. In order to analyze the accuracy of the prediction results corresponding to the predicted data selection amount, the predicted consumption rate value corresponding to the historical data point is obtained; the predicted consumption rate value reflects the corresponding prediction value of the historical data point predicted according to the predicted data selection amount. Considering that the greater the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point, the greater the prediction deviation; considering that during the production of paint raw materials, there may be machine maintenance, rush work, etc., resulting in a large difference between the actual paint consumption rate corresponding to a certain historical data point and the overall consumption rate, when the prediction model is used to predict the historical data point, the prediction result may not be accurate enough, but for the paint consumption prediction, the accuracy evaluation of the model is relative to the whole. The smaller the difference between the actual paint consumption rate corresponding to the historical data point and the overall consumption rate, the more consistent with the normal consumption of the paint, and the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point is more reference, and the deviation degree value of the historical data point is obtained; the deviation degree value reflects the deviation degree of the prediction result corresponding to the predicted data selection amount. If the predicted value is too large or too small, it is necessary to adjust the amount of predicted data selected to obtain the adjusted predicted data selected for the historical data point; the adjusted predicted data selected not only combines the changing characteristics of the raw material consumption rate, but also ensures the accuracy of the prediction results, and can more accurately reflect the amount of historical data points that need to be selected when predicting historical data points.
[0054] Preferably, in order to determine the range of the historical data point within a previous period of time, in one embodiment of the present invention, the method for obtaining the preset neighborhood range includes:
[0055] The historical data point is used as the historical data point to be analyzed. In the coating consumption monitoring time series data, the preset neighborhood range of the historical data point to be analyzed is a rectangular window constructed with the previous historical data point of the historical data point to be analyzed as the last historical data point of the rectangular window, and the preset size is the size of the rectangular window. In one embodiment of the present invention, the preset size is the minimum rectangular window that includes a preset number of historical data points before the historical data point to be analyzed. In one embodiment of the present invention, the preset number of data is 20, and the implementer can set it according to the implementation scenario. Each historical data point in the preset neighborhood range is used as each neighborhood data point. The preset neighborhood range reflects the range of the previous period of time of the historical data point, and the preset number of data reflects the size of the range. When predicting the historical data points, the number of historical data points in the preset neighborhood range is too small, and the long-term trend or cyclical changes in raw material consumption may not be captured, resulting in inaccurate prediction results. On the contrary, if there are too many historical data points in the preset neighborhood range, too much noise or irrelevant information may be introduced, which will also affect the accuracy of the prediction. The preset number of data is determined based on experience. When the prediction result is more accurate, a larger number of historical data points is selected in the preset neighborhood range for subsequent adjustment. It should be noted that in the paint consumption monitoring time series data, the first 20 historical data points cannot construct the preset neighborhood range. Since the adjusted prediction data selection amount of the first two moments of the prediction moment is used as a reference when predicting the future, the first 20 historical data points do not need to construct the preset neighborhood range.
[0056] Preferably, by combining the changing characteristics of the consumption rate of the coating raw materials and analyzing the preference of selecting the amount of historical data points, in one embodiment of the present invention, the method for obtaining the amount of selected prediction data includes:
[0057] According to the difference between the actual consumption rate values corresponding to each neighborhood data point and its adjacent neighborhood data points, the local slope value of the neighborhood data point is obtained; the local slope value reflects the change trend of the neighborhood data point.
[0058] In one embodiment of the present invention, the difference between the actual consumption rate value corresponding to the neighborhood data point and the next neighborhood data point is calculated to obtain the rate consumption rate difference; the difference between the historical moment corresponding to the neighborhood data point and the next neighborhood data point is calculated to obtain the time interval value; the ratio of the rate consumption rate difference and the time interval value is calculated to obtain the local slope value of the neighborhood data point. In other embodiments of the present invention, the difference between the actual consumption rate value corresponding to the neighborhood data point and the next neighborhood data point is used as the local slope value of the neighborhood data point. It should be noted that since the last neighborhood data point does not have a next neighborhood data point, the last neighborhood data has no corresponding local slope value.
[0059] According to the change trend of the corresponding actual consumption rate values of all neighborhood data points in the preset neighborhood range of the historical data points, the overall slope value of the preset neighborhood range of the historical data points is obtained; the overall slope value reflects the overall change trend of the preset neighborhood range of the historical data points.
[0060] In one embodiment of the present invention, the average value of the local slope values corresponding to all neighborhood data points is calculated to obtain the overall slope value of the preset neighborhood range of the historical data points. In other embodiments of the present invention, all neighborhood data points can also be fitted in the preset neighborhood range of the historical data points based on the least squares method to obtain a fitting straight line, and the slope of the fitting straight line is used as the overall slope value of the preset neighborhood range of the historical data points. It should be noted that the least squares method is a technical means well known to those skilled in the art and will not be described in detail here.
[0061] According to the difference between the local slope value and the overall slope value of each neighborhood data point, the overall slope instability value of the preset neighborhood range of the historical data point is obtained; the overall slope instability value reflects the degree of instability of data changes in the preset neighborhood range of the historical data point. The larger the overall slope instability value, the greater the degree of instability.
[0062] The total number of all neighborhood data points in the preset neighborhood range of the historical data points is taken as the overall neighborhood data volume; the overall neighborhood data volume is determined based on experience so that it can be adjusted later in combination with the changing characteristics of the consumption rate of the coating raw materials.
[0063] According to the overall slope value, the overall slope instability value and the overall neighborhood data volume, the prediction data selection amount of the historical data points is obtained; the overall neighborhood data volume and the prediction data selection amount are positively correlated; the overall slope value, the overall slope instability value and the prediction data selection amount are negatively correlated.
[0064] Among them, a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the power of an exponential function, which is determined by actual application; a negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by actual application.
[0065] In one embodiment of the present invention, the formula for predicting the amount of data selection includes:
[0066] ;in, The amount of prediction data selected for historical data points; is the total number of all neighborhood data points in the preset neighborhood range of the historical data points; It is the overall slope value of the preset neighborhood range of the historical data points; For the The local slope value of the neighborhood data points; is the rounding symbol; is the absolute value symbol; is an exponential function with e as base; The overall slope instability value of the preset neighborhood range of the historical data points; In one embodiment of the present invention, the denominator adjustment factor is 0.001, and the denominator adjustment factor is used to prevent the denominator from being 0, and the implementer can set it according to the implementation scenario.
[0067] In the formula, Reflects the changing trend of the actual consumption rate value in the previous period of the historical data point to be predicted. The larger the value, the faster the changing trend. The fewer historical data points should be selected during the prediction to avoid excessive smoothing of the coating raw material consumption trend of the historical data point due to too many historical data points, resulting in inaccurate consumption rate prediction; It reflects the stability of the change trend of the actual consumption rate value in the previous period of the historical data point to be predicted. The smaller the value, the more stable it is. The more historical data points should be selected during the prediction, so as to better utilize the long-term coating raw material consumption trend of the historical data points and make the prediction value more accurate. right Adjustments are made to obtain the forecast data selection amount of historical data points; the forecast data selection amount takes into account the fluctuations in market demand. The consumption rate of the same type of coating raw materials will have different changing characteristics in different periods. The forecast data selection amount preliminarily reflects the changing characteristics of the consumption rate of the coating raw materials, and predicts the amount of historical data points that are selected more accurately.
[0068] Preferably, in order to analyze the accuracy of the prediction result corresponding to the prediction data selection amount, the predicted consumption rate value corresponding to the historical data point is obtained. In one embodiment of the present invention, the method for obtaining the predicted consumption rate value includes:
[0069] According to the prediction data selection amount of the historical data point, the prediction reference data point of the historical data point is obtained.
[0070] In one embodiment of the present invention, a historical data point of a selected amount of predicted data before the historical data point is used as a prediction reference data point for the historical data point.
[0071] Based on the dynamic moving average algorithm, prediction is performed according to all the predicted reference data points of the historical data points to obtain the predicted consumption rate value corresponding to the historical data points. It should be noted that the dynamic moving average algorithm is a prediction technology means well known to those skilled in the art. Here, only a brief description is given of the method of performing prediction according to all the predicted reference data points of the historical data points to obtain the predicted consumption rate value corresponding to the historical data points: using the dynamic moving average algorithm, the average value of the actual consumption rate values corresponding to all the predicted reference data points of the historical data points is calculated. This average value is the predicted consumption rate value corresponding to the historical data points.
[0072] Preferably, in order to analyze the deviation degree value of the prediction result corresponding to the selected amount of prediction data, in one embodiment of the present invention, the method for obtaining the deviation degree value further includes:
[0073] According to the actual consumption rate value corresponding to each historical data point in the paint consumption monitoring time series data, the actual overall consumption value corresponding to the historical data point is obtained; the actual overall consumption value reflects the corresponding overall actual consumption rate value of the paint consumption monitoring time series data.
[0074] In one embodiment of the present invention, the average value of the actual consumption rate values corresponding to all historical data points in the paint consumption monitoring time series data is used as the actual overall consumption value corresponding to the historical data point; in other embodiments of the present invention, the average value of the actual consumption rate values of all historical data points before the historical data point is used as the actual overall consumption value corresponding to the historical data point.
[0075] According to the difference between the actual consumption rate value of the historical data point and the actual overall consumption value, the prominence value of the historical data point is obtained; the prominence value reflects that the actual consumption rate value corresponding to the historical data point does not conform to the normal consumption of the paint.
[0076] According to the difference between the actual consumption rate value of the historical data point and the predicted consumption rate value of the historical data point, the predicted difference value of the historical data point is obtained;
[0077] According to the prominence value of the historical data point and the predicted difference value, the deviation value of the historical data point is obtained; the predicted difference value and the deviation value are positively correlated; the prominence value and the deviation value are negatively correlated.
[0078] In one embodiment of the present invention, the deviation degree value formula includes:
[0079] ;in, For historical data points The deviation degree value of For historical data points The actual consumption rate value; In the paint consumption monitoring time series data, historical data points The average value of the actual consumption rate corresponding to all previous historical data points; For historical data points The predicted consumption rate value of is the absolute value symbol; is an exponential function with e as base; For historical data points The predicted difference value of For historical data points The prominence value of It also corresponds to the actual overall consumption value in one embodiment of the present invention.
[0080] In the formula, Reflects the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point. The larger the value, the greater the prediction deviation. Reflects the difference between the actual paint consumption rate corresponding to the historical data point and the overall consumption rate. The smaller the value, the more the actual consumption rate value corresponding to the historical data point conforms to the normal paint consumption situation. The bigger, the The more referenceable it is; the deviation degree value can more accurately reflect the deviation degree of the prediction result corresponding to the prediction data selection amount.
[0081] Preferably, in one embodiment of the present invention, the method for obtaining the adjusted prediction data selection amount includes:
[0082] When the predicted consumption rate value of the historical data point is greater than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the deviation degree value, the predicted data selection amount and the adjusted predicted data selection amount are positively correlated;
[0083] When the predicted consumption rate value of the historical data point is equal to the actual consumption rate value, the predicted data selection amount is used as the adjusted predicted data selection amount of the historical data point;
[0084] When the predicted consumption rate value of a historical data point is less than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the predicted data selection amount and the adjusted predicted data selection amount are positively correlated; the deviation degree value and the adjusted predicted data selection amount are negatively correlated.
[0085] The adjusted forecast data selection amount is obtained according to the adjusted forecast data selection amount formula. The adjusted forecast data selection amount formula includes:
[0086] ;in, For historical data points The adjusted forecast data selection amount; For historical data points The amount of prediction data selected; For historical data points The deviation degree value of For historical data points The actual consumption rate value; For historical data points The predicted consumption rate value of The symbol for rounding up.
[0087] In the formula, if the predicted consumption rate value of the historical data point is too large, it means that the corresponding prediction data selection amount for the historical data point is relatively small, and more historical data points need to be selected to better smooth the data change trend, thereby improving the accuracy of the prediction value; if the predicted consumption rate value of the historical data point is too small, it means that the corresponding prediction data selection amount for the historical data point is large, and fewer historical data points need to be selected for prediction to avoid excessive data causing the corresponding prediction result of the historical data point to be too smooth, thereby improving the accuracy of the actual consumption rate value; if the predicted consumption rate value of the historical data point is equal to the actual consumption rate value, it means that the prediction is accurate and the corresponding prediction data selection amount of the historical data point is appropriate. The adjusted prediction data selection amount can more accurately select the preference of the amount of historical data points when predicting historical data points.
[0088] Step S3: According to the adjusted forecast data selection amount of the historical data point, the forecast consumption rate value at the forecast time is obtained.
[0089] Taking into account that when the dynamic moving average algorithm is used to predict the consumption of raw materials in the paint production process, the accuracy of the prediction results is related to the number of historical data points selected at the prediction time, the above steps are used to determine the adjusted prediction data selection quantity that can more accurately reflect the number of historical data points that need to be selected during prediction, thereby improving the reliability of the predicted consumption rate value at the prediction time and ensuring the reliability of the paint raw material procurement plan, thereby better managing the entire paint production process.
[0090] Preferably, in one embodiment of the present invention, the method for obtaining the predicted consumption rate value includes:
[0091] The amount of change in the data trend at the prediction moment is obtained based on the adjusted amount of prediction data selected at a preset number of moments before the prediction moment. In one embodiment of the present invention, the difference between the adjusted amount of prediction data selected at the previous prediction moment and the adjusted amount of prediction data selected at the two moments before the prediction moment is used as the amount of change in the data trend at the prediction moment.
[0092] The adjusted forecast data selection quantity before the forecast time is used as the reference forecast selection quantity at the forecast time;
[0093] According to the data trend change amount and the reference prediction selection amount, the adjusted prediction data selection amount at the prediction moment is obtained; the data trend change amount, the reference prediction selection amount and the adjusted prediction data selection amount are positively correlated. In one embodiment of the present invention, the preset number is 2, and the implementer can set it according to the implementation scenario.
[0094] In one embodiment of the present invention, the formula for obtaining the adjusted prediction data selection amount at the prediction time includes:
[0095] ;in, To predict the time The adjusted forecast data selection amount; To predict the time the moment before; To predict the time The first two moments of For the moment The corresponding adjusted forecast data selection amount; For the moment The corresponding adjusted forecast data selection amount; To predict the time The amount of change in data trend.
[0096] In the formula, Indicates the time The corresponding adjusted forecast data selection amount and time The difference between the corresponding adjusted forecast data selection amount, which represents the time To time Corresponding to the changing trend of the selected amount of forecast data, Adjust so that the predicted time The adjusted forecast data selection is more accurate.
[0097] Based on the dynamic moving average algorithm, the predicted consumption rate value at the prediction moment is obtained according to the adjusted prediction data selection amount at the prediction moment; it should be noted that the dynamic moving average algorithm is an existing technology well known to technical personnel in this field and will not be described in detail here.
[0098] In order to plan the purchase of paint raw materials reasonably, it is necessary to predict the consumption time of paint raw materials, that is, the time required to consume the inventory of paint raw materials. According to the predicted consumption rate value at the prediction time and the inventory of paint raw materials, the predicted consumption time value of raw materials is obtained.
[0099] Through the above steps, the predicted consumption rate value at the prediction moment can be obtained; according to the predicted consumption rate value at the prediction moment and the inventory of the coating raw materials at the moment before the prediction moment, in order to obtain the inventory of the coating raw materials at the prediction moment;
[0100] In one embodiment of the present invention, the formula for the inventory of coating raw materials at the prediction time includes:
[0101] ;in, To predict the time Inventory of coating raw materials; To predict the time the moment before; For the moment Inventory of coating raw materials; To predict the time The predicted consumption rate value of It should be noted that the time lengths represented by the predicted moments and historical moments both represent preset time intervals, that is, in one embodiment of the present invention, the preset time interval is from the beginning to the end of a day. Reflects the prediction moment Indicates the inventory level of paint raw materials at the last second of the preset time interval.
[0102] In order to analyze the prediction time The inventory of paint raw materials in the system at the end of the preset time interval represented by Reflecting the forecast time The predicted consumption of coating raw materials in the preset time interval represented by , Reflects the prediction moment Indicates the inventory level of paint raw materials at the last second of the preset time interval.
[0103] A method for obtaining the inventory of paint raw materials at a known prediction moment, taking the current moment as the prediction moment, can obtain the inventory of paint raw materials at the current moment; continuously predicting the next moment until the inventory of paint raw materials is less than or equal to zero, outputting the end moment corresponding to no inventory, and taking the interval between the end moment and the current moment as the predicted duration value of raw material consumption.
[0104] Furthermore, considering that the coating is composed of a variety of coating raw materials, including resins, solvents, pigments, fillers, additives and other coating raw materials, the raw material consumption prediction duration value of each coating raw material is obtained. If the raw material consumption prediction duration value of any coating raw material is less than the preset alarm threshold, an alarm is processed, and the material procurement engineer formulates a coating raw material procurement plan based on the raw material consumption prediction duration value of all kinds of coating raw materials, thereby helping the factory to purchase more reasonably and avoid the situation of excess or shortage of raw materials, thereby reducing inventory costs and procurement costs, and ensuring the production efficiency of the coating and the rationality of the management of the entire coating production process. In one embodiment of the present invention, the preset alarm threshold is 3, and the implementer can set it according to the implementation scenario.
[0105] The present invention also proposes a computer device for intelligent supervision and management of the entire coating production process, please refer to Figure 2 The computer device includes a memory 401, a processor 402, and a computer program 403 stored in the memory 401 and running on the processor 402, wherein when the processor 402 executes the computer program 403, the computer device can execute any one of the above-mentioned intelligent supervision management methods for the entire coating production process.
[0106] The present invention also proposes an intelligent supervision management system for the entire process of paint production, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to run the corresponding computer program. When the computer program runs in the processor, it can implement an intelligent supervision management method for the entire process of paint production described in the above steps.
[0107] In summary, the present invention obtains the predicted data selection amount of the historical data point according to the number of neighborhood data points and the changing trend of the corresponding actual consumption rate value; adjusts the predicted data selection amount of the historical data point according to the difference between the actual consumption rate value and the predicted consumption rate value of the historical data point and the deviation degree value of the historical data point, and obtains the adjusted predicted data selection amount of the historical data point; and finally obtains the predicted consumption rate value at the prediction moment. In the embodiment of the present invention, the changing characteristics of the raw material consumption rate are combined and the prediction accuracy is guaranteed to determine the amount of historical data points that need to be selected when predicting the historical data point, which can more accurately reflect the historical data point, and improve the reliability of the predicted consumption rate value at the prediction moment, thereby ensuring better management of the entire coating production process.
[0108] By improving the selection of historical data quantity to adapt to changes in consumption rate, the rationality of the procurement plan for paint raw materials can be improved, and the reliability of management of the entire paint production process can be guaranteed.
[0109] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0110] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for intelligent supervision and management of the entire coating production process. It is characterized in that The method comprises: Obtaining paint consumption monitoring time series data of paint raw materials; the paint consumption monitoring time series data includes various historical data points; the historical data points correspond to actual consumption rate values at historical moments; In the paint consumption monitoring time series data, obtain the neighborhood data points of the historical data points in a preset neighborhood range; in the preset neighborhood range of the historical data points, obtain the predicted data selection amount of the historical data points according to the number of the neighborhood data points and the change trend of the corresponding actual consumption rate value; according to the predicted data selection amount of the historical data points, obtain the predicted consumption rate value corresponding to the historical data points; according to the prominence of the historical data points and the degree of difference between the actual consumption rate value and the predicted consumption rate value of the historical data points, obtain the deviation degree value of the historical data points; according to the difference between the actual consumption rate value and the predicted consumption rate value of the historical data points and the deviation degree value of the historical data points, adjust the predicted data selection amount of the historical data points to obtain the adjusted predicted data selection amount of the historical data points; Obtaining a predicted consumption rate value at a predicted time according to the adjusted predicted data selection amount of the historical data point; The method for obtaining the selected amount of prediction data includes: Obtaining a local slope value of the neighborhood data point according to a difference between the actual consumption rate values corresponding to each of the neighborhood data points and the neighborhood data points adjacent thereto; According to the change trend of the corresponding actual consumption rate values of all neighborhood data points of the historical data point, the overall slope value of the preset neighborhood range of the historical data point is obtained; Obtaining an overall slope instability value of the preset neighborhood range of the historical data point according to a difference between the local slope value of each neighborhood data point and the overall slope value; According to the overall slope value, the overall slope instability value and the number of all neighborhood data points of the historical data point, the predicted data selection amount of the historical data point is obtained; the number of all neighborhood data points of the historical data point and the predicted data selection amount are positively correlated; the overall slope value, the overall slope instability value and the predicted data selection amount are negatively correlated; The formula for predicting data selection volume includes: ;in, The amount of data selected for prediction of historical data points; is the total number of all neighborhood data points in the preset neighborhood range of the historical data points; It is the overall slope value of the preset neighborhood range of the historical data points; For the The local slope value of the neighborhood data points; is the rounding symbol; is the absolute value symbol; is an exponential function with e as base; The overall slope instability value of the preset neighborhood range of the historical data points; is the denominator adjustment factor; The method for obtaining the deviation degree value includes: According to the prominence of the historical data point in the paint consumption monitoring time series data, obtaining the prominence degree value of the historical data point; According to the difference between the actual consumption rate value of the historical data point and the predicted consumption rate value of the historical data point, the predicted difference value of the historical data point is obtained; According to the prominence value of the historical data point and the predicted difference value, obtaining the deviation value of the historical data point; the predicted difference value and the deviation value are positively correlated; the prominence value and the deviation value are negatively correlated; The method for obtaining the protrusion degree value comprises: According to the actual consumption rate value corresponding to each historical data point in the coating consumption monitoring time series data, obtaining the actual overall consumption value corresponding to the historical data point; Obtaining a prominence value of the historical data point according to a difference between an actual consumption rate value of the historical data point and the actual overall consumption value; The deviation degree value formula includes: ;in, For historical data points The deviation degree value of For historical data points The actual consumption rate value; In the paint consumption monitoring time series data, historical data points The average value of the actual consumption rate corresponding to all previous historical data points; For historical data points The predicted consumption rate value of is the absolute value symbol; is an exponential function with e as base; For historical data points The predicted difference value of For historical data points The prominence value of The method for obtaining the adjusted forecast data selection amount includes: When the predicted consumption rate value of the historical data point is greater than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the deviation degree value and the predicted data selection amount are both positively correlated with the adjusted predicted data selection amount; When the predicted consumption rate value of the historical data point is equal to the actual consumption rate value, the predicted data selection amount is used as the adjusted predicted data selection amount of the historical data point; When the predicted consumption rate value of the historical data point is less than the actual consumption rate value, the predicted data selection amount of the historical data point is adjusted according to the deviation degree value of the historical data point to obtain the adjusted predicted data selection amount of the historical data point; the predicted data selection amount and the adjusted predicted data selection amount are positively correlated; the deviation degree value and the adjusted predicted data selection amount are negatively correlated; The adjusted forecast data selection amount is obtained according to the adjusted forecast data selection amount formula. The adjusted forecast data selection amount formula includes: ;in, For historical data points The adjusted forecast data selection amount; For historical data points The amount of prediction data selected; For historical data points The deviation degree value of For historical data points The actual consumption rate value; For historical data points The predicted consumption rate value of The round-up symbol.
2. According to claim 1, a method for intelligent supervision and management of the entire coating production process, It is characterized in that The method for obtaining the predicted consumption rate value corresponding to the historical data point includes: Obtaining a prediction reference data point for the historical data point according to the prediction data selection amount for the historical data point; Based on all the predicted reference data points of the historical data points, a prediction is made to obtain the predicted consumption rate value corresponding to the historical data points.
3. According to claim 1, a method for intelligent supervision and management of the entire coating production process, It is characterized in that The method for obtaining the predicted consumption rate value at the predicted moment includes: According to the adjusted prediction data selection amount of the previous preset number of prediction data at the prediction moment in time series, the adjusted prediction data selection amount at the prediction moment is obtained; according to the adjusted prediction data selection amount at the prediction moment, prediction is performed to obtain the predicted consumption rate value at the prediction moment.
4. According to claim 3, a method for intelligent supervision and management of the entire coating production process, It is characterized in that The method for obtaining the adjusted prediction data selection amount at the prediction moment includes: Obtain the data trend change at the prediction moment according to the adjusted prediction data selection amount at a preset number of moments before the prediction moment; The adjusted forecast data selection quantity before the forecast moment in time series is used as the reference forecast selection quantity at the forecast moment; According to the data trend change amount and the reference prediction selection amount, the adjusted prediction data selection amount at the prediction moment is obtained; the data trend change amount and the reference prediction selection amount are both positively correlated with the adjusted prediction data selection amount.
5. According to claim 1, a method for intelligent supervision and management of the entire coating production process, It is characterized in that The method further comprises: According to the predicted consumption rate value at the predicted time, obtain the predicted duration value of raw material consumption.
6. An intelligent supervision and management system for the entire process of coating production, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method for intelligent supervision and management of the entire coating production process as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Material consumption prediction method based on artificial neural network time sequence prediction
CN114462668A
Intelligent scheduling operation method for building water supply
CN116611674A
Cited By
Intelligent monitoring method and system for radar wave absorbing material preparation process
CN123179151A
