Method and apparatus for production anomaly detection
By analyzing production record data, calculating the defective rate and impact score of the production path, and identifying abnormal paths and nodes, the problem of difficult product defect location is solved and production efficiency and quality are improved.
Patent Information
- Application Number
- CN201910939830.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-03-21
AI Technical Summary
In the manufacturing industry, especially in the production process of products such as LCD panels, product defects are often caused by multiple factors. It is difficult to quickly and accurately locate the production paths and nodes that cause defects, affecting production efficiency and quality.
Based on the production record data, the product defect rate of each production path in each production batch is calculated to determine whether it is within the normal range, and abnormalities are judged based on the mean and standard deviation of the defect rate, combining support, confidence, and improvement The impact score is calculated by the degree and the number of batches determined to be normal or abnormal, and abnormal paths and nodes are determined after sorting.
It can quickly and accurately locate the production paths and nodes that cause defects, reduce the incidence of defects, and improve production efficiency and corporate benefits.
Smart Images

Figure CN112579640B
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to the field of data mining, and more particularly to methods and apparatus for production anomaly detection. Background Art
[0002] In recent years, with the rapid development of machine learning and computer software and hardware, computer intelligent learning technology has been widely used in various fields of manufacturing, such as equipment inspection.
[0003] In the manufacturing process of products such as LCD panels, various product defects are often inevitable. There are many factors that lead to product defects, which may involve various links and nodes on the production line. Therefore, a method is needed to accurately, quickly and efficiently determine the work path and even the work node that causes product defects in the production line. Summary of the invention
[0004] In order to at least partially solve or alleviate the above problems, a method, device and computer-readable storage medium for production anomaly detection according to the present disclosure are provided.
[0005] According to a first aspect of the present disclosure, a method for production anomaly detection is provided. The method comprises: determining whether multiple production paths in a production line are normal in one or more production batches based on production record data; and determining at least one production path among the multiple production paths as abnormal based at least in part on whether the multiple production paths are normal in one or more production batches.
[0006] In some embodiments, the step of determining at least one of the multiple production paths as abnormal based at least in part on whether the multiple production paths are normal in one or more production batches includes: determining the impact scores of the multiple production paths on whether their products are normal based on whether the multiple production paths are normal in one or more production batches; and determining at least one of the multiple production paths as abnormal based at least in part on the impact scores of the multiple production paths.
[0007] In some embodiments, the step of determining whether multiple production paths in a production line are normal in one or more production batches based on production record data includes: calculating the product defect rate of each of the multiple production paths in each of the one or more production batches based on the production record data; and determining whether each production path is normal in each production batch based on the product defect rate of the multiple production paths in the one or more production batches.
[0008] In some embodiments, the step of determining whether each production path is normal in each production batch based on the product defective rates of the multiple production paths in the one or more production batches includes: calculating the mean μ and standard deviation σ of the product defective rates of the multiple production paths in the one or more production batches; and for each production path in each production batch, when its product defective rate is outside the interval (μ-3σ, μ+3σ), determining it as abnormal, otherwise determining it as normal.
[0009] In some embodiments, the step of determining the influence scores of the multiple production paths on whether their products are normal based on whether the multiple production paths are normal in one or more production batches includes: for each production path, determining one or any combination of one or more of the following as its influence score: support; confidence; lift; and the harmonic mean of the lift and the number of production batches for which the production path is determined to be normal or abnormal.
[0010] In some embodiments, for each production path determined to be normal, the harmonic mean determined as the impact score is calculated by the following formula:
[0011]
[0012] Among them, F1 represents the impact score of the normal production path on the normal product, lift1 represents the degree of improvement of the normal production path on the normal product, and count1 represents the number of production batches determined as normal by the normal production path.
[0013] In some embodiments, for each production path determined to be abnormal, the harmonic mean determined as the impact score is calculated by the following formula:
[0014]
[0015] Among them, F2 represents the impact score of the abnormal production path on the product abnormality, lift2 represents the lifting degree of the abnormal production path on the product abnormality, and count2 represents the number of production batches determined as abnormal by the abnormal production path.
[0016] In some embodiments, the lift is calculated according to the following formula:
[0017] i=1 or 2
[0018] Among them, n represents the number of production batches determined as normal or abnormal for this production path, m represents the number of production batches passing through this production path, N represents the number of production batches determined as normal or abnormal for all production paths, and M represents the number of production batches for all production paths.
[0019] In some embodiments, the support i and the confidence i It is calculated according to the following formula:
[0020] i=1 or 2
[0021] i=1 or 2.
[0022] In some embodiments, the step of determining at least one of the multiple production paths as abnormal based at least in part on the impact scores of the multiple production paths includes: sorting the impact scores of the multiple production paths; and determining a first number of production paths with top impact scores among the multiple production paths as abnormal.
[0023] In some embodiments, the step of determining at least one of the multiple production paths as abnormal based at least in part on the impact scores of the multiple production paths includes: sorting the impact scores of the multiple production paths; performing association rule analysis on nodes included in a first number of production paths with top impact scores among the multiple production paths to determine a frequent set of nodes; and determining at least one node in the frequent set as an abnormal node.
[0024] In some embodiments, the method further includes: calculating the evidence weight of each node based on whether the multiple production paths are normal in one or more production batches; calculating the information value of the node based on the evidence weight; and determining a second number of nodes with higher information values as the abnormal nodes.
[0025] In some embodiments, the step of calculating the weight of evidence for each node based on whether the multiple production paths are normal in one or more production batches includes: for each node, performing the following operations to determine its weight of evidence, dividing the multiple production paths into two groups according to whether the node is included or not; and calculating the weight of evidence for the node in each group according to the following formula:
[0026] i=1 or 2
[0027] Among them, WOE irepresents the evidence weight of the corresponding node in the production path group including the node and the production path group excluding the node, ln(·) represents the natural logarithm function, G i represents the number of abnormal production batches of the corresponding production path group, G total Indicates the total number of abnormal production batches, B i represents the number of normal production batches of the corresponding production path group, and B total Indicates the total quantity of a normal production batch.
[0028] In some embodiments, the step of calculating the information value of the node based on the evidence weight includes:
[0029]
[0030]
[0031] Among them, IV represents the information value of the node, and IV i is the information value of the node in the corresponding group.
[0032] According to a second aspect of the present disclosure, a device for production anomaly detection is provided, which includes: a processor; and a memory storing instructions, which, when executed by the processor, cause the processor to execute the method according to the first aspect.
[0033] According to a third aspect of the present disclosure, a computer-readable storage medium storing instructions is provided. When the instructions are executed by a processor, the processor executes the method according to the first aspect of the present disclosure.
[0034] By using the methods, devices and / or computer-readable storage media disclosed herein, when product defects occur, the correlation between the product defects and the production paths and production nodes (e.g., production equipment) can be analyzed, thereby quickly and accurately locating the production paths and production nodes that cause the defects, thereby reducing the defect incidence rate and improving production efficiency and corporate benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and other purposes, features and advantages of the present disclosure will be made clearer by describing the preferred embodiments of the present disclosure in conjunction with the accompanying drawings, in which:
[0036] Figure 1 is a schematic diagram showing an example production line to which the method for production abnormality detection according to an embodiment of the present disclosure can be applied.
[0037] Figure 2 is a flow chart illustrating an example method for determining production line abnormalities according to an embodiment of the present disclosure.
[0038] Figure 3 It shows Figure 2 A flowchart of an example implementation of one step is shown.
[0039] Figure 4 It shows Figure 2 A flowchart of an example implementation of another step is shown.
[0040] Figure 5 It shows Figure 2 A flowchart of an example implementation of yet another step is shown.
[0041] Figure 6 is a hardware arrangement diagram showing an example device for production anomaly detection according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] The following is a detailed description of some embodiments of the present disclosure with reference to the accompanying drawings. In the description process, unnecessary details and functions for the present disclosure are omitted to prevent confusion in the understanding of the present disclosure. In this specification, the various embodiments described below for describing the principles of the present disclosure are only illustrative and should not be interpreted in any way as limiting the scope of the disclosure. The following description with reference to the accompanying drawings is used to help fully understand the exemplary embodiments of the present disclosure defined by the claims and their equivalents. The following description includes a variety of specific details to help understand, but these details should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, for the sake of clarity and brevity, the description of well-known functions and structures is omitted. In addition, throughout the accompanying drawings, the same reference numerals are used for the same or similar functions, devices and / or operations. In addition, in the accompanying drawings, the parts are not necessarily drawn to scale. In other words, the relative size, length, etc. of the parts in the accompanying drawings do not necessarily correspond to the actual scale. In addition, all or part of the features described in some embodiments of the present disclosure may also be applied to other embodiments to form new embodiments that still fall within the scope of the present application.
[0043] The present disclosure is not limited to the specific operating system of the device, and may include (but not limited to) Windows, Linux, MacOS, UNIX, Solaris, iOS, Windows Phone, Symbian, Android, etc. Different devices may use the same operating system or different operating systems.
[0044] Although the scheme for determining production line abnormalities according to the embodiments of the present disclosure will be mainly described below in the specific scenario of a liquid crystal display production line, the present disclosure is not limited thereto. In fact, the embodiments of the present disclosure, with appropriate adjustments and modifications, can also be applied to various other situations where it is necessary to detect nodes / paths with abnormal patterns or other patterns, such as detecting efficient nodes that cause ultra-low product defect rates. In other words, as long as it is a scenario where it is necessary to determine the difference in the impact of various nodes in a certain aspect, the scheme according to the embodiments of the present disclosure can be used.
[0045] In addition, more generally, some embodiments of the present disclosure may also be applicable to scenarios for determining anomalies in other workflows. For example, in a shopping guide page of an e-commerce website, different shopping guide workflows (e.g., different checkout pages, shopping pages, recommendation pages, recommendation sequences, checkout sequences, etc.) may cause the same consumer to ultimately make different purchase decisions, or even cause the consumer to give up the purchase. In this case, the anomaly detection solution according to an embodiment of the present disclosure may be used to help determine the path / node in the shopping guide workflow that affects product sales.
[0046] First, combine Figure 1 Detailed description of example scenarios in which the methods according to some embodiments of the present disclosure can be applied. Figure 1 is a schematic diagram showing an example production line 10 to which the production abnormality detection method according to an embodiment of the present disclosure can be applied.
[0047] like Figure 1 As shown, the production line 10 may be composed of multiple processes, and each process may be composed of nodes that provide the same service or manufacture the same intermediate product. Figure 1 In the illustrated embodiment, the production line 10 may include four processes: process 1, process 2, process 3, and process 4. The same process may be implemented by one of the different nodes to achieve parallel large-scale standardized production. Figure 1 As shown, process 1 can be implemented by 4 nodes (i.e., node 1-1 to node 1-4), process 2 can be implemented by 2 nodes (i.e., node 2-1 to node 2-2), process 3 can be implemented by 3 nodes (i.e., node 3-1 to node 3-3), and process 4 can be implemented by 4 nodes (i.e., node 4-1 to node 4-4). However, it should be noted that the number of processes and the number of nodes in each process are not limited to Figure 1 The embodiment shown can be configured according to actual production needs.
[0048] For example, it is assumed that the production line 10 is a liquid crystal panel production line, and process 1 is, for example, a process of preparing a source and drain photoresist pattern in an array substrate, process 2 is, for example, a process of preparing a pixel electrode photoresist pattern, process 3 is, for example, a process of forming a pixel electrode pattern by etching, and process 4 is, for example, a process of preparing a passivation layer pattern, and each node is a device that completes a corresponding process, such as a photolithography machine, a vacuum evaporation machine, a spin coater, etc. However, it should be noted that these processes are only for example purposes, the present disclosure is not limited thereto, and an actual production line may have more, fewer, or different other processes.
[0049] Usually, the intermediate products after completing the same process can be received and processed by any node in the next process. Figure 1 As shown, the product processed by node 2-1 can be distributed to one of nodes 3-1 or 3-2 in process 3, for example, to parallelize production and thus improve production efficiency. Therefore, multiple production paths can be formed in production line 10, for example Figure 1 Production path 1 to production path 4 are shown.
[0050] like Figure 1 As shown, production path 1 may include node 1-1 of process 1, node 2-2 of process 2, node 3-3 of process 3, and node 4-1 of process 4; production path 2 may include node 1-2 of process 1, node 2-1 of process 2, node 3-1 of process 3, and node 4-2 of process 4; production path 3 may include node 1-3 of process 1, node 2-2 of process 2, node 3-3 of process 3, and node 4-4 of process 4; and production path 4 may include node 1-4 of process 1, node 2-1 of process 2, node 3-2 of process 3, and node 4-3 of process 4. Figure 1 As shown, production paths 1 to 4 may have some common nodes. For example, production path 1 and production path 4 share node 2-2 and node 3-3, and production path 2 and production path 3 share node 2-1. In addition, although Figure 1 Although not shown in the figure, in other embodiments, some production paths may also skip a certain process. For example, a production path may include node 1-1 of process 1, node 3-3 of process 3, and node 4-1 of process 4, but no node of process 2, that is, the intermediate product from node 1-1 may go directly to node 3-3 without passing through process 2. In addition, in other embodiments, such as those involving e-commerce, different production paths may have exactly the same nodes, and the only difference is the arrangement order of the nodes.
[0051] like Figure 1As shown, after each process, a final product, such as a liquid crystal panel, can be produced. However, it should be noted that due to differences between nodes and / or paths (e.g., brand, model, process technology, service life, operator, etc.), the yield or defective rate of the final product will be different for each production path. For example, the yield of the product produced by production path 1 may be higher, while the yield of the product produced by production path 2 may be lower. Therefore, in order to improve production efficiency and reduce production costs, it is necessary to be able to identify the production path or even the node method that is likely to cause product defects in the production line, so that the production tasks of the production path or the node can be reduced, or it can be repaired, improved or otherwise disposed of accordingly. On the other hand, it is also necessary to be able to identify the production path or even the node method that is more likely to cause a higher product yield in the production line, so that the production tasks can be allocated to the production path or even the node as much as possible.
[0052] In addition, as mentioned above, when considering the operator, the combination of the same equipment and different operators can also be regarded as different nodes, so that the equipment / operator combination that can improve productivity can be further identified. Figure 1 In the process 1 shown, a combination of one device and one operator is regarded as a node 1-1, and a combination of the device and another operator can be regarded as a node 1-2, and so on.
[0053] In addition, in actual production, multiple production batches may be involved. Therefore, in some embodiments, the same production path may produce different yields in different production batches due to different raw materials, time, etc., and therefore, the production batch is also taken into account as one of the factors below.
[0054] In addition, despite Figure 1 Only four production paths are shown, but the present disclosure is not limited to this. In fact, in actual production, for example, in a production line of a liquid crystal panel, there may be hundreds of processes involved, and each process may involve dozens, hundreds, or even thousands of nodes (e.g., equipment and / or personnel, etc.). Therefore, a solution is needed that can find and identify the production paths and / or nodes that have the greatest impact on product yield or defective rate in this massive amount of data. Figure 2 to Figure 5 Let us describe such a scheme in detail.
[0055] Figure 2 is a flow chart illustrating an example method 200 for production anomaly detection according to an embodiment of the present disclosure.
[0056] like Figure 2As shown, the method 200 may start from the optional step S210. In step S210, the production record data may be pre-processed first to facilitate subsequent data analysis, mining and other operations.
[0057] For example, in the field of liquid crystal panel production, vertical black and white lines are a type of product defect that often occurs in liquid crystal panel production. However, the present disclosure is not limited to this. In fact, product defects may include (but are not limited to), for example: light leakage, black screen, bad pixels, hot spots, black spots, white spots, screen jitter, color abnormality, liquid crystal leakage, liquid crystal bubbles, other physical damage, no backlight, or any other defect that affects the use of the product. In other embodiments such as e-commerce, defects may include (but are not limited to): transaction termination, user return, payment failure, or any defect that affects product / service sales.
[0058] Taking the vertical black-white line defect as an example, data of some node devices in the array substrate production stage and the box assembly stage can be selected, as shown in Table 1 and Table 2 below.
[0059] [Table 1] Array substrate production stage
[0060]
[0061] [Table 2] Box matching stage
[0062]
[0063]
[0064] In addition, since rework may occur during production, the same batch ID or glass substrate ID may correspond to multiple records in the above production record data. In some embodiments, the old historical data may be deleted, and only the last latest production record data may be retained.
[0065] In addition, since data is recorded according to batch ID and glass substrate ID in two different production stages, the recorded data in the box assembly stage can be truncated (for example, the recorded data corresponding to the corresponding glass substrate ID is divided into the recorded data of the corresponding batch ID) to obtain information by batch, and it is concatenated with the data in the array substrate production stage to obtain the following Table 3.
[0066] [Table 3] Total production record data
[0067]
[0068] However, it should be noted that the present disclosure is not limited to the data in the table given above, and may include more, less or other types of data. For example, the defect rate may be replaced by the yield rate, or in the scenario of e-commerce, the defect rate may be replaced by the transaction rate, transaction amount, etc. In addition, it should be noted that step S210 may be optional, and therefore, if, for example, the production record data can be used directly, step S210 does not need to be adopted.
[0069] In this article, the term "production record data" can refer to various data related to the production line, production route, production equipment, production personnel, or production materials and products, including for example (but not limited to): feed list, equipment log, production log, production plan, product statistics, sales data, etc.
[0070] Back to Figure 2 After the optional data preprocessing step S210, the method 200 may proceed to step S220. In step S220, it may be determined whether multiple production paths in the production line are normal in one or more production batches based on the (preprocessed) production record data.
[0071] For example, in the embodiment of the table above, for the production path Z2-U1-Y1-V1 corresponding to batch L1, it can be determined whether it is normal in terms of product production. In some embodiments, the defect rate of the production path Z2-U1-Y1-V1 in batch L1 can be simply compared with a predetermined threshold to determine whether it is normal. If the defect rate is greater than or equal to a predetermined threshold (for example (but not limited to), 2.0%), it is considered abnormal, otherwise it is considered normal. In the case of using a threshold of 2.0%, the production path Z2-U1-Y1-V1 with a defect rate of 0.0% is obviously normal in the production of batch L1. In contrast, the same production path Z2-U1-Y1-V1 with a defect rate of 2.4% is abnormal in the production of batch L7.
[0072] In addition, more complex and detailed methods can be used to determine whether a production path is normal. Figure 3 An implementation of step S220 is described in detail in the embodiment shown.
[0073] Figure 3 It shows Figure 2 Flow chart of an example implementation of step S220 shown in FIG. Figure 3As shown, step S220 may include three sub-steps S310, S320 and S330. In step S310, the product defect rate of each production path in each production batch in one or more production batches can be calculated based on the production record data. For example, as shown in Table 3 above, the product defect rate of each production path in each batch can be calculated. Then, in step S320, the mean μ and standard deviation σ of the product defect rate of multiple production paths in one or more production batches can be calculated. After that, in step S330, for each production path in each production batch, when its product defect rate is outside the interval (μ-3σ, μ+3σ), it can be determined as abnormal (or abnormal), otherwise it is determined as normal. In other words, in steps S320 and S330, it can be determined whether each production path is normal in each production batch based on the product defect rate of multiple production paths in one or more production batches.
[0074] This is because, according to statistical principles, assuming that the product quality is in a normal distribution, the interval (μ-3σ, μ+3σ) will cover approximately 99.7% of the defective rate values. Any error beyond this interval is usually not a random error, but a gross error. In addition, in other embodiments, the interval (μ-2σ, μ+2σ) or (μ-σ, μ+σ) can also be used as a judgment interval. However, since they only cover 95.5% and 68.3% of the defective rate values respectively under the normal distribution, and therefore from a statistical point of view, there is a high probability that the final result will have a systematic error.
[0075] Back to Figure 3 , by adopting the interval (μ-3σ, μ+3σ), the defect rate values of almost all normal production paths can be included. In other words, once a production path with a defect rate exceeding this interval appears, it can be basically determined that there must be significant production problems (for example, equipment failure, etc.). Specifically in the embodiment shown in Table 3, the average value μ is about 1.04%, and the standard deviation σ is about 0.93%, and therefore the interval (μ-3σ, μ+3σ) is about (-1.75%, 3.84%). In this embodiment, considering that the defect rate should not take a negative value, the interval can be equivalently regarded as [0, 3.84%). In other words, a production path with a defect rate falling into this interval should be regarded as normal in the corresponding batch, otherwise it is regarded as abnormal. In the case of adopting this method, all production paths in Table 3 can be regarded as normal in all production batches. However, it should be noted that the data in Table 3 are for illustrative purposes only, and the present disclosure is not limited to this.
[0076] Back to Figure 2After determining whether each production path is normal in its respective production batch in step S220, at least one node of at least one production path among the multiple production paths can be determined as an abnormal node in step S230, at least in part based on whether the multiple production paths are normal in one or more production batches.
[0077] For example, in some simple embodiments, for each production path, the number of production batches determined to be abnormal can be compared with a predetermined threshold. If the number is higher than the predetermined threshold, the production path can be determined to be abnormal, otherwise it can be determined to be normal. Of course, in other embodiments, more complex abnormality determination methods can also be used. For example, it can be combined with Figure 4 An embodiment of determining an abnormal production path to implement step S230 is described in detail.
[0078] Figure 4 It shows Figure 2 FIG. 1 is a flowchart of another exemplary implementation of step S230. Figure 4 As shown, step S230 may include sub-steps S410 and S420.
[0079] In step S410 , the influence scores of the multiple production paths on whether their products are normal may be further determined based on whether the multiple production paths are normal in one or more production batches.
[0080] In this article, the term "influence score" is used to indicate the influence of a production path on whether the products produced through it are qualified. Intuitively speaking, the higher the defective rate of a production path, the greater its influence on the unqualified products. Conversely, the lower the defective rate of a production path, the greater its influence on the qualified products. In addition, the overall defective rate of all production paths can also be considered. For example, if the product defective rate is very high regardless of which production path is used when a specific production line is adopted, it can be explained that the factor of "production path" has a low influence on the change in the defective rate of the product. Relatively speaking, if the product defective rate of most production paths is very high, but only the defective rate of a specific production path is very low, it can be intuitively believed that this production path has a substantial impact on the defective rate (or yield) of the product.
[0081] In order to characterize these considerations, the following concepts "support", "confidence" and "lift" are proposed. In some embodiments, the impact score of a production path can be any one or any combination of its support, confidence, lift, lift and the harmonic mean of the number of production batches determined as normal or abnormal for the production path.
[0082] In this article, the term "support" may indicate the statistical probability of passing through the production path in all the recorded data and the production path being determined as normal (or abnormal) in step S220. For example, assuming that n represents the number of production batches determined as normal (or abnormal) for a production path, m represents the number of production batches passing through the production path, N represents the number of production batches determined as normal (or abnormal) for all production paths, and M represents the number of production batches for all production paths. Then the support of the production path can be calculated as follows:
[0083]
[0084] Among them, support1 may, for example, represent the support of this production path for normal products, and support2 may, for example, represent the support of this production path for abnormal products. In other words, the support reflects the proportion of normal (or abnormal) production path in all recorded data. Therefore, when the proportion is too low, it can be considered that its corresponding impact on the final judgment result is low. Therefore, in some embodiments, when, for example, the calculated support is lower than a certain threshold (for example, a support threshold of 0.15 (the present disclosure is not limited to this)), the influence of this production path on the normal (or abnormal) product may be ignored.
[0085] In addition, in this document, the term "confidence" may indicate the statistical probability of passing through the path in the recorded data related to the production path under investigation and the path being determined as normal (or abnormal) in step S220. The confidence of the production path may be calculated as follows:
[0086]
[0087] Among them, confidence1 may, for example, represent the confidence of the production path for the normality of the product, and confidence2 may, for example, represent the confidence of the production path for the abnormality of the product. In other words, the confidence reflects how likely it is that the product passing through the production path is normal (or abnormal). Similar to the support, in some embodiments, when, for example, the calculated confidence is lower than a certain threshold (for example, a confidence threshold of 0.5 (the present disclosure is not limited to this)), the influence of the production path on the normality (or abnormality) of the product may not be considered.
[0088] In some embodiments, at least one of the multiple production paths may be determined as abnormal based on the influence score of the production paths having a support and / or confidence greater than or equal to a support threshold and / or a confidence threshold. For example, in some embodiments, all production paths that meet the support threshold and the confidence threshold may be determined as abnormal. In other embodiments, Figure 5As shown, some nodes in these production paths are determined as abnormal nodes based on, for example, weight of evidence (WoE) and information value (IV).
[0089] It should be noted that the use of the above support threshold and confidence threshold is optional and not required. In some embodiments, they can be used to reduce the number of subsequent calculations and are therefore not mandatory.
[0090] In addition, in this article, the term "lift" may indicate the lift of the production path under consideration relative to all production paths for whether the product is normal (or abnormal). Therefore, the confidence of this production path can be calculated as follows:
[0091]
[0092] Among them, lift1 can, for example, represent the degree of improvement of the normality of the product in this production path, and lift2 can, for example, represent the degree of improvement of the abnormality of the product in this production path. In other words, the degree of improvement reflects the degree of improvement of the normality (or abnormality) of the product passing through this production path relative to the product passing through other production paths.
[0093] Generally speaking, when the lift is greater than 1, it can indicate that the production path has an improvement in the normality or abnormality of the product, when the lift is equal to 1, it can indicate that the production path has no improvement or reduction in the normality or abnormality of the product, and when the lift is less than 1, it can indicate that the production path has a reduction in the normality or abnormality of the product. Therefore, the greater the lift, the more obvious the improvement effect of the corresponding production path on the normality (or abnormality) of the product, and it can be used as an influence score.
[0094] In addition, for a production path, in addition to reflecting its influence in terms of promotion, the number of times it actually appears in the recorded data should also be considered. In other words, in the recorded data of Table 3, for example, the path Z2-U1-Y1-V1 appears 4 times in Table 3, and therefore its influence should be increased accordingly relative to other production paths. Therefore, in some embodiments, the weighted harmonic mean of the promotion of the production path and the number of recorded data determined to be normal or abnormal can be considered to reflect its influence on the normality or abnormality of the product.
[0095] For example, in Figure 4 In the illustrated embodiment, in step S412, for each production path determined to be normal, its impact score on the normality of the product in the corresponding production batch (for example, the harmonic mean) may be determined by the following formula:
[0096]
[0097] Wherein, F1 represents the impact score of the normal production path on the normality of the product, lift1 represents the degree of improvement of the normal production path on the normality of the product, and count1 represents the number of production batches determined as normal by the normal production path, and β represents the weight factor of lift1 relative to count1. In some embodiments, when β=1, the above formula can be simplified to:
[0098]
[0099] That is, in some embodiments, the impact score may be the harmonic mean of lift and amount.
[0100] Similarly, in Figure 4 In the illustrated embodiment, in step S414, for each production path determined to be abnormal, its impact score (for example, harmonic mean) on product abnormality in the corresponding production batch may be determined by the following formula:
[0101]
[0102] Wherein, F2 represents the impact score of the abnormal production path on the product abnormality, lift2 represents the lifting degree of the abnormal production path on the product abnormality, and count2 represents the number of production batches determined as abnormal by the abnormal production path, and β represents the weight factor of lift2 relative to count2. In some embodiments, when β=1, the above formula can be simplified to:
[0103]
[0104] That is, in some embodiments, the impact score may also be the harmonic mean of lift and amount.
[0105] As described above, in step S410 (step S412 and / or step S414), the impact score of the production path determined to be normal or abnormal on the corresponding product normality or product abnormality can be calculated respectively, and the impact score indicates the influence of the production path on the product quality. In addition, in other embodiments, the impact score on the product abnormality can be calculated for the production path determined to be normal, or the impact score on the product normality can be calculated for the production path determined to be abnormal.
[0106] Next, in step S420, at least one of the multiple production paths may be determined to be abnormal based at least in part on the impact scores of the multiple production paths. For example, in some simple embodiments, the impact scores of the multiple production paths may be ranked, and the first number of production paths with the highest impact scores among the multiple production paths may be determined to be abnormal. For example, the production paths with the impact scores on the defective product ranked in the top three, top five, or top ten may be determined to be abnormal (bad), and these production paths may be avoided as much as possible in subsequent production. Conversely, the production paths with the impact scores on the excellent product ranked in the top three, top five, or top ten (but not limited thereto) may be determined to be abnormal (good), and these production paths may be used as much as possible in subsequent production.
[0107] In addition, in some other embodiments, the impact scores of multiple production paths can be ranked, and then an association rule analysis can be performed on the nodes included in a first number (for example, the top three, top five, or top ten, but not limited to) of the production paths with the top impact scores among the multiple production paths to determine a frequent set of nodes, and then at least one node in the frequent set can be determined as an abnormal node.
[0108] Association rule analysis can be used to determine the most frequently occurring node combinations in the recorded data. The following is a simple example to illustrate the association rule analysis. Let the multiple entries of the production path determined to be abnormal in the recorded data be, for example: {1, 2, 3, 4}, {1, 2, 4}, {1, 2}, {2, 3, 4}, {2, 3}, {3, 4} and {2, 4}. Among them, each entry represents a node included in a production path, for example, {1, 2, 3, 4} means that the production path includes nodes 1, 2, 3 and 4. The most common frequent item sets or frequent sets can be determined as follows.
[0109] First, count the number of occurrences of each node. For example, for the above recorded data, the following results can be obtained:
[0110] node Occurrence 1 3 2 6 3 4 4 5
[0111] For a certain node, it is assumed that a specific occurrence threshold (e.g., 3) needs to be met before the subsequent steps can be continued. At this time, it can be seen that the occurrences of the above nodes 1, 2, 3, and 4 all meet the threshold.
[0112] Next, we need to generate a list of all the frequent binary pairs. For example,
[0113] Node binary pair Occurrence {1,2} 3 {1,3} 1 {1,4} 2 {2,3} 3 {2,4} 4 {3,4} 3
[0114] Similarly, for each binary pair, check whether its number of occurrences meets the threshold. Since the binary pairs {1, 2}, {2, 3}, {2, 4} and {3, 4} meet the threshold, while the binary pairs {1, 3} and {1, 4} do not meet the threshold, the subsequent processing is not continued for the binary pairs {1, 3} and {1, 4} or all k-ary pairs including these two binary pairs.
[0115] Similarly, generate a list of all frequent item triplets. For example,
[0116]
[0117]
[0118] Here, since the ternary pairs {1,2,3} and {1,2,4} include {1,3} and {1,4} excluded in the previous round, respectively, and therefore they do not appear in the subsequent list. In addition, since the number of occurrences of the ternary pair {2,3,4} is 2, the requirement of the threshold value 3 is not met, so there is no ternary pair of frequent items. Thus, the association rule processing can find the frequently occurring node combinations (k-ary pairs) in the record data that affect the abnormal or normal product. In some embodiments, all node combinations found can be regarded as abnormal nodes. In other embodiments, the maximum node combination found (that is, the node n-ary pair that meets the number of occurrence thresholds including the largest number of nodes) can be regarded as abnormal.
[0119] In addition, in some embodiments, one or more node combinations in the frequent item set may be determined as abnormal in whole or in part. In the embodiment where a part of the node combination is determined as abnormal, the criterion for determining whether it is abnormal may be, for example, the aforementioned support, confidence, lift, harmonic mean, or any combination of the aforementioned items. In addition, the definition of support, confidence, and lift of the node combination may be similar to the support, confidence, and lift of the production path, that is, the calculation is performed based on whether the product passes through the node combination (rather than the production path).
[0120] also, Figure 2 The method 200 shown may also include the following combination Figure 5 The described approach determines the steps of abnormal nodes based on evidence weight and information value. Figure 5 It shows Figure 2 A flowchart of an example implementation of another step is shown.
[0121] In such Figure 5In the illustrated embodiment, the method 200 may further include steps S510, S520, and S530. In step S510, the weight of evidence of each node in the aforementioned production line, each node in the aforementioned production path with the highest impact score, or each node in the aforementioned frequent set may be calculated based on the production record data. In step S520, the information value of the node may be calculated based on the weight of evidence. In step S530, a second number of nodes (e.g., the first three, the first five, the first ten, or any other appropriate number) of nodes ranked first in terms of information value may be determined as abnormal nodes.
[0122] However, it should be noted that: in step S510 in the above embodiment, subsequent operations can be performed for each node in the aforementioned production line, each node in the aforementioned production path with the highest impact score, or each node in the aforementioned frequent concentration, but the present disclosure is not limited thereto. In fact, the operation can be performed for all or part of the nodes in all or part of the production paths to obtain similar processing results.
[0123] In addition, in step S510, for each node in any of the aforementioned node sets, the following operations may be performed to determine its evidence weight: First, multiple production paths may be divided into two groups according to whether they include or do not include the node.
[0124] Then the evidence weight of the node in each group is calculated according to the following formula:
[0125]
[0126] Among them, WOE i represents the evidence weight of the corresponding node in the production path group including the node and the production path group excluding the node, ln(·) represents the natural logarithm function, G i represents the number of abnormal production batches of the corresponding production path group, G total Indicates the total number of abnormal production batches, B i represents the number of normal production batches of the corresponding production path group, and B total Indicates the total quantity of a normal production batch.
[0127] In addition, in step S520, the information value may be calculated according to the following formula:
[0128] IV=∑ i IV i , i=1 or 2 (9)
[0129]
[0130] Among them, IV represents the information value of the node, and IV iis the information value of the node in the i-th group.
[0131] The term "weight of evidence (WOE)" is used in statistics to represent the natural logarithm of the ratio of the probability of a "non-event" occurring to the probability of an "event" occurring, which can be used to measure the distribution of these two events. The term "information value (IV)" is usually used in statistics to screen the independent variables selected to enter the statistical model in order to find the modeling variables, which can usually be used to characterize the amount of information that a variable can provide for the judgment result. In other words, if the information value of a variable is higher, it is considered that the more information it can provide for the final judgment result, that is, the more relevant it is to the final judgment result. Specifically in the embodiments of the present disclosure, it can be used to measure the contribution of a node to whether the final product is normal or abnormal. Therefore, in Figure 4 In the illustrated embodiment, the information value is used to help determine whether a node is more relevant to a product anomaly.
[0132] In addition, in step S530, the information values of the nodes may be sorted to determine the nodes with the second number (e.g., the top three, top five, top ten, or any other number) of information values in the top column as abnormal nodes. After the abnormal nodes are determined, corresponding operations may be taken on them. For example, they may be excluded from production scheduling, repaired and calibrated, repaired to improve their product yield, and so on.
[0133] Thus, by using the combination of the present disclosure Figure 2 to Figure 5 The described method can quickly and accurately locate the production path and production node that cause the defect by analyzing the correlation between the product defect and the production path and production node (for example, production equipment) when a product defect occurs, thereby reducing the defect incidence rate and improving production efficiency and enterprise benefits.
[0134] Figure 6 6 is a diagram showing a hardware arrangement of an example device 600 for production anomaly detection according to an embodiment of the present disclosure. The hardware arrangement 600 includes a processor 606 (e.g., a digital signal processor (DSP)). The processor 606 can be a single processing unit or multiple processing units for performing different actions of the processes described herein. The arrangement 600 can also include an input unit 602 for receiving signals from other entities, and an output unit 604 for providing signals to other entities. The input unit 602 and the output unit 604 can be arranged as a single entity or as separate entities.
[0135] Furthermore, the arrangement 600 may include at least one readable storage medium 608 in the form of a non-volatile or volatile memory, such as an electrically erasable programmable read-only memory (EEPROM), a flash memory, and / or a hard drive. The readable storage medium 608 includes a computer program 610, which includes code / computer-readable instructions, which when executed by the processor 606 in the arrangement 600 enables the hardware arrangement 600 and / or a device including the hardware arrangement 600 to perform, for example, the above-mentioned combined operation. Figure 2 to Figure 5 The described process and any variations thereof.
[0136] The computer program 610 may be configured as computer program code having, for example, a computer program module 610A-610B architecture. Thus, the code in the computer program of arrangement 600 includes: a module 610A for determining whether multiple production paths in a production line are normal in one or more production batches based on production record data. The code in the computer program also includes: a module 610B for determining at least one production path in the multiple production paths as abnormal based at least in part on whether the multiple production paths are normal in one or more production batches.
[0137] A computer program module can essentially execute Figure 2 to Figure 5 The various actions in the flow shown in the embodiment of the present invention can be used to simulate any hardware implementation. In other words, when different computer program modules are executed in the processor 606, they can correspond to different units in any hardware implementation.
[0138] Although the above combination Figure 6 The code means in the disclosed embodiments are implemented as computer program modules, which when executed in the processor 606 cause the hardware arrangement 600 to perform the above combined Figure 2 to Figure 5 The actions described, however, in an alternative embodiment, at least one of the code means may be at least partially implemented as a hardware circuit.
[0139] The processor may be a single CPU (central processing unit), but may also include two or more processing units. For example, the processor may include a general-purpose microprocessor, an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)). The processor may also include onboard memory for caching purposes. The computer program may be carried by a computer program product connected to the processor. The computer program product may include a computer-readable medium on which the computer program is stored. For example, the computer program product may be a flash memory, a random access memory (RAM), a read-only memory (ROM), an EEPROM, and the above-mentioned computer program modules may be distributed to different computer program products in the form of a memory in the device in an alternative embodiment.
[0140] The present disclosure has been described so far in conjunction with the preferred embodiments. It should be understood that those skilled in the art may make various other changes, substitutions and additions without departing from the spirit and scope of the present disclosure. Therefore, the scope of the present disclosure is not limited to the above-mentioned specific embodiments, but should be limited by the appended claims.
[0141] In addition, functions described herein as being implemented by pure hardware, pure software, and / or firmware may also be implemented by dedicated hardware, a combination of general hardware and software, etc. For example, functions described as being implemented by dedicated hardware (e.g., field programmable gate array (FPGA), application specific integrated circuit (ASIC), etc.) may be implemented by a combination of general hardware (e.g., central processing unit (CPU), digital signal processor (DSP)) and software, and vice versa.
Claims
1. A method for production anomaly detection executed by a processor, comprising: determining whether a plurality of production paths in a production line are normal in one or more production batches based on production record data; as well as determining at least one production path among the plurality of production paths as abnormal based at least in part on whether the plurality of production paths are normal in one or more production batches; The step of determining at least one of the multiple production paths as abnormal based at least in part on whether the multiple production paths are normal in one or more production batches comprises: determining, based on whether the multiple production paths are normal in one or more production batches, influence scores of the multiple production paths on whether their products are normal; and determining at least one production path of the plurality of production paths as abnormal based at least in part on the impact scores of the plurality of production paths; The step of determining the influence scores of the multiple production paths on whether their products are normal based on whether the multiple production paths are normal in one or more production batches includes: for each production path, determining the following as its influence score: the harmonic mean of the lift and the number of production batches determined as normal or abnormal for the production path; Among them, for each production path determined to be normal, the harmonic mean is calculated by the following formula: Among them, F1 represents the impact score of the normal production path on the normal product, lift1 represents the degree of improvement of the normal production path on the normal product, and count1 represents the number of production batches determined as normal by the normal production path.
2. The method according to claim 1, wherein: The steps of determining whether a plurality of production paths in a production line are normal in one or more production batches based on production record data include: Calculating a product defect rate of each production path in each of the one or more production batches based on the production record data; and Whether each production path is normal in each production batch is determined based on the product defect rates of the multiple production paths in the one or more production batches and the threshold range of the product defect rates.
3. The method according to claim 2, wherein: The step of determining whether each production path is normal in each production batch based on the product defect rates of the multiple production paths in the one or more production batches and the threshold range of the product defect rates comprises: Calculating the mean μ and standard deviation σ of the product defect rates of the multiple production paths in the one or more production batches; and For each production path in each production batch, when its product defect rate is outside the threshold interval (μ-3σ, μ+3σ), it is determined as abnormal, otherwise it is determined as normal.
4. The method according to claim 1, wherein: The step of determining the influence scores of the multiple production paths on whether their products are normal based on whether the multiple production paths are normal in one or more production batches further includes: for each production path, determining the influence score of one or more of the following items or any combination of the following items and the harmonic mean: Support; Confidence; Improvement degree.
5. The method according to claim 1, wherein: For each production path determined to be abnormal, the harmonic mean determined as the impact score is calculated by the following formula: Among them, F2 represents the impact score of the abnormal production path on the product abnormality, lift2 represents the lifting degree of the abnormal production path on the product abnormality, and count2 represents the number of production batches determined as abnormal by the abnormal production path.
6. The method according to claim 1 or 5, wherein: The lift is calculated according to the following formula: Among them, n represents the number of production batches determined as normal or abnormal for this production path, m represents the number of production batches passing through this production path, N represents the number of production batches determined as normal or abnormal for all production paths, and M represents the number of production batches for all production paths.
7. The method according to claim 4, wherein: The support i and the confidence i It is calculated according to the following formula: Wherein, n represents the number of production batches determined as normal or abnormal on this production path, m represents the number of production batches passing through this production path, and M represents the number of production batches on all production paths.
8. The method according to claim 1, wherein: Based at least in part on the impact scores of the plurality of production paths, determining at least one of the plurality of production paths as abnormal further comprises: ranking the impact scores of the plurality of production paths; and A first number of production paths with top impact scores among the plurality of production paths are determined as abnormal.
9. The method according to claim 1, wherein: Based at least in part on the impact scores of the plurality of production paths, determining at least one of the plurality of production paths as abnormal comprises: ranking the impact scores of the multiple production paths; performing association rule analysis on nodes included in a first number of production paths with top influence scores among the plurality of production paths to determine a frequent set of nodes; and One or more node combinations in the frequent set are determined as abnormal.
10. The method according to claim 9, wherein: The step of determining one or more node combinations in the frequent set as abnormal comprises: For each node combination in the frequent set, determining an impact score of whether the node combination is normal on its product based on whether the node combination is normal in one or more production batches; and Based at least in part on the influence score of each node combination in the frequent set, one or more of the node combinations are determined to be anomalous.
11. The method according to claim 1, further comprising: Calculating the weight of evidence for each node based on whether the multiple production paths are normal in one or more production batches; Calculating the information value of the node based on the evidence weight; as well as The second number of nodes with the information values ranked first are determined as abnormal nodes.
12. The method according to claim 11, wherein: The step of calculating the weight of evidence of each node based on whether the multiple production paths are normal in one or more production batches includes: For each node, do the following to determine its weight of evidence: Dividing the plurality of production paths into two groups according to whether they include or do not include the node; The evidence weight of the node in each group is calculated according to the following formula: Among them, WOE i represents the evidence weight of the corresponding node in the production path group including the node and the production path group excluding the node, ln(·) represents the natural logarithm function, G i represents the number of abnormal production batches of the corresponding production path group, G total Indicates the total number of abnormal production batches, B i represents the number of normal production batches of the corresponding production path group, and B total Indicates the total quantity of a normal production batch.
13. The method according to claim 12, wherein: The step of calculating the information value of the node based on the evidence weight comprises: Among them, IV represents the information value of the node, and IV i is the information value of the node in the corresponding group.
14. A device for production anomaly detection, comprising: processor; A memory having instructions stored thereon, wherein when the instructions are executed by the processor, the processor is caused to perform the method according to any one of claims 1 to 13.
15. A computer-readable storage medium storing instructions, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 13.
