Abnormal type determination method and device of processing procedure and readable storage medium

Through the training and adjustment of quality performance index data through the BP neural network model, abnormal types of processing procedures are identified, which solves the problem of being unable to quickly judge the abnormal status of processing procedures in the existing technology and improves the accuracy and efficiency of quality control.

CN118734209APending Publication Date: 2024-10-01BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310336746.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology cannot accurately and quickly determine whether the processing process during the production process is in an abnormal state, resulting in insufficient quality control, which may lead to misjudgment and unnecessary quality loss.

Method used

The BP neural network model is used to train the target quality performance index data. By adjusting the learning rate and the maximum number of iterations, based on the relationship between the first difference value and the threshold value, the abnormal type of the processing process is determined, and then the abnormal phenomenon is identified.

Benefits of technology

It can help workshop staff discover abnormal phenomena in the current process in a timely manner and provide guidance for discovering the causes of abnormalities, improving the accuracy and efficiency of quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734209A_ABST
    Figure CN118734209A_ABST
Patent Text Reader

Abstract

The invention provides a processing procedure abnormity type determination method and device and a readable storage medium, and relates to the technical field of manufacturing. The method comprises the following steps: acquiring target quality performance index data of a target processing procedure; taking the target quality performance index data as input of a BP neural network, training a BP neural network model through iterative computation, and calculating an error of a BP neural network output layer of each iterative computation; according to the relation between the first difference value and the threshold value, at least one of the learning rate and the maximum number of iterations of iterative calculation is adjusted, and a target model is obtained; and according to the target model and the target quality performance index data, determining an abnormal type of the target processing procedure. According to the scheme, workshop workers can be helped to find the abnormal phenomenon of the current working procedure in time, and guidance is provided for the workshop workers to find abnormal reasons. The problem that whether the machining procedure in the current production process is in the abnormal state or not cannot be accurately and rapidly judged is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of manufacturing technology, and in particular to a method, a device and a readable storage medium for determining an abnormal type of a processing procedure. Background Art

[0002] At present, the quality control means and methods for the production process are relatively weak. The traditional product quality control method mainly uses manual monitoring tools to test the product. If the test data of the product meets the requirements, the product can be judged as qualified, thereby ensuring the quality of the product. Although this method can determine whether the product is qualified, it cannot identify possible anomalies in the processing process, cannot predict the quality status of future products, and may even cause misjudgment and other problems, thus causing unnecessary quality losses to the company. Therefore, the current quality control means and methods cannot accurately and quickly determine whether the processing procedures in the current production process are in an abnormal state. Summary of the invention

[0003] The purpose of the present invention is to provide a method, device and readable storage medium for determining the abnormal type of a processing procedure, so as to solve the problem in the prior art that it is impossible to accurately and quickly determine whether a processing procedure in the current production process is in an abnormal state.

[0004] To achieve the above object, an embodiment of the present invention provides a method for determining an abnormal type of a processing procedure, comprising:

[0005] Obtain target quality performance index data of target processing procedures;

[0006] Using the target quality performance index data as the input of the BP neural network, training the BP neural network model through iterative calculation, and calculating the error of the BP neural network output layer in each iterative calculation;

[0007] According to the relationship between the first difference and the threshold value, at least one of the learning rate and the maximum number of iterations of the iterative calculation is adjusted to obtain a target model, wherein the first difference is the difference between the first error and the second error, the first error is the calculation error corresponding to the current number of iterations N, the second error is the error calculated for the N-1th iteration, and the target model is used to indicate the corresponding relationship between the quality performance index and the abnormal type of the processing procedure, wherein N is an integer greater than or equal to 4;

[0008] The abnormal type of the target processing step is determined according to the target model and the target quality performance indicator data.

[0009] Further, the step of adjusting at least one of an iteratively calculated learning rate and a maximum number of iterations according to a relationship between the first difference and the threshold value to obtain a target model includes:

[0010] When the number of iterations of the iterative calculation is greater than a first threshold, determining the first difference;

[0011] If the first difference is greater than or equal to a first threshold, reducing the learning rate and re-performing iterative calculation until the first difference is greater than a second threshold and less than the first threshold;

[0012] If the first difference is less than or equal to the second threshold, increasing the learning rate and re-performing iterative calculation until the first difference is greater than the second threshold and less than the first threshold;

[0013] If the first difference is greater than the second threshold and less than the first threshold, and the second difference and the third difference are both greater than the second threshold and less than the first threshold, the current BP neural network model is determined to be the target model, the current number of iterations is the maximum number of iterations, the second difference is the difference between the second error and the third error, the third difference is the difference between the third error and the fourth error, the third error is the error calculated for the N-2th iteration, and the fourth error is the error calculated for the N-3th iteration.

[0014] Further, the calculation of the error of the BP neural network output layer in each iterative calculation includes:

[0015] Obtaining the input value of the BP neural network output layer;

[0016] Using the input value of the BP neural network output layer as the input of the activation function, calculating the output value of the BP neural network output layer;

[0017] The error of the BP neural network output layer is calculated according to the output value and the target quality performance indicator data.

[0018] Furthermore, the obtaining of the input value of the output layer of the BP neural network includes:

[0019] Get the output value of the hidden layer of the BP neural network;

[0020] Determine a first number of nodes in the BP neural network output layer and a second number of nodes in the BP neural network hidden layer of the BP neural network;

[0021] The input value of the output layer of the BP neural network is determined according to the output value of the hidden layer of the BP neural network, the first number and the second number.

[0022] Furthermore, the obtaining of the output value of the hidden layer of the BP neural network includes:

[0023] Obtaining the input value of the hidden layer of the BP neural network;

[0024] The input value of the hidden layer of the BP neural network is used as the input of the activation function to calculate the output value of the hidden layer of the BP neural network.

[0025] Furthermore, the step of obtaining the input value of the hidden layer of the BP neural network includes:

[0026] Determining a third number of nodes of the BP neural network input layer of the BP neural network;

[0027] The input value of the hidden layer of the BP neural network is calculated according to the third quantity, the second quantity and the target quality performance indicator data.

[0028] Furthermore, the step of obtaining target quality performance index data of a target processing step includes:

[0029] Simulating the quality performance index by Monte Carlo method to generate the target quality performance index data;

[0030] The target quality performance indicator data includes a training data set and a verification data set corresponding to at least one control chart pattern.

[0031] Furthermore, the control diagram mode includes at least one of the following:

[0032] Normal control chart pattern, hierarchical control chart pattern, system control chart pattern, periodic control chart pattern, ascending control chart pattern and descending control chart pattern.

[0033] To achieve the above object, an embodiment of the present invention provides a device for determining an abnormal type of a processing procedure, comprising:

[0034] An acquisition module, used to acquire target quality performance index data of a target processing procedure;

[0035] A training module, used to use the target quality performance index data as the input of the BP neural network, train the BP neural network model through iterative calculation, and calculate the error of the BP neural network output layer in each iterative calculation;

[0036] An adjustment module, used for adjusting at least one of a learning rate and a maximum number of iterations of the iterative calculation according to a relationship between a first difference and a threshold value, to obtain a target model, wherein the first difference is a difference between a first error and a second error, the first error is a calculation error corresponding to a current number of iterations N, the second error is an error calculated for an N-1th iteration, and the target model is used to indicate a corresponding relationship between a quality performance indicator and an abnormality type of a processing procedure, wherein N is an integer greater than or equal to 4;

[0037] A determination module is used to determine the abnormal type of the target processing procedure according to the target model and the target quality performance indicator data.

[0038] To achieve the above object, an embodiment of the present invention provides a readable storage medium having a program or instruction stored thereon, which, when executed by a processor, implements the steps in the method for determining the abnormal type of a processing step as described above.

[0039] The beneficial effects of the above technical solution of the present invention are as follows:

[0040] The method for determining the abnormal type of a processing procedure of an embodiment of the present invention trains the BP neural network model by acquiring the target quality performance index data of the target processing procedure, and adjusts the learning rate and the maximum number of iterations for training the BP neural network model by comparing the relationship between the first difference value and the threshold value, thereby obtaining the target model, and then determining the abnormal type of the target processing procedure according to the target model and the target quality performance index. It can help workshop staff to promptly discover abnormal phenomena in the current process and provide guidance for them to discover the causes of the abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the steps of a method for determining an abnormal type of a processing step according to an embodiment of the present invention;

[0042] Figure 2 It is a schematic diagram of the structure of the device for determining the abnormal type of a processing step according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0044] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0045] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following 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 invention.

[0046] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0047] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0048] like Figure 1 As shown, a method for determining an abnormal type of a processing step according to an embodiment of the present invention includes the following steps:

[0049] Step 101, obtaining target quality performance index data of a target processing procedure;

[0050] Step 102, using the target quality performance index data as the input of the BP neural network, training the BP neural network model through iterative calculation, and calculating the error of the BP neural network output layer in each iterative calculation;

[0051] Step 103, according to the relationship between the first difference and the threshold value, at least one of the learning rate and the maximum number of iterations of the iterative calculation is adjusted to obtain a target model, wherein the first difference is the difference between the first error and the second error, the first error is the calculation error corresponding to the current number of iterations N, the second error is the error calculated for the N-1th iteration, and the target model is used to indicate the corresponding relationship between the quality performance index and the abnormal type of the processing procedure, wherein N is an integer greater than or equal to 4;

[0052] Step 104: Determine the abnormality type of the target processing step according to the target model and the target quality performance indicator data.

[0053] Optionally, before determining the abnormal type of the target processing step according to the target model and the target quality performance indicator data, the method further comprises:

[0054] A control chart pattern recognition algorithm of a BP neural network or an SPC analysis algorithm based on an SPC abnormality judgment criterion is used to determine whether there is an abnormality in the target processing procedure.

[0055] In one embodiment of the present invention, the target quality performance index data is used as the input of the BP neural network, and the BP neural network model is trained through iterative calculation, including:

[0056] Initialize algorithm parameters; wherein the initialization parameters include: initial weight, learning rate, learning rate increase coefficient, learning rate reduction coefficient, and maximum number of iterations;

[0057] Determine whether the number of iterations reaches the maximum number of iterations; if not, use the target quality performance indicator data as the training data set to perform a forward propagation algorithm to calculate the activation value and a back propagation algorithm to calculate the error; if the maximum number of iterations is reached, the model training is completed.

[0058] The method for determining the abnormal type of a processing procedure of an embodiment of the present invention trains the BP neural network model by acquiring the target quality performance index data of the target processing procedure, and adjusts the learning rate and the maximum number of iterations for training the BP neural network model by comparing the relationship between the first difference value and the threshold value, thereby obtaining the target model, and then determining the abnormal type of the target processing procedure according to the target model and the target quality performance index. It can help workshop staff to promptly discover abnormal phenomena in the current process and provide guidance for them to discover the causes of the abnormalities.

[0059] Optionally, adjusting at least one of a learning rate and a maximum number of iterations of iterative calculation according to a relationship between the first difference and the threshold value to obtain a target model includes:

[0060] When the number of iterations of the iterative calculation is greater than a first threshold, determining the first difference;

[0061] If the first difference is greater than or equal to a first threshold, reducing the learning rate and re-performing iterative calculation until the first difference is greater than a second threshold and less than the first threshold;

[0062] If the first difference is less than or equal to the second threshold, increasing the learning rate and re-performing iterative calculation until the first difference is greater than the second threshold and less than the first threshold;

[0063] If the first difference is greater than the second threshold and less than the first threshold, and the second difference and the third difference are both greater than the second threshold and less than the first threshold, the current BP neural network model is determined to be the target model, the current number of iterations is the maximum number of iterations, the second difference is the difference between the second error and the third error, the third difference is the difference between the third error and the fourth error, the third error is the error calculated for the N-2th iteration, and the fourth error is the error calculated for the N-3th iteration.

[0064] Optionally, the first threshold and the second threshold are both values ​​close to zero, and the first threshold is greater than the second threshold.

[0065] Optionally, reducing the learning rate comprises:

[0066] The learning rate is multiplied by the learning rate reduction factor.

[0067] Optionally, increasing the learning rate includes:

[0068] The learning rate is multiplied by a learning rate increase factor.

[0069] In one embodiment of the present invention, a threshold range is divided for the first difference, that is, between the first threshold and the second threshold. When the first difference is greater than or equal to the first threshold, that is, the error of the model is gradually increasing, the learning rate and the maximum number of iterations are adjusted, and the iterative calculation is performed again. When the first difference is less than or equal to the second threshold, that is, the error of the model is gradually decreasing, and the change amplitude is small, although the calculation accuracy is high, the number of iterations is large, the calculation cycle is long and the computing resources occupied are large, then the learning rate is increased and the iterative calculation is performed again. If the first difference is greater than the second threshold and less than the first threshold, that is, the accuracy of the model is in an appropriate range, it is determined whether the difference values ​​for three consecutive times are between the first threshold and the second threshold. If so, the current BP neural network model is the target model, and the current number of iterations is the maximum number of iterations.

[0070] The method for determining the abnormal type of a machining process in an embodiment of the present invention adjusts the learning rate and the maximum number of iterations by judging the first difference, thereby saving computing cycles and computing resources while ensuring the accuracy of the model.

[0071] Optionally, the calculating of the error of the BP neural network output layer in each iterative calculation includes:

[0072] Obtaining the input value of the BP neural network output layer;

[0073] Using the input value of the BP neural network output layer as the input of the activation function, calculating the output value of the BP neural network output layer;

[0074] The error of the BP neural network output layer is calculated according to the output value and the target quality performance indicator data.

[0075] Optionally, the output value of the BP neural network output layer is calculated by the following formula:

[0076] a (3) =g(z (3) )

[0077] Among them, a (3) represents the output value of the output layer of the BP neural network; g(z) represents the activation function; z (3) Represents the input value of the BP neural network output layer.

[0078] Optionally, the error of the BP neural network output layer is calculated by the following formula:

[0079] δ (3)=a (3) -y

[0080]

[0081] Among them, δ (3) Represents the output layer error of the BP neural network; δ (2) Represents the hidden layer error of the BP neural network: a (3) represents the output value of the BP neural network output layer; y represents the actual output value matrix of the BP neural network; Represents the transpose of the weight matrix between the hidden layer and the output layer of the BP neural network.

[0082] Optionally, obtaining the input value of the BP neural network output layer includes:

[0083] Get the output value of the hidden layer of the BP neural network;

[0084] Determine a first number of nodes in the BP neural network output layer and a second number of nodes in the BP neural network hidden layer of the BP neural network;

[0085] The input value of the output layer of the BP neural network is determined according to the output value of the hidden layer of the BP neural network, the first number and the second number.

[0086] Optionally, the input value of the BP neural network output layer is calculated by the following formula:

[0087] z (3) =W ho ×a (2)

[0088] Among them, z (3) represents the input value of the output layer of the BP neural network, W ho Represents N o ×N h The weight matrix, N o represents the number of nodes in the output layer of the BP neural network, that is, the number of control graph pattern types, N h represents the number of nodes in the hidden layer of the BP neural network; a (2) Represents the output value of the hidden layer of the BP neural network.

[0089] Optionally, obtaining the output value of the hidden layer of the BP neural network includes:

[0090] Obtaining the input value of the hidden layer of the BP neural network;

[0091] The input value of the hidden layer of the BP neural network is used as the input of the activation function to calculate the output value of the hidden layer of the BP neural network.

[0092] Optionally, the output value of the hidden layer of the BP neural network is calculated by the following formula:

[0093] a (2) =g(z (2) )

[0094] Among them, a (2) represents the output value of the hidden layer of the BP neural network, g(z) represents the activation function, z (2) Represents the hidden layer input value of the BP neural network.

[0095] Optionally, the obtaining of the input value of the hidden layer of the BP neural network includes:

[0096] Determining a third number of nodes of the BP neural network input layer of the BP neural network;

[0097] The input value of the hidden layer of the BP neural network is calculated according to the third quantity, the second quantity and the target quality performance indicator data.

[0098] Optionally, the input value of the hidden layer of the BP neural network is calculated by the following formula:

[0099] z (2) =W ih ×

[0100] Among them, z (2) represents the input value of the hidden layer of the BP neural network, W ih Represents Nh×N i The weight matrix of h Represents the number of hidden layer nodes of the BP neural network, N i represents the number of nodes in the input layer of the BP neural network, that is, the number of samples in the target quality performance index training set of the target processing step; x represents the data matrix corresponding to one sample in the quality performance index training set.

[0101] Optionally, the obtaining of target quality performance indicator data of a target processing step includes:

[0102] Simulating the quality performance index by Monte Carlo method to generate the target quality performance index data;

[0103] The target quality performance indicator data includes a training data set and a verification data set corresponding to at least one control chart pattern.

[0104] Optionally, simulating the quality performance indicator by Monte Carlo method to generate the target quality performance indicator data includes:

[0105] Generate normal control chart pattern data according to the following formula:

[0106] x i =μ+(0.1+0.8×r(t)×δ)

[0107] Among them, μ=0,δ=1,r(t)∈(0,1),i represents the i-th data.

[0108] Generate hierarchical control chart pattern data according to the following formula:

[0109] x i =μ+(0.4+0.2×r(t))×δ

[0110] Among them, μ=0, δ=1, r(t)∈(0,1).

[0111] Generate system control chart model data according to the following formula:

[0112] x i =μ+(0.5+(0.3+0.2×r(t))×(-1) d )×δ

[0113] Among them, μ=0, δ=1, r(t)∈(0,1), d∈{-1,1}.

[0114] Generate periodic control chart pattern data according to the following formula:

[0115]

[0116] Among them, μ=0, δ=1, r(t)∈(0,1), T=6,12.

[0117] Generate ascending control chart pattern data according to the following formula:

[0118] x i =μ+(0.1+0.2×r(t)+0.02i×(0.9+0.1×r(t)))×δ

[0119] Among them, μ=0, δ=1, r(t)∈(0,1), i=1,2,…,n.

[0120] Generate the descending control chart pattern data according to the following formula:

[0121] x i =μ+(0.9-0.2×r(t)-0.02i×(0.9+0.1×r(t)))×δ

[0122] Among them, μ=0, δ=1, r(t)∈(0,1), i=1,2,…,n.

[0123] Optionally, the control diagram mode includes at least one of the following:

[0124] Normal control chart pattern, hierarchical control chart pattern, system control chart pattern, periodic control chart pattern, ascending control chart pattern and descending control chart pattern.

[0125] like Figure 2 As shown, the embodiment of the present invention further provides a device 200 for determining an abnormal type of a processing procedure, comprising:

[0126] An acquisition module 201 is used to acquire target quality performance index data of a target processing step;

[0127] The training module 202 is used to use the target quality performance index data as the input of the BP neural network, train the BP neural network model through iterative calculation, and calculate the error of the output layer of the BP neural network in each iterative calculation;

[0128] An adjustment module 203 is used to adjust at least one of the learning rate and the maximum number of iterations of the iterative calculation according to the relationship between the first difference and the threshold value to obtain a target model, wherein the first difference is the difference between the first error and the second error, the first error is the calculation error corresponding to the current number of iterations N, the second error is the error calculated for the N-1th iteration, and the target model is used to indicate the corresponding relationship between the quality performance index and the abnormal type of the processing procedure, wherein N is an integer greater than or equal to 4;

[0129] The determination module 204 is used to determine the abnormal type of the target processing step according to the target model and the target quality performance indicator data.

[0130] The device for determining the abnormal type of a processing procedure of the embodiment of the present invention trains the BP neural network model by acquiring the target quality performance index data of the target processing procedure, and adjusts the learning rate and the maximum number of iterations for training the BP neural network model by comparing the relationship between the first difference value and the threshold value, thereby obtaining the target model, and then determining the abnormal type of the target processing procedure according to the target model and the target quality performance index. It can help workshop staff to promptly discover abnormal phenomena in the current process and provide guidance for them to discover the causes of the abnormalities.

[0131] An embodiment of the present invention also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the method for determining the abnormal type of a processing procedure as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0132] The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0133] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.

[0134] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0135] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0136] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0137] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and / or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of that range and any subranges therebetween.

[0138] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for determining the abnormal type of a processing procedure, It is characterized in that include: Obtain target quality performance index data of target processing procedures; Using the target quality performance index data as the input of the BP neural network, training the BP neural network model through iterative calculation, and calculating the error of the BP neural network output layer in each iterative calculation; According to the relationship between the first difference and the threshold value, at least one of the learning rate and the maximum number of iterations of the iterative calculation is adjusted to obtain a target model, wherein the first difference is the difference between the first error and the second error, the first error is the calculation error corresponding to the current number of iterations N, the second error is the error calculated for the N-1th iteration, and the target model is used to indicate the corresponding relationship between the quality performance index and the abnormal type of the processing procedure, wherein N is an integer greater than or equal to 4; The abnormal type of the target processing step is determined according to the target model and the target quality performance indicator data.

2. The method for determining the abnormality type of a processing step according to claim 1, It is characterized in that The step of adjusting at least one of an iteratively calculated learning rate and a maximum number of iterations according to a relationship between the first difference and the threshold value to obtain a target model includes: When the number of iterations of the iterative calculation is greater than a first threshold, determining the first difference; If the first difference is greater than or equal to a first threshold, reducing the learning rate and re-performing iterative calculation until the first difference is greater than a second threshold and less than the first threshold; If the first difference is less than or equal to the second threshold, increasing the learning rate and re-performing iterative calculation until the first difference is greater than the second threshold and less than the first threshold; If the first difference is greater than the second threshold and less than the first threshold, and the second difference and the third difference are both greater than the second threshold and less than the first threshold, the current BP neural network model is determined to be the target model, the current number of iterations is the maximum number of iterations, the second difference is the difference between the second error and the third error, the third difference is the difference between the third error and the fourth error, the third error is the error calculated for the N-2th iteration, and the fourth error is the error calculated for the N-3th iteration.

3. The method for determining the abnormality type of a processing step according to claim 1, It is characterized in that The calculating of the error of the BP neural network output layer calculated in each iteration includes: Obtaining the input value of the BP neural network output layer; Using the input value of the BP neural network output layer as the input of the activation function, calculating the output value of the BP neural network output layer; The error of the BP neural network output layer is calculated according to the output value and the target quality performance indicator data.

4. The method for determining the abnormality type of a processing step according to claim 1, It is characterized in that The step of obtaining the input value of the BP neural network output layer comprises: Get the output value of the hidden layer of the BP neural network; Determine a first number of nodes in the BP neural network output layer and a second number of nodes in the BP neural network hidden layer of the BP neural network; The input value of the output layer of the BP neural network is determined according to the output value of the hidden layer of the BP neural network, the first number and the second number.

5. The method for determining the abnormality type of a processing step according to claim 4, It is characterized in that The step of obtaining the output value of the hidden layer of the BP neural network comprises: Obtaining the input value of the hidden layer of the BP neural network; The input value of the hidden layer of the BP neural network is used as the input of the activation function to calculate the output value of the hidden layer of the BP neural network.

6. The method for determining the abnormality type of a processing step according to claim 5, It is characterized in that The step of obtaining the input value of the hidden layer of the BP neural network comprises: Determining a third number of nodes of the BP neural network input layer of the BP neural network; The input value of the hidden layer of the BP neural network is calculated according to the third quantity, the second quantity and the target quality performance indicator data.

7. The method for determining the abnormality type of a processing step according to claim 1, It is characterized in that The step of obtaining target quality performance index data of a target processing step includes: Simulating the quality performance index by Monte Carlo method to generate the target quality performance index data; The target quality performance indicator data includes a training data set and a verification data set corresponding to at least one control chart pattern.

8. The method for determining the abnormality type of a processing step according to claim 7, It is characterized in that The control chart mode includes at least one of the following: Normal control chart pattern, hierarchical control chart pattern, system control chart pattern, periodic control chart pattern, ascending control chart pattern and descending control chart pattern.

9. A device for determining the abnormal type of a processing step, It is characterized in that include: An acquisition module, used to acquire target quality performance index data of a target processing procedure; A training module, used to use the target quality performance index data as the input of the BP neural network, train the BP neural network model through iterative calculation, and calculate the error of the output layer of the BP neural network in each iterative calculation; An adjustment module, used for adjusting at least one of a learning rate and a maximum number of iterations of iterative calculation according to a relationship between a first difference and a threshold value, to obtain a target model, wherein the first difference is a difference between a first error and a second error, the first error is a calculation error corresponding to a current number of iterations N, the second error is an error calculated for an N-1th iteration, and the target model is used to indicate a corresponding relationship between a quality performance indicator and an abnormality type of a processing procedure, wherein N is an integer greater than or equal to 4; A determination module is used to determine the abnormal type of the target processing procedure according to the target model and the target quality performance indicator data.

10. A readable storage medium having a program or instruction stored thereon, It is characterized in that When the program or instruction is executed by a processor, the steps in the method for determining the abnormal type of a processing procedure as described in any one of claims 1 to 8 are implemented.