Production data processing optimization method based on smart factory
By constructing the risk matrix of the smart factory and fitting the risk scoring function, it solves the risk management problem in the smart factory that is difficult to reflect and provide early warning in real time, realizes dynamic risk assessment and early warning of the production process, and improves production efficiency and safety.
Patent Information
- Application Number
- CN202410883036.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart factory risk management technology is difficult to reflect risk changes in the production process in real time. Traditional methods cannot provide early warning and respond to potential risks. They often only deal with risk events after they occur, and cannot effectively prevent them.
By collecting the production data of smart factories, dividing equipment information, product information, expectation information and energy consumption information, constructing a risk matrix, determining the severity and occurrence probability of different risk types, fitting the production risk scoring function, judging the risk assessment coefficient, and conducting Real-time early warning and trend analysis determine whether the smart factory can continue production and predict future risks.
It realizes dynamic risk assessment and early warning of the smart factory production process, can detect risk problems in time, take preventive measures in advance, and improve production efficiency and safety.
Smart Images

Figure CN118690914A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a production data processing optimization method based on a smart factory. Background Art
[0002] Existing smart factory risk management technologies mainly rely on historical data and expert experience, and use a combination of qualitative and quantitative methods to conduct risk assessments. They mainly rely on historical data and post-analysis, and it is difficult to timely reflect the changes in risks in the current production process. The lagging risk management methods cannot meet the needs of modern smart factories for real-time monitoring and dynamic response. In addition, traditional methods are difficult to warn and respond to potential risks in advance, and risk events are often dealt with only after they occur, making it impossible to effectively prevent them.
[0003] In order to solve the above defects, a technical solution is now provided. Summary of the invention
[0004] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a production data processing optimization method based on a smart factory to solve the problems raised in the above-mentioned background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] The production data processing optimization method based on the smart factory specifically includes the following steps:
[0007] S1: Collect production data of smart factories and divide the production data according to equipment information, product information, expectation information and energy consumption information;
[0008] S2: Determine the risk types of the smart factory production process, and determine the severity and probability of occurrence of different risk types, build a risk matrix for the smart factory production process, and obtain production risk scores at different times;
[0009] S3: Fit the production risk scores at different times to obtain the function of the production risk scores with respect to time, collect the abnormal time periods in the production process, determine the risk assessment coefficient of the smart factory production process, and judge whether the smart factory can continue production;
[0010] S4: Analyze the risk assessment coefficient of the smart factory production process, obtain the risk change trend of the smart factory production process, and issue early warning for the smart factory production process.
[0011] In a preferred embodiment, a risk matrix of the smart factory production process is constructed to obtain production risk scores at different times, including:
[0012] Setting monitoring intervals, the risk matrix construction method in the smart factory production process includes the following steps:
[0013] T1: Determine the risk types that need to be evaluated in the risk matrix. The risk types include potential risks in four aspects: equipment information, product information, expectation information, and energy consumption information;
[0014] T2: Based on historical data, expert experience, and various risk-related information and data, a fuzzy logic library is constructed to determine the severity and probability of occurrence of different risk types in the risk matrix;
[0015] The specific process of building a fuzzy logic library includes:
[0016] Determine fuzzy logic variables, and determine fuzzy logic variables according to equipment information, product information, expectation information and energy consumption information of each risk type within the monitoring interval;
[0017] Define fuzzy sets, define fuzzy sets for each fuzzy logic variable;
[0018] Determine the membership function and select the appropriate membership function to describe each fuzzy set;
[0019] Construct a fuzzy rule base, define fuzzy rules based on expert experience and historical data, describe the relationship between input variables, and convert them into fuzzy logic rules;
[0020] By collecting the equipment information, product information, expected information and energy consumption information in the monitoring interval in real time, the membership of the equipment information, product information, expected information and energy consumption information in the fuzzy set is determined, and the severity and occurrence probability of different risk types in the monitoring interval are obtained in real time;
[0021] T3: Obtain the severity and probability levels of different risk types, determine the risk matrix, multiply the severity and probability levels of different risk types, and determine the production risk score.
[0022] Among them, obtaining the severity and probability levels of different risk types includes obtaining fuzzy outputs of the severity and probability of different risk types through fuzzy reasoning, and defining the severity and probability levels of different risk types in the risk matrix according to the fuzzy outputs;
[0023] According to the specific situation and needs, the severity and probability of occurrence are divided into several discrete levels, the severity level of the risk type assessed in the monitoring interval is obtained, and the severity level of the risk type assessed in the monitoring interval is marked as: YZ ij, where j = 1, 2, 3, ..., J, where J is a positive integer and J is the number of different risk types evaluated within the monitoring interval, i = , 2, 3, ..., I, where I is a positive integer and i is the level number of the severity and probability of occurrence of the risk type at different times within the monitoring interval, obtain the probability level of occurrence of the risk type evaluated within the monitoring interval, and mark the probability level of occurrence of the risk type evaluated within the monitoring interval as: GL ij ;
[0024] Construct a risk matrix for the production process of a smart factory and mark the risk matrix for the production process of a smart factory as
[0025] Calculate the production risk score using the formula: Among them, PF i Score the production risk at different times within the monitoring interval.
[0026] In a preferred embodiment, determining the risk assessment coefficient of the smart factory production process includes:
[0027] According to the production risk scores at different times within the monitoring interval, the corresponding production risk scores at different timestamps are obtained, the production risk scores at different times within the monitoring interval are fitted, and a suitable data fitting model is selected to obtain the function of the production risk score with respect to time, and the function of the production risk score with respect to time is marked as: PF(t);
[0028] According to the function of production risk score in the monitoring interval with respect to time, the risk assessment coefficient in the monitoring interval during the production process of the smart factory is obtained, and the risk assessment coefficient in the monitoring interval during the production process of the smart factory is marked as: Among them, FX n is the risk assessment coefficient in the nth monitoring interval, n=1, 2, 3, ..., N, N is a positive integer, n is the number of different monitoring intervals in the production process, t a ~t b is the time period of abnormal device information, t c ~t d is the time period of abnormal product information, t e ~t f is the time period of expected information anomaly, t g ~t h The time period when the energy consumption information is abnormal.
[0029] In a preferred embodiment, determining whether the smart factory can continue production includes:
[0030] Set a first risk assessment coefficient threshold, and compare the risk assessment coefficient with the first risk assessment coefficient threshold. If the risk assessment coefficient is less than the first risk assessment coefficient threshold, it means that there is a high probability of problems with production within the monitoring interval, and production is stopped and inspected by staff. If the risk assessment coefficient is greater than the first risk assessment coefficient threshold, it means that production within the monitoring interval is good, and the smart factory can continue production operations.
[0031] In a preferred embodiment, the risk assessment coefficient of the smart factory production process is analyzed, including:
[0032] Set a monitoring period, obtain risk assessment coefficients for different monitoring intervals within the monitoring period, set a second risk assessment coefficient threshold, compare the risk assessment coefficients for different monitoring intervals within the monitoring period with the second risk assessment coefficient threshold, obtain monitoring intervals greater than the second risk assessment coefficient threshold, and mark the monitoring intervals greater than the second risk assessment coefficient threshold within the monitoring period as warning intervals;
[0033] Obtain adjacent warning intervals within the monitoring period, and obtain the interval time length between adjacent warning intervals, set the interval time length threshold, compare the interval time length between each adjacent warning interval within the monitoring period with the interval time length threshold, obtain the interval time length that is less than the interval time length threshold, and obtain the time anomaly coefficient through formula calculation.
[0034] In a preferred embodiment, obtaining the changing trend of risks in the production process of a smart factory includes:
[0035] The risk change trend in the production process of the smart factory is represented by the trend change coefficient. The logic of obtaining the trend change coefficient is as follows: obtain the risk assessment coefficient of different monitoring intervals within the monitoring period, set the size of the moving average window, and calculate the moving average of the risk assessment coefficient at different time points;
[0036] The moving average calculation formula of the risk assessment coefficient is: Among them, FX1, FX2, ..., FX f is the risk assessment coefficient of the monitoring interval in the moving average window, s is the size of the moving average window, m = 1, 2, 3, ..., M, M is a positive integer, and m is the number of the moving average of the risk assessment coefficient at different time points in the monitoring period. is the moving average of the risk assessment coefficient at the mth time point;
[0037] Select the moving average of the risk assessment coefficients at adjacent time points, and calculate the slope of the moving average of adjacent time points. The calculation formula for the slope of the moving average of adjacent time points is: Among them, β1 is the slope of the moving average of the first adjacent time point. Slide the time window forward by one unit time point, continue to calculate the slope of the new adjacent time point, and continue the sliding process until the slope of the moving average of the adjacent time points can no longer be calculated;
[0038] Calculate the trend change coefficient using the formula: Among them, QS bh is the trend change coefficient, r=1, 2, 3, …, R, R is a positive integer, and r is the number of slopes of the moving average of adjacent time points within the monitoring period.
[0039] In a preferred embodiment, early warning of the production process of the smart factory includes:
[0040] The time anomaly coefficient and the trend change coefficient are weightedly calculated to generate a warning assessment coefficient, and a warning assessment coefficient threshold is set. The warning assessment coefficient is compared with the warning assessment coefficient threshold. If the warning assessment coefficient is greater than the warning assessment coefficient threshold, a warning signal is generated. The warning signal reminds the staff to review the production process of the smart factory in a timely manner to reduce possible risks in the future. If the warning assessment coefficient is less than the warning assessment coefficient threshold, no warning signal is generated.
[0041] Technical effects and advantages of the present invention:
[0042] The present invention constructs a dynamically changing risk matrix of the smart factory through the production data generated during the production process of the smart factory, generates a production risk score, quantitatively determines the key risk level of the smart factory production process, determines the risk assessment coefficient through the abnormal time period in the production process, judges whether the smart factory can continue production, and predicts the possibility of risks in the production process of the smart factory in the future based on the performance and risk trend of the smart factory production process, which helps to timely discover production risk problems through production data, and can take preventive measures in advance to improve production efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;
[0044] Figure 1 It is a flow chart of the production data processing optimization method based on the smart factory of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] Example 1
[0047] The present invention provides Figure 1 The production data processing optimization method based on the smart factory shown specifically includes the following steps:
[0048] S1: Collect production data of smart factories and divide the production data according to equipment information, product information, expectation information and energy consumption information;
[0049] S2: Determine the risk types of the smart factory production process, and determine the severity and probability of occurrence of different risk types, build a risk matrix for the smart factory production process, and obtain production risk scores at different times;
[0050] S3: Fit the production risk scores at different times to obtain the function of the production risk scores with respect to time, collect the abnormal time periods in the production process, determine the risk assessment coefficient of the smart factory production process, and judge whether the smart factory can continue production;
[0051] S4: Analyze the risk assessment coefficient of the smart factory production process, obtain the risk change trend of the smart factory production process, and issue early warning for the smart factory production process.
[0052] The production data of the smart factory is divided into equipment information, product information, expected information and energy consumption information in the production process. By monitoring the equipment information, product information, expected information and energy consumption information in the production process, the performance of the smart factory production process can be analyzed in real time.
[0053] Smart factories install various sensors on production equipment to collect the equipment's operating status, performance and environmental data in real time. The data collected by various sensors during the production process are collected through the industrial Internet of Things platform to determine the equipment information of production data in smart factories.
[0054] Use automated quality inspection equipment to collect product quality data, record and track product production processes, process progress and quality inspection results in real time, and determine product information of production data in smart factories;
[0055] Determine the expected information of production data in smart factories by comparing the production plan, order information, demand forecast and other data in smart factories with the output of smart factories;
[0056] By installing smart meters to monitor and record power consumption data in real time, the energy consumption information of production data in smart factories can be determined.
[0057] Set up a monitoring interval, collect equipment information, product information, expected information and energy consumption information in the production process of the smart factory within the monitoring interval, consider the potential risks in the four aspects of equipment information, product information, expected information and energy consumption information, evaluate the severity and probability of occurrence of the four risks respectively, build a risk matrix for the production process, and obtain the production risk score of the production process within the monitoring interval in real time through the risk matrix of the production process;
[0058] It should be noted that the monitoring interval is a fixed length of time set by professional staff. The risk matrix is a dynamic tool that reflects the latest production status and potential risks. The production risk score is calculated through a formula based on the risk matrix of the monitoring interval.
[0059] Among them, the risk matrix construction method in the smart factory production process includes the following steps:
[0060] T1: Determine the risk types that need to be evaluated in the risk matrix. The risk types include potential risks in four aspects: equipment information, product information, expectation information, and energy consumption information;
[0061] Among them, the types of risks that may arise within the monitoring interval are determined, for example: the types of risks that may arise in equipment information include equipment failure risks, etc., the types of risks that may arise in product information include product quality risks, etc., the types of risks that may arise in expected information include production plan deviation risks, etc., and the types of risks that may arise in energy consumption information include abnormal energy consumption risks, etc.
[0062] T2: Based on historical data, expert experience, and various risk-related information and data, a fuzzy logic library is constructed to determine the severity and probability of occurrence of different risk types in the risk matrix;
[0063] The specific process of building a fuzzy logic library includes:
[0064] Determine fuzzy logic variables, based on the equipment information, product information, expected information and energy consumption information of each risk type within the monitoring interval, determine the fuzzy logic variables, for example: fuzzy logic variables are equipment status, quality control data, production plan, energy consumption data, etc.;
[0065] Define fuzzy sets for each fuzzy logic variable, such as "good", "average", "bad" for device information, or "low", "medium", "high" for energy consumption information;
[0066] Determine the membership function and select the appropriate membership function to describe each fuzzy set, such as triangular, trapezoidal, or Gaussian distribution, as well as the parameters of each function (such as peak, center point, and width) to accurately reflect the membership of the variable in the fuzzy set;
[0067] Construct a fuzzy rule base, define fuzzy rules based on expert experience and historical data, describe the relationship between input variables, and convert them into fuzzy logic rules, for example: if the equipment status is "good" and the quality control data is "high" and the production plan is "good" and the energy consumption data is "low", then the severity of a certain risk type is "low" and the probability of occurrence of a certain risk type is "low".
[0068] By collecting the equipment information, product information, expected information and energy consumption information in the monitoring interval in real time, the membership of the equipment information, product information, expected information and energy consumption information in the fuzzy set is determined, and the severity and occurrence probability of different risk types in the monitoring interval are obtained in real time.
[0069] T3: Obtain the severity and probability levels of different risk types, determine the risk matrix, multiply the severity and probability levels of different risk types, and determine the production risk score.
[0070] Among them, obtaining the severity and probability levels of different risk types includes obtaining fuzzy outputs of the severity and probability of different risk types through fuzzy reasoning, and defining the severity and probability levels of different risk types in the risk matrix according to the fuzzy outputs;
[0071] It should be noted that when fuzzy reasoning is used to evaluate the severity and probability of occurrence of different risk types, fuzzy outputs can be obtained. These outputs are usually expressed in the form of fuzzy sets rather than exact values. The fuzzy outputs reflect the fuzzy description of the severity and probability of occurrence of each risk type, specifically reflecting uncertainty and ambiguity. The fuzzy outputs are converted into specific numerical values or descriptive grades through the peak value of the membership function in the fuzzy set or the fuzzy measurement method.
[0072] According to the specific situation and needs, the severity and probability of occurrence are divided into several discrete levels, usually 1-5 to represent the severity and probability of occurrence. The larger the number, the higher the severity of the risk type and the higher the probability of occurrence. Conversely, the smaller the number, the lower the severity of the risk type and the lower the probability of occurrence.
[0073] Get the severity level of the risk type assessed within the monitoring interval, and mark the severity level of the risk type assessed within the monitoring interval as: YZ ij, where j = 1, 2, 3, ..., J, where J is a positive integer and J is the number of different risk types evaluated within the monitoring interval, i = , 2, 3, ..., I, where I is a positive integer and i is the level number of the severity and probability of occurrence of the risk type at different times within the monitoring interval, obtain the probability level of occurrence of the risk type evaluated within the monitoring interval, and mark the probability level of occurrence of the risk type evaluated within the monitoring interval as: GL ij ;
[0074] Construct a risk matrix for the production process of a smart factory, and mark the risk matrix for the production process of a smart factory as follows:
[0075] Calculate the production risk score using the formula: Among them, PF i Score the production risk at different times within the monitoring interval.
[0076] According to the production risk scores at different times in the monitoring interval, the corresponding production risk scores at different timestamps are obtained, the production risk scores at different times in the monitoring interval are fitted, and a suitable data fitting model is selected to obtain the function of the production risk score with respect to time, and the function of the production risk score with respect to time is marked as: PF(t).
[0077] According to the function of production risk score in the monitoring interval with respect to time, the risk assessment coefficient in the monitoring interval during the production process of the smart factory is obtained, and the risk assessment coefficient in the monitoring interval during the production process of the smart factory is marked as: Among them, FX n is the risk assessment coefficient in the nth monitoring interval, n=1, 2, 3, ..., N, N is a positive integer, n is the number of different monitoring intervals in the production process, t a ~t b is the time period of abnormal device information, t c ~t d is the time period of abnormal product information, t e ~t f is the time period of expected information anomaly, t g ~t h The time period when the energy consumption information is abnormal.
[0078] It can be seen from the formula that the larger the risk assessment coefficient, the greater the possibility of risks in the production process based on the production data of the smart factory. Conversely, the smaller the risk assessment coefficient, the smaller the possibility of risks in the production process based on the production data of the smart factory.
[0079] It should be noted that the time period of abnormal equipment information, the time period of abnormal product information, the time period of abnormal expected information and the time period of abnormal energy consumption information are compared with the data threshold based on the data obtained in four aspects. If the obtained data is less than the data threshold, it means that the production data of the smart factory is normal and the production process is normal. If the obtained data is greater than the data threshold, the duration period greater than the data threshold is recorded, and the time period is marked as the abnormal time period in four aspects.
[0080] Set a first risk assessment coefficient threshold, and compare the risk assessment coefficient with the first risk assessment coefficient threshold. If the risk assessment coefficient is less than the first risk assessment coefficient threshold, it means that there is a high probability of problems with production within the monitoring interval, and production is stopped and inspected by staff. If the risk assessment coefficient is greater than the first risk assessment coefficient threshold, it means that production within the monitoring interval is good, and the smart factory can continue production operations.
[0081] Set a monitoring cycle, obtain risk assessment coefficients of different monitoring intervals within the monitoring cycle during the production process of the smart factory, set a second risk assessment coefficient threshold, compare the risk assessment coefficients of different monitoring intervals within the monitoring cycle with the second risk assessment coefficient threshold, obtain monitoring intervals greater than the second risk assessment coefficient threshold, and mark the monitoring intervals greater than the second risk assessment coefficient threshold within the monitoring cycle as early warning intervals;
[0082] It should be noted that the monitoring period is a specific length of time. The monitoring period is set by professional staff and is composed of integer multiples of monitoring intervals, usually including more than two monitoring intervals. The end time of the monitoring period is real time, and the start time of the monitoring period is determined by the length of the monitoring period.
[0083] Obtain the adjacent warning intervals within the monitoring period, obtain the interval lengths between the adjacent warning intervals, and mark the interval lengths between each adjacent warning interval within the monitoring period as: T k , where k = 1, 2, 3, ..., K, K is a positive integer, and k is the number of the adjacent warning interval;
[0084] Set the interval length threshold and mark the interval length threshold as: T yz , compare the interval lengths between each adjacent warning interval in the monitoring period with the interval length threshold, obtain the interval lengths that are less than the interval length threshold, and re-mark the interval lengths that are less than the interval length threshold as: T q , where q=1, 2, 3, ..., Q, Q is a positive integer, and q is the number of the interval time length that is less than the interval time length threshold;
[0085] It should be noted that the interval length threshold is set by professional staff. If the time interval between adjacent warning intervals is short, it means that there may be some risks in the smart factory and the risks have not been resolved. If the time interval between adjacent warning intervals is long, it means that the possibility of some risks in the smart factory is sudden, which may be normal.
[0086] The time anomaly coefficient is obtained. The calculation formula of the time anomaly coefficient is: Among them, SJ yc is the time anomaly coefficient.
[0087] It can be seen from the formula that the larger the time anomaly coefficient is, the more likely it is that even if there is no clearly identified risk in the production process of the smart factory, there may be hidden risks, and there may be certain regularities. Therefore, the probability that problems may occur in the production process of the smart factory is higher.
[0088] Obtain the risk change trend in the production process of the smart factory, and express the risk change trend in the production process of the smart factory through the trend change coefficient. The logic of obtaining the trend change coefficient is as follows: obtain the risk assessment coefficient of different monitoring intervals within the monitoring period, set the size of the moving average window, and calculate the moving average of the risk assessment coefficient at different time points;
[0089] It should be noted that the size of the moving average window is usually the time length of three monitoring intervals. The moving average window size is set by professional staff, and the time point represents a specific monitoring interval within the monitoring cycle.
[0090] The moving average calculation formula of the risk assessment coefficient is: Among them, FX1, FX2, ..., FX f is the risk assessment coefficient of the monitoring interval in the moving average window, s is the size of the moving average window, m = 1, 2, 3, ..., M, M is a positive integer, and m is the number of the moving average of the risk assessment coefficient at different time points in the monitoring period. is the moving average of the risk assessment coefficient at the mth time point;
[0091] Select the moving average of the risk assessment coefficients at adjacent time points, and calculate the slope of the moving average of adjacent time points. The calculation formula for the slope of the moving average of adjacent time points is: Among them, β1 is the slope of the moving average of the first adjacent time point. Slide the time window forward by one unit time point, continue to calculate the slope of the new adjacent time point, and continue the sliding process until the slope of the moving average of the adjacent time points can no longer be calculated;
[0092] Calculate the trend change coefficient using the formula: Among them, QS bh is the trend change coefficient, r=1, 2, 3, …, R, R is a positive integer, and r is the number of slopes of the moving average of adjacent time points within the monitoring period.
[0093] It can be seen from the formula that the larger the trend change coefficient, the greater the production risk is with the production of the smart factory, which means that the probability of problems occurring in the production process of the smart factory in the future is greater. Conversely, the smaller the trend change coefficient, the smaller the production risk is with the production of the smart factory, which means that the probability of problems occurring in the production process of the smart factory in the future is smaller.
[0094] The time anomaly coefficient and the trend change coefficient are weighted to generate the early warning evaluation coefficient. The calculation formula of the early warning evaluation coefficient is: Among them, pg yj is the early warning assessment coefficient, α1 and α2 are the proportional coefficients of the time anomaly coefficient and the trend change coefficient, and α1 and α2 are greater than 0.
[0095] Set a warning assessment coefficient threshold, and compare the warning assessment coefficient with the warning assessment coefficient threshold. If the warning assessment coefficient is greater than the warning assessment coefficient threshold, a warning signal is generated. The warning signal reminds the staff to review the production process of the smart factory in a timely manner to reduce possible risks in the future. If the warning assessment coefficient is less than the warning assessment coefficient threshold, no warning signal is generated.
[0096] The present invention constructs a dynamically changing risk matrix of the smart factory through the production data generated during the production process of the smart factory, generates a production risk score, quantitatively determines the key risk level of the smart factory production process, determines the risk assessment coefficient through the abnormal time period in the production process, judges whether the smart factory can continue production, and predicts the possibility of risks in the production process of the smart factory in the future based on the performance and risk trend of the smart factory production process, which helps to timely discover production risk problems through production data, and can take preventive measures in advance to improve production efficiency and safety.
[0097] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0098] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0099] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0100] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0102] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0103] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A production data processing optimization method based on a smart factory, characterized in that: The specific steps include: S1: Collect production data of smart factories and divide the production data according to equipment information, product information, expectation information and energy consumption information; S2: Determine the risk types of the smart factory production process, and determine the severity and probability of occurrence of different risk types, build a risk matrix for the smart factory production process, and obtain production risk scores at different times; S3: Fit the production risk scores at different times to obtain the function of the production risk scores with respect to time, collect the abnormal time periods in the production process, determine the risk assessment coefficient of the smart factory production process, and judge whether the smart factory can continue production; S4: Analyze the risk assessment coefficient of the smart factory production process, obtain the risk change trend of the smart factory production process, and issue early warning for the smart factory production process.
2. The production data processing optimization method based on smart factory according to claim 1 is characterized in that: Construct a risk matrix for the production process of a smart factory to obtain production risk scores at different times, including: Setting monitoring intervals, the risk matrix construction method in the smart factory production process includes the following steps: T1: Determine the risk types that need to be evaluated in the risk matrix. The risk types include potential risks in four aspects: equipment information, product information, expectation information, and energy consumption information; T2: Based on historical data, expert experience, and various risk-related information and data, a fuzzy logic library is constructed to determine the severity and probability of occurrence of different risk types in the risk matrix; The specific process of building a fuzzy logic library includes: Determine fuzzy logic variables, and determine fuzzy logic variables according to equipment information, product information, expectation information and energy consumption information of each risk type within the monitoring interval; Define fuzzy sets, define fuzzy sets for each fuzzy logic variable; Determine the membership function and select the appropriate membership function to describe each fuzzy set; Construct a fuzzy rule base, define fuzzy rules based on expert experience and historical data, describe the relationship between input variables, and convert them into fuzzy logic rules; By collecting the equipment information, product information, expected information and energy consumption information in the monitoring interval in real time, the membership of the equipment information, product information, expected information and energy consumption information in the fuzzy set is determined, and the severity and occurrence probability of different risk types in the monitoring interval are obtained in real time; T3: Obtain the severity and probability levels of different risk types, determine the risk matrix, multiply the severity and probability levels of different risk types, and determine the production risk score. Among them, obtaining the severity and probability levels of different risk types includes obtaining fuzzy outputs of the severity and probability of different risk types through fuzzy reasoning, and defining the severity and probability levels of different risk types in the risk matrix according to the fuzzy outputs; According to the specific situation and needs, the severity and probability of occurrence are divided into several discrete levels, the severity level of the risk type assessed in the monitoring interval is obtained, and the severity level of the risk type assessed in the monitoring interval is marked as: YZ ij , where j = 1, 2, 3, ..., J, where J is a positive integer and J is the number of different risk types evaluated within the monitoring interval, i = , 2, 3, ..., I, where I is a positive integer and i is the level number of the severity and probability of occurrence of the risk type at different times within the monitoring interval, obtain the probability level of occurrence of the risk type evaluated within the monitoring interval, and mark the probability level of occurrence of the risk type evaluated within the monitoring interval as: GL ij ; Construct a risk matrix for the production process of a smart factory, and mark the risk matrix for the production process of a smart factory as follows: Calculate the production risk score using the formula: Among them, PF i Score the production risk at different times within the monitoring interval.
3. The production data processing optimization method based on smart factory according to claim 2 is characterized in that: Determine the risk assessment factor of the smart factory production process, including: According to the production risk scores at different times in the monitoring interval, the corresponding production risk scores at different timestamps are obtained, the production risk scores at different times in the monitoring interval are fitted, and a suitable data fitting model is selected to obtain the function of the production risk score with respect to time, and the function of the production risk score with respect to time is marked as: PF(t); According to the function of production risk score in the monitoring interval with respect to time, the risk assessment coefficient in the monitoring interval during the production process of the smart factory is obtained, and the risk assessment coefficient in the monitoring interval during the production process of the smart factory is marked as: Among them, FX n is the risk assessment coefficient in the nth monitoring interval, n=1, 2, 3, ..., N, N is a positive integer, n is the number of different monitoring intervals in the production process, t a ~t b is the time period of abnormal device information, t c ~t d is the time period of abnormal product information, t e ~t f is the time period of expected information anomaly, t g ~t h The time period when the energy consumption information is abnormal.
4. The production data processing optimization method based on smart factory according to claim 3 is characterized in that: Determine whether the smart factory can continue production, including: Set a first risk assessment coefficient threshold, and compare the risk assessment coefficient with the first risk assessment coefficient threshold. If the risk assessment coefficient is less than the first risk assessment coefficient threshold, it means that there is a high probability of problems with production within the monitoring interval, and production is stopped and inspected by staff. If the risk assessment coefficient is greater than the first risk assessment coefficient threshold, it means that production within the monitoring interval is good, and the smart factory can continue production operations.
5. The production data processing optimization method based on smart factory according to claim 1 is characterized in that: Analyze the risk assessment coefficients of the smart factory production process, including: Set a monitoring period, obtain risk assessment coefficients for different monitoring intervals within the monitoring period, set a second risk assessment coefficient threshold, compare the risk assessment coefficients for different monitoring intervals within the monitoring period with the second risk assessment coefficient threshold, obtain monitoring intervals greater than the second risk assessment coefficient threshold, and mark the monitoring intervals greater than the second risk assessment coefficient threshold within the monitoring period as warning intervals; Obtain adjacent warning intervals within the monitoring period, and obtain the interval time length between adjacent warning intervals, set the interval time length threshold, compare the interval time length between each adjacent warning interval within the monitoring period with the interval time length threshold, obtain the interval time length that is less than the interval time length threshold, and obtain the time anomaly coefficient through formula calculation.
6. The production data processing optimization method based on smart factory according to claim 1 is characterized in that: Obtain the changing trends of risks in the production process of smart factories, including: The risk change trend in the production process of the smart factory is represented by the trend change coefficient. The logic of obtaining the trend change coefficient is as follows: obtain the risk assessment coefficient of different monitoring intervals within the monitoring period, set the size of the moving average window, and calculate the moving average of the risk assessment coefficient at different time points; The moving average calculation formula of the risk assessment coefficient is: Among them, FX1, FX2, ..., FX f is the risk assessment coefficient of the monitoring interval in the moving average window, s is the size of the moving average window, m = 1, 2, 3, ..., M, M is a positive integer, and m is the number of the moving average of the risk assessment coefficient at different time points in the monitoring period. is the moving average of the risk assessment coefficient at the mth time point; Select the moving average of the risk assessment coefficients at adjacent time points, and calculate the slope of the moving average of adjacent time points. The calculation formula for the slope of the moving average of adjacent time points is: Among them, β1 is the slope of the moving average of the first adjacent time point. Slide the time window forward by one unit time point, continue to calculate the slope of the new adjacent time point, and continue the sliding process until the slope of the moving average of the adjacent time points can no longer be calculated; Calculate the trend change coefficient using the formula: Among them, QS bh is the trend change coefficient, r=1, 2, 3, …, R, R is a positive integer, and r is the number of slopes of the moving average of adjacent time points within the monitoring period.
7. The production data processing optimization method based on smart factory according to claim 1 is characterized in that: Early warning of the production process of smart factories, including: The time anomaly coefficient and the trend change coefficient are weightedly calculated to generate a warning assessment coefficient, and a warning assessment coefficient threshold is set. The warning assessment coefficient is compared with the warning assessment coefficient threshold. If the warning assessment coefficient is greater than the warning assessment coefficient threshold, a warning signal is generated. The warning signal reminds the staff to review the production process of the smart factory in a timely manner to reduce possible risks in the future. If the warning assessment coefficient is less than the warning assessment coefficient threshold, no warning signal is generated.
Citation Information
Cited By
Safety monitoring method and system for chemical production enterprise
CN119338244A
Smart factory production line management and control method, device, equipment and medium
CN119599645A
