Production management control system for electronic-grade ammonium fluoride production
By analyzing the time-series coordinated changes of liquid ammonia flow rate and reaction solution pH value through a neural network model based on deep learning, the flow rate of anhydrous hydrogen fluoride is adjusted, which solves the problem of difficulty in controlling the reaction volume in the production of electronic-grade ammonium fluoride, and improves the preparation quality and Product purity.
Patent Information
- Application Number
- PCT/CN2023/120033
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-27
- Filing Date
- 2023-09-20
- Publication Date
- 2024-10-03
AI Technical Summary
In the production process of electronic grade ammonium fluoride, it is difficult to control the reaction amount of anhydrous hydrogen fluoride and liquid ammonia, resulting in waste of raw materials and production of by-products, affecting cooling crystallization and centrifugal dehydration.
Using a neural network model based on deep learning, the flow rate value of anhydrous hydrogen fluoride is adjusted by mining the time-series collaborative correlation feature distribution information of the liquid ammonia flow rate and the pH value of the reaction solution to achieve a complete reaction without introducing impurities.
The preparation quality of electronic grade ammonium fluoride is improved, the adverse effects caused by raw material terminal deviation are avoided, and the completeness of the reaction and product purity are ensured.
Smart Images

Figure CN2023120033_03102024_PF_FP_ABST
Abstract
Description
Production management and control system for electronic grade ammonium fluoride production Technical Field
[0001] The present application relates to the field of intelligent control, and more specifically, to a production management and control system for the production of electronic-grade ammonium fluoride. Background Art
[0002] Electronic grade ammonium fluoride, with the molecular formula NH4F, has a wide range of uses, such as glass etchant, chemical polishing agent for metal surfaces, wood and wine preservative, disinfectant, fiber mordant, and solvent for extracting rare elements. It can also be used as a masking agent for ion detection in chemical analysis, a disinfectant for winemaking, preservative, and fiber mordant.
[0003] In the production of electronic-grade ammonium fluoride, the reaction of anhydrous hydrogen fluoride and liquid ammonia must be complete. Excessive amounts of either anhydrous hydrogen fluoride or liquid ammonia not only waste raw materials but also produce byproducts, hindering subsequent cooling, crystallization, and centrifugal dehydration. However, in the actual production of electronic-grade ammonium fluoride, it is difficult to control the reaction amount of hydrogen fluoride and liquid ammonia to the point where the reaction is complete. This is because, if control is performed from the raw material side (i.e., anhydrous hydrogen fluoride and liquid ammonia), impurities may be present in the raw materials, and the raw material concentration may fluctuate with storage.
[0004] Therefore, in order to control the input amount of anhydrous hydrogen fluoride, an optimized production management and control system for the production of electronic-grade ammonium fluoride is desired. Technical issues
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a production management and control system for the production of electronic grade ammonium fluoride, which mines the time series synergistic correlation feature distribution information of the flow rate of liquid ammonia and the pH value of the reaction liquid by adopting a neural network model based on deep learning to improve the time series correlation feature expression of the two, thereby adaptively adjusting the flow rate value of anhydrous hydrogen fluoride based on the actual time series synergistic change of the liquid nitrogen flow rate value and the pH value of the reaction liquid, so as to make the reaction complete and not introduce impurities, so as to avoid the adverse effects of the deviation of the raw material end itself on the reaction, and improve the preparation quality of electronic grade ammonium fluoride. Technical Solutions
[0006] According to one aspect of the present application, a production management and control system for the production of electronic grade ammonium fluoride is provided, comprising:
[0007] a data acquisition module, configured to obtain the pH value of the reaction solution at a plurality of predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the plurality of predetermined time points;
[0008] a data time series distribution module, configured to arrange the pH values of the reaction liquid at the plurality of predetermined time points and the flow rate values of the liquid ammonia at the plurality of predetermined time points into a pH value time series input vector and a liquid ammonia flow rate value time series input vector, respectively, according to a time dimension;
[0009] a time series association coding module, configured to perform association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector to obtain a full time series pH value-liquid ammonia flow rate association matrix;
[0010] A matrix block module is used to perform block processing on the full time series pH value-liquid ammonia flow rate correlation matrix to obtain multiple local correlation matrices;
[0011] a correlation feature extraction module, configured to pass the plurality of local correlation matrices through a convolutional neural network model as a filter to obtain a plurality of local correlation feature vectors;
[0012] a global context association module, configured to pass the plurality of local association feature vectors through a transformer-based context encoder to obtain a global semantic association feature vector;
[0013] The flow rate recommendation module is used to pass the global semantic association feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point.
[0014] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, the time series association coding module is used to: associate and code the pH value time series input vector and the liquid ammonia flow rate value time series input vector using the following coding formula to obtain a full time series pH value-liquid ammonia flow rate association matrix; wherein the coding formula is: in represents the PH value time series input vector, represents the transposed vector of the pH value time series input vector, represents the time series input vector of the liquid ammonia flow rate value, represents the full time series pH value-liquid ammonia flow rate correlation matrix, Represents vector multiplication.
[0015] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, the correlation feature extraction module is used to: use each layer of the convolutional neural network model as a filter to perform the following on the input data in the forward pass of the layer: convolution processing on the input data to obtain a convolution feature map; pooling based on a feature matrix on the convolution feature map to obtain a pooled feature map; and, nonlinear activation on the pooled feature map to obtain an activation feature map; wherein the output of the last layer of the convolutional neural network as a filter is the multiple local correlation feature vectors, and the input of the first layer of the convolutional neural network as a filter is the multiple local correlation matrices.
[0016] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, the global context association module includes: a word embedding unit, which is used to use the embedding layer of the context encoder including the embedding layer to map each local association feature vector in the multiple local association feature vectors into a word embedding vector to obtain a sequence of word embedding vectors; a context encoding unit, which is used to use the converter of the context encoder including the embedding layer to perform global context semantic encoding based on the converter idea on the sequence of word embedding vectors to obtain multiple global context semantic feature vectors; and a cascade unit, which is used to cascade the multiple global context semantic feature vectors to obtain the global semantic association feature vector.
[0017] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, the context encoding unit includes: a query vector construction subunit, which is used to arrange the sequence of word embedding vectors in one dimension to obtain a global feature vector; a self-attention subunit, which is used to calculate the product between the global feature vector and the transposed vector of each word vector in the sequence of word embedding vectors to obtain multiple self-attention association matrices; a normalization subunit, which is used to standardize each self-attention association matrix in the multiple self-attention association matrices to obtain multiple standardized self-attention association matrices; an attention calculation subunit, which is used to pass each standardized self-attention association matrix in the multiple standardized self-attention association matrices through a Softmax classification function to obtain multiple probability values; an attention application subunit, which is used to weight each word vector in the sequence of word embedding vectors with each probability value in the multiple probability values as a weight to obtain the multiple context semantic feature vectors; and a cascade subunit, which is used to cascade the multiple context semantic feature vectors to obtain the multiple global context semantic feature vectors.
[0018] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, a training module is also included for training the convolutional neural network model serving as a filter, the converter-based context encoder, and the decoder.
[0019] In the above-mentioned production management and control system for the production of electronic grade ammonium fluoride, the training module includes: a training data acquisition module for acquiring the training pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the training flow rate values of the liquid ammonia at the multiple predetermined time points; a training data time series distribution module for arranging the training pH value of the reaction liquid at the multiple predetermined time points and the training flow rate values of the liquid ammonia at the multiple predetermined time points into a training pH value time series input vector and a training liquid ammonia flow rate value time series input vector according to the time dimension; a training time series association coding module for performing association coding on the training pH value time series input vector and the training liquid ammonia flow rate value time series input vector to obtain a training full time series pH value-liquid ammonia flow rate association matrix; a training matrix block module for performing block processing on the training full time series pH value-liquid ammonia flow rate association matrix to obtain multiple training A training local association matrix; a training association feature extraction module for passing the multiple training local association matrices through the convolutional neural network model as a filter to obtain multiple training local association feature vectors; a training global context association module for passing the multiple training local association feature vectors through the converter-based context encoder to obtain a training global semantic association feature vector; a decoding loss module for passing the training global semantic association feature vector through the decoder to obtain a decoding loss function value; and a training module for training the convolutional neural network model as a filter, the converter-based context encoder and the decoder based on the decoding loss function value and through gradient descent direction propagation, wherein in each round of training iteration, the weight matrix of the decoder is subjected to spatial regularization constraint iteration.
[0020] In the above-mentioned production management and control system for the production of electronic-grade ammonium fluoride, the decoding loss module is used to: use the decoder to perform decoding regression on the training global semantic association feature vector using the following formula to obtain a decoding loss function value; wherein, the formula is: ,in represents the training global semantic association feature vector, is the decoded value, is the weight matrix, Represents matrix multiplication.
[0021] In the production management and control system for electronic-grade ammonium fluoride production, in each round of training iteration, the weight matrix of the decoder is subjected to spatial regularization constraint iteration using the following optimization formula; wherein, the formula is: in is the weight matrix of the decoder, represents the Frobenius norm of the matrix, is the bias matrix, represents matrix multiplication, represents matrix addition, Indicates point multiplication by position, represents the exponential operation of a matrix, wherein the exponential operation of the matrix represents the calculation of the natural exponential function value raised to the power of the eigenvalue of each position in the matrix, represents the weight matrix of the decoder after iteration.
[0022] According to another aspect of the present application, a production management and control method for the production of electronic-grade ammonium fluoride is provided, comprising:
[0023] Obtaining pH values of the reaction solution at a plurality of predetermined time points within a predetermined time period and flow rate values of the liquid ammonia at the plurality of predetermined time points;
[0024] Arranging the pH values of the reaction solution at the plurality of predetermined time points and the flow rate values of the liquid ammonia at the plurality of predetermined time points into a pH value time series input vector and a liquid ammonia flow rate time series input vector respectively according to the time dimension;
[0025] performing association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector to obtain a full time series pH value-liquid ammonia flow rate association matrix;
[0026] Performing block processing on the full time series pH value-liquid ammonia flow rate correlation matrix to obtain multiple local correlation matrices;
[0027] Passing the multiple local correlation matrices through a convolutional neural network model as a filter to obtain multiple local correlation feature vectors;
[0028] Passing the plurality of local correlation feature vectors through a transformer-based context encoder to obtain a global semantic correlation feature vector;
[0029] The global semantic association feature vector is passed through a decoder to obtain a decoded value, and the decoded value is used to represent a recommended flow rate value of anhydrous hydrogen fluoride at a current time point.
[0030] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the production management and control method for the production of electronic-grade ammonium fluoride as described above.
[0031] According to another aspect of the present application, a computer-readable medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the production management and control method for electronic-grade ammonium fluoride production as described above. Beneficial effects
[0032] Compared with the prior art, the present application provides a production management and control system for the production of electronic-grade ammonium fluoride. It uses a deep learning-based neural network model to mine the temporal synergistic correlation feature distribution information of the liquid ammonia flow rate and the pH value of the reaction liquid to improve the temporal correlation feature expression of the two. Based on the actual temporal synergistic changes of the liquid nitrogen flow rate and the pH value of the reaction liquid, the flow rate of anhydrous hydrogen fluoride is adaptively adjusted, thereby ensuring a complete reaction without introducing impurities, avoiding the adverse effects of deviations on the raw material end itself on the reaction, and improving the preparation quality of electronic-grade ammonium fluoride. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The above and other purposes, features, and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0034] FIG1 is a schematic diagram of a production management and control system for the production of electronic-grade ammonium fluoride according to an embodiment of the present application;
[0035] FIG2 is a block diagram of a production management and control system for the production of electronic-grade ammonium fluoride according to an embodiment of the present application;
[0036] FIG3 is a block diagram of a production management and control system for the production of electronic-grade ammonium fluoride according to an embodiment of the present application;
[0037] 4 is a system architecture diagram of an inference module in a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application;
[0038] 5 is a system architecture diagram of a training module in a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application;
[0039] FIG6 is a flow chart of convolutional neural network coding in a production management and control system for electronic grade ammonium fluoride production according to an embodiment of the present application;
[0040] 7 is a block diagram of a global context association module in a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application;
[0041] FIG8 is a flow chart of a production management and control method for producing electronic-grade ammonium fluoride according to an embodiment of the present application;
[0042] FIG9 is a block diagram of an electronic device according to an embodiment of the present application. Modes for Carrying Out the Invention
[0043] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described herein.
[0044] Scenario Overview: As mentioned in the previous background technology, in the actual production process of electronic-grade ammonium fluoride, it is difficult to control the reaction volume of hydrogen fluoride and liquid ammonia to the point where the reaction is completely complete. The reason is that if control is carried out from the raw material end (that is, anhydrous hydrogen fluoride and liquid ammonia), the raw materials may contain impurities and the raw material concentration will fluctuate with storage. Therefore, in order to control the input volume of anhydrous hydrogen fluoride, an optimized production management and control system for electronic-grade ammonium fluoride production is desired.
[0045] Specifically, in the technical solution of the present application, it is desired to control the flow rate of anhydrous hydrogen fluoride from the result end based on the outcome indicator of the reaction liquid (i.e., pH value). This can avoid the adverse effects of deviations on the raw material end on the reaction. In other words, the flow rate of anhydrous hydrogen fluoride at the current time point is adaptively adjusted based on the temporal changes in the pH value of the reaction liquid. Accordingly, considering that in the actual preparation process of electronic-grade ammonium fluoride, electronic-grade ammonium fluoride is produced by reacting hydrogen fluoride with liquid ammonia, the flow rate of liquid ammonia is also a variable factor in the reaction. Moreover, the flow rate of liquid ammonia and the pH value of the reaction liquid not only have dynamic temporal changes, but also the temporal variation characteristics of the liquid ammonia flow rate and the temporal variation characteristics of the pH value of the reaction liquid jointly determine the completeness of the hydrogen fluoride reaction. Based on this, in the technical solution of the present application, the control of the flow rate of anhydrous hydrogen fluoride should be adapted to the synergistic correlation characteristic distribution information between the temporal variation of the liquid ammonia flow rate and the temporal variation of the pH value of the reaction liquid. Therefore, in this process, the difficulty lies in how to fully explore the temporal synergistic correlation characteristic distribution information of the liquid ammonia flow rate and the pH value of the reaction liquid to improve the temporal correlation characteristic expression of the two, so as to adaptively adjust the flow rate of anhydrous hydrogen fluoride based on the actual temporal synergistic changes of the liquid nitrogen flow rate and the pH value of the reaction liquid, so as to make the reaction complete without introducing impurities, avoid the adverse effects of the deviation of the raw material end itself on the reaction, and improve the preparation quality of electronic-grade ammonium fluoride.
[0046] In recent years, deep learning and neural networks have been widely used in fields such as computer vision, natural language processing, and text signal processing. Furthermore, deep learning and neural networks have demonstrated capabilities approaching or even surpassing those of humans in areas such as image classification, object detection, semantic segmentation, and text translation.
[0047] The development of deep learning and neural networks provides new solutions and solutions for mining the temporal synergistic correlation feature distribution information of the flow rate of the liquid ammonia and the pH value of the reaction liquid. Those skilled in the art should know that the deep neural network model based on deep learning can adjust the parameters of the deep neural network model through appropriate training strategies, such as the back propagation algorithm of gradient descent, so that it can simulate the complex nonlinear associations between things, which is obviously suitable for simulating and mining the temporal synergistic correlation feature distribution information of the flow rate of the liquid ammonia and the pH value of the reaction liquid.
[0048] Specifically, in the technical solution of the present application, first, the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the multiple predetermined time points are obtained. Then, considering that the pH value of the reaction liquid and the flow rate value of the liquid ammonia not only have a temporal dynamic change law in the time dimension, but also have temporal correlation characteristic distribution information between the pH value of the reaction liquid and the flow rate value of the liquid ammonia, therefore, in order to be able to fully express the temporal coordinated change characteristics of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in the future, in the technical solution of the present application, the pH value of the reaction liquid at the multiple predetermined time points and the flow rate values of the liquid ammonia at the multiple predetermined time points are further arranged according to the time dimension as a pH value time series input vector and a liquid ammonia flow rate time series input vector, respectively, so as to respectively integrate the data distribution information of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in the time dimension. Then, the pH value time series input vector and the liquid ammonia flow rate value time series input vector are further associated and encoded to establish a correlation relationship between the time series change information of the pH value of the reaction liquid and the time series change information of the liquid ammonia flow rate value, thereby obtaining a full time series pH value-liquid ammonia flow rate association matrix.
[0049] Furthermore, considering the technical goal of ensuring the complete reaction, both the pH value of the reaction liquid and the flow rate of the liquid ammonia have an impact on the flow rate control of anhydrous hydrogen fluoride, and the pH value of the reaction liquid and the flow rate of the liquid ammonia also exhibit temporal synergistic variation characteristics. Furthermore, since the temporal synergistic variation characteristics of the pH value of the reaction liquid and the flow rate of the liquid ammonia are relatively small-scale characteristic variation information, they are difficult to capture and extract. Therefore, in the technical solution of the present application, the full temporal pH value-liquid ammonia flow rate correlation matrix is further divided into blocks to obtain multiple local correlation matrices. In particular, in a specific example of the present application, the full temporal pH value-liquid ammonia flow rate correlation matrix can be uniformly divided into blocks to obtain multiple local correlation matrices. It should be understood that the temporal synergistic variation characteristics of the pH value of the reaction liquid and the flow rate of the liquid ammonia in each local correlation matrix are no longer small-scale characteristic information, which facilitates the accurate expression of the temporal synergistic variation characteristics of the pH value of the reaction liquid and the flow rate of the liquid ammonia.
[0050] Next, a convolutional neural network model as a filter with excellent performance in extracting local implicit correlation features is further used to perform feature mining of the multiple local correlation matrices, so as to respectively extract the temporal collaborative correlation feature distribution information about the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each local correlation matrix, thereby obtaining multiple local correlation feature vectors.
[0051] Then, for the temporal collaborative correlation features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each of the local correlation feature vectors, it has a global correlation relationship. That is to say, the temporal collaborative correlation features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia exist not only in the respective local correlation matrices, but also in the overall feature distribution of the full temporal pH value-liquid ammonia flow rate correlation matrix. Therefore, in the technical solution of the present application, the multiple local correlation feature vectors are further encoded through a converter-based context encoder to extract the temporal collaborative correlation features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each of the local correlation matrices based on the global contextual semantic implicit correlation feature distribution information, that is, the temporal collaborative correlation semantic feature information of the pH value of the reaction liquid and the flow rate value of the liquid ammonia based on the entire full temporal pH value-liquid ammonia flow rate correlation matrix, to obtain a global semantic correlation feature vector.
[0052] Furthermore, the global semantic association feature vector is passed through a decoder to obtain a decoded value, which is used to represent the recommended flow rate of anhydrous hydrogen fluoride at the current time point. That is, decoding regression is performed based on the temporal synergistic global semantic feature information of the pH value of the reaction solution and the flow rate of the liquid ammonia. The flow rate of anhydrous hydrogen fluoride is adaptively adjusted based on the actual temporal synergistic changes in the liquid nitrogen flow rate and the pH value of the reaction solution, thereby ensuring a complete reaction without introducing impurities and avoiding the adverse effects of deviations in the raw materials themselves on the reaction.
[0053] In particular, in the technical solution of the present application, when the multiple local correlation feature vectors are passed through a converter-based context encoder to obtain a global semantic correlation feature vector, the multiple context local correlation feature vectors obtained by passing the multiple local correlation feature vectors through the converter-based context encoder are directly cascaded to obtain the global semantic correlation feature vector. Although the converter-based context encoder can enhance the contextual correlation of the semantic distribution between the multiple context local correlation feature vectors, it cannot eliminate the explicit differences in the feature distribution of the multiple context local correlation feature vectors. Therefore, in the case of direct cascading, the convergence speed of the weight matrix of the decoder will be slow during the training process, affecting the training speed of the decoder and even the entire model.
[0054] Therefore, in the technical solution of the present application, the applicant of the present application performs spatial regularization constraints on the weight matrix at each iteration of the weight matrix of the decoder, which is expressed as: , is the decoder weight matrix, represents the Frobenius norm of the matrix, is a bias matrix, which can be initially set to the identity matrix, for example.
[0055] The spatial regularization constraint of the weight matrix is based on the endogenous correlation matrix obtained by spatially embedding the weight matrix with its own transposition, and the weight matrix of the decoder is L2 regularized based on the endogenous correlation distribution of its Euclidean space, thereby reflecting the semantic dependence of the weight space on the specific regression expression pattern expressed by the features of the regression to be decoded, regardless of the numerical distribution of the features to be weighted and the size of the numerical values by position, so that the weight space reflects the transmission effect of the intrinsic essential knowledge of the features extracted by the model, accelerates the convergence of the weight matrix, and thus improves the training speed of the decoder and even the entire model. In this way, the flow rate value of anhydrous hydrogen fluoride can be adaptively adjusted in real time based on the actual time series synergistic changes of the liquid nitrogen flow rate value and the pH value of the reaction solution, so as to make the reaction complete and not introduce impurities, so as to avoid the adverse effects of the deviation of the raw material end itself on the reaction, and improve the preparation quality of electronic grade ammonium fluoride.
[0056] Based on this, the present application proposes a production management and control system for the production of electronic grade ammonium fluoride, which includes: a data acquisition module for acquiring the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the multiple predetermined time points; a data time series distribution module for arranging the pH value of the reaction liquid at the multiple predetermined time points and the flow rate values of the liquid ammonia at the multiple predetermined time points into a pH value time series input vector and a liquid ammonia flow rate value time series input vector according to the time dimension; a time series association coding module for association coding the pH value time series input vector and the liquid ammonia flow rate value time series input vector to obtain a full time series pH value-liquid An ammonia flow rate association matrix; a matrix block module for performing block processing on the full-time pH value-liquid ammonia flow rate association matrix to obtain multiple local association matrices; an association feature extraction module for passing the multiple local association matrices through a convolutional neural network model as a filter to obtain multiple local association feature vectors; a global context association module for passing the multiple local association feature vectors through a converter-based context encoder to obtain a global semantic association feature vector; a flow rate recommendation module for passing the global semantic association feature vector through a decoder to obtain a decoded value, wherein the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point.
[0057] Figure 1 is a schematic diagram of a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application. As shown in Figure 1 , in this application scenario, a pH sensor (e.g., V1 as shown in Figure 1 ) is used to obtain the pH value of the reaction solution at multiple predetermined time points within a predetermined time period; and a flow rate sensor (e.g., V2 as shown in Figure 1 ) is used to obtain the flow rate of liquid ammonia at these multiple predetermined time points. This information is then input into a server (e.g., S in Figure 1 ) that is equipped with a production management and control algorithm for electronic-grade ammonium fluoride production. The server can process this input information using the production management and control algorithm for electronic-grade ammonium fluoride production to generate a decoded value, which is used to represent the recommended flow rate value for anhydrous hydrogen fluoride at the current time point.
[0058] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0059] Exemplary System: Figure 2 is a block diagram of a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application. As shown in Figure 2, the production management and control system 300 for electronic-grade ammonium fluoride production according to an embodiment of the present application includes an inference module, wherein the inference module includes: a data acquisition module 310; a data time series distribution module 320; a time series correlation encoding module 330; a matrix partitioning module 340; a correlation feature extraction module 350; a global context association module 360; and a flow rate recommendation module 370.
[0060] The data acquisition module 310 is used to obtain the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the multiple predetermined time points; the data time series distribution module 320 is used to arrange the pH value of the reaction liquid at the multiple predetermined time points and the flow rate values of the liquid ammonia at the multiple predetermined time points into a pH value time series input vector and a liquid ammonia flow rate time series input vector according to the time dimension; the time series association coding module 330 is used to perform association coding on the pH value time series input vector and the liquid ammonia flow rate time series input vector to obtain a full time series pH value-liquid ammonia flow rate association matrix; the matrix block module 340 , used to block-process the full-time pH value-liquid ammonia flow rate association matrix to obtain multiple local association matrices; the association feature extraction module 350 is used to pass the multiple local association matrices through a convolutional neural network model as a filter to obtain multiple local association feature vectors; the global context association module 360 is used to pass the multiple local association feature vectors through a converter-based context encoder to obtain a global semantic association feature vector; the flow rate recommendation module 370 is used to pass the global semantic association feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point.
[0061] FIG4 is a system architecture diagram of the inference module in the production management and control system for the production of electronic grade ammonium fluoride according to an embodiment of the present application. As shown in FIG4 , in the system architecture of the production management and control system 300 for the production of electronic grade ammonium fluoride, in the inference process, the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate value of the liquid ammonia at the multiple predetermined time points are first obtained through the data acquisition module 310; then, the data time series distribution module 320 arranges the pH value of the reaction liquid at multiple predetermined time points and the flow rate value of the liquid ammonia at the multiple predetermined time points obtained by the data acquisition module 310 into a pH value time series input vector and a liquid ammonia flow rate value time series input vector according to the time dimension; the time series association coding module 330 performs association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector obtained by the data time series distribution module 320 to obtain a full time series pH value-liquid ammonia flow rate association matrix; the matrix The blocking module 340 blocks the full-time pH value-liquid ammonia flow rate association matrix calculated by the time series association coding module 330 to obtain multiple local association matrices; then, the association feature extraction module 350 passes the multiple local association matrices obtained by the matrix blocking module 340 through a convolutional neural network model as a filter to obtain multiple local association feature vectors; the global context association module 360 passes the multiple local association feature vectors obtained by the association feature extraction module 350 through a converter-based context encoder to obtain a global semantic association feature vector; further, the flow rate recommendation module 370 passes the global semantic association feature vector obtained by the global context association module 360 through a decoder to obtain a decoded value, which is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point.
[0062] Specifically, during the operation of the production management and control system 300 for the production of electronic-grade ammonium fluoride, the data acquisition module 310 is used to obtain the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the multiple predetermined time points. It should be understood that in the actual production process of electronic-grade ammonium fluoride, the flow rate value of the anhydrous hydrogen fluoride at the current time point can be adaptively adjusted based on the temporal changes in the pH value of the reaction liquid, so as to avoid the adverse effects of the raw material end itself on the reaction. Therefore, in a specific example of the present application, first, the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period can be obtained by a pH sensor; and the flow rate value of the liquid ammonia at the multiple predetermined time points can be obtained by a flow rate sensor.
[0063] Specifically, during the operation of the production management and control system 300 for electronic-grade ammonium fluoride production, the data time series distribution module 320 is configured to arrange the pH values of the reaction solution at the plurality of predetermined time points and the flow rate values of the liquid ammonia at the plurality of predetermined time points into a pH value time series input vector and a liquid ammonia flow rate time series input vector, respectively, according to the time dimension. Considering that the pH value of the reaction solution and the flow rate value of the liquid ammonia not only have a temporal dynamic change law in the time dimension, but also have temporal correlation characteristic distribution information between the pH value of the reaction solution and the flow rate value of the liquid ammonia, in order to fully express the temporal coordinated change characteristics of the pH value of the reaction solution and the flow rate value of the liquid ammonia in the subsequent technical solution of the present application, the pH value of the reaction solution at the plurality of predetermined time points and the flow rate values of the liquid ammonia at the plurality of predetermined time points are further arranged into a pH value time series input vector and a liquid ammonia flow rate time series input vector, respectively, according to the time dimension, thereby integrating the data distribution information of the pH value of the reaction solution and the flow rate value of the liquid ammonia in the time dimension.
[0064] Specifically, during the operation of the production management and control system 300 for the production of electronic-grade ammonium fluoride, the time-series association coding module 330 is used to perform association coding on the pH value time-series input vector and the liquid ammonia flow rate value time-series input vector to obtain a full-time pH value-liquid ammonia flow rate association matrix. That is, after obtaining the pH value time-series input vector and the liquid ammonia flow rate value time-series input vector, the two are further associated and coded to establish a correlation relationship between the time-series change information of the pH value of the reaction liquid and the time-series change information of the flow rate value of the liquid ammonia. In a specific example of the present application, the pH value time-series input vector and the liquid ammonia flow rate value time-series input vector are associated and coded using the following coding formula to obtain a full-time pH value-liquid ammonia flow rate association matrix; wherein, the coding formula is: in represents the PH value time series input vector, represents the transposed vector of the PH value time series input vector, represents the time series input vector of the liquid ammonia flow rate value, represents the full time series pH value-liquid ammonia flow rate correlation matrix, Represents vector multiplication.
[0065] Specifically, during the operation of the production management and control system 300 for electronic-grade ammonium fluoride production, the matrix partitioning module 340 is used to partition the full-time pH-liquid ammonia flow rate correlation matrix to obtain multiple local correlation matrices. Considering the technical goal of ensuring the complete reaction, both the pH value of the reaction solution and the flow rate of the liquid ammonia have an impact on the flow rate control of anhydrous hydrogen fluoride, and the pH value of the reaction solution and the flow rate of the liquid ammonia also exhibit temporal synergistic variation characteristics. Furthermore, since the temporal synergistic variation characteristics of the pH value of the reaction solution and the flow rate of the liquid ammonia are relatively small-scale characteristic variation information, they are difficult to capture and extract. Therefore, in the technical solution of the present application, the full-time pH-liquid ammonia flow rate correlation matrix is further partitioned to obtain multiple local correlation matrices. In particular, in a specific example of the present application, the full-time pH-liquid ammonia flow rate correlation matrix can be uniformly partitioned to obtain multiple local correlation matrices. It should be understood that the temporal coordinated change characteristics of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each local correlation matrix are no longer small-scale feature information, which is conducive to accurately expressing the temporal coordinated change characteristics of the pH value of the reaction liquid and the flow rate value of the liquid ammonia.
[0066] Specifically, during the operation of the production management and control system 300 for the production of electronic-grade ammonium fluoride, the correlation feature extraction module 350 is used to pass the multiple local correlation matrices through the convolutional neural network model as a filter to obtain multiple local correlation feature vectors. That is, a convolutional neural network model with excellent performance in extracting local implicit correlation features is used to extract features from the multiple local correlation matrices so as to mine the temporal collaborative correlation feature distribution information about the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each local correlation matrix, thereby obtaining multiple local correlation feature vectors. In particular, in a specific example of the present application, the convolutional neural network as a filter includes a plurality of neural network layers cascaded to each other, wherein each neural network layer includes a convolution layer, a pooling layer, and an activation layer. In which, during the encoding process of the convolutional neural network, each layer of the convolutional neural network uses the convolution layer to perform convolution processing based on the convolution kernel on the input data during the forward transmission process of the layer, uses the pooling layer to perform pooling processing on the convolution feature map output by the convolution layer, and uses the activation layer to perform activation processing on the pooling feature map output by the pooling layer.
[0067] FIG6 is a flow chart of convolutional neural network encoding in a production management and control system for electronic grade ammonium fluoride production according to an embodiment of the present application. As shown in FIG6 , in the convolutional neural network encoding process, the following steps are performed on the input data using each layer of the convolutional neural network model as a filter in the forward pass of the layer: S210, convolution processing is performed on the input data to obtain a convolution feature map; S220, pooling is performed on the convolution feature map based on a feature matrix to obtain a pooled feature map; and, S230, nonlinear activation is performed on the pooled feature map to obtain an activation feature map; wherein the output of the last layer of the convolutional neural network as a filter is the multiple local correlation feature vectors, and the input of the first layer of the convolutional neural network as a filter is the multiple local correlation matrices.
[0068] Specifically, during the operation of the production management and control system 300 for the production of electronic-grade ammonium fluoride, the global context association module 360 is used to pass the multiple local association feature vectors through a converter-based context encoder to obtain a global semantic association feature vector. It should be understood that for the temporal collaborative association features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each of the local association feature vectors, they have a global correlation relationship. That is to say, the temporal collaborative association features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia exist not only in the respective local association matrices, but also in the overall feature distribution of the full temporal pH value-liquid ammonia flow rate association matrix. Therefore, in the technical solution of the present application, the multiple local correlation feature vectors are further encoded through a converter-based context encoder to extract the temporal collaborative correlation features of the pH value of the reaction liquid and the flow rate value of the liquid ammonia in each local correlation matrix based on the global contextual semantic implicit correlation feature distribution information, that is, the temporal collaborative correlation semantic feature information of the pH value of the reaction liquid and the flow rate value of the liquid ammonia based on the entire temporal pH value-liquid ammonia flow rate correlation matrix to obtain a global semantic correlation feature vector.
[0069] FIG7 is a block diagram of a global context association module in a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application. As shown in FIG7 , the global context association module 360 includes: a word embedding unit 361 for mapping each of the multiple local association feature vectors into a word embedding vector using the embedding layer of the context encoder including the embedding layer to obtain a sequence of word embedding vectors; a context encoding unit 362 for performing global context semantic encoding based on the converter idea on the sequence of word embedding vectors using the converter of the context encoder including the embedding layer to obtain multiple global context semantic feature vectors; and a cascade unit 363 for cascading the multiple global context semantic feature vectors to obtain the global semantic association feature vector. Among them, the context encoding unit 362 includes: a query vector construction subunit, which is used to arrange the sequence of word embedding vectors in one dimension to obtain a global feature vector; a self-attention subunit, which is used to calculate the product between the global feature vector and the transposed vector of each word vector in the sequence of word embedding vectors to obtain multiple self-attention association matrices; a normalization subunit, which is used to standardize each self-attention association matrix in the multiple self-attention association matrices to obtain multiple standardized self-attention association matrices; an attention calculation subunit, which is used to pass each standardized self-attention association matrix in the multiple standardized self-attention association matrices through the Softmax classification function to obtain multiple probability values; an attention application subunit, which is used to weight each word vector in the sequence of word embedding vectors with each probability value in the multiple probability values as a weight to obtain the multiple context semantic feature vectors; and a cascade subunit, which is used to cascade the multiple context semantic feature vectors to obtain the multiple global context semantic feature vectors.
[0070] Specifically, during the operation of the production management and control system 300 for the production of electronic grade ammonium fluoride, the flow rate recommendation module 370 is used to pass the global semantic association feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point. That is, the global semantic association feature vector is used as a decoding feature vector to be decoded and regressed through a decoder to obtain a decoding value, that is, decoding regression is performed based on the time-series coordinated global association semantic feature information of the pH value of the reaction liquid and the flow rate value of the liquid ammonia, so as to adaptively adjust the flow rate value of anhydrous hydrogen fluoride based on the actual time-series coordinated changes in the liquid nitrogen flow rate value and the pH value of the reaction liquid, so as to make the reaction complete and not introduce impurities, so as to avoid the adverse effects of the deviation of the raw material end itself on the reaction. More specifically, the decoder is used to decode and regress the global semantic association feature vector using the following formula to obtain a decoding loss function value;
[0071] Wherein, the formula is: ,in represents the training global semantic association feature vector, is the decoded value, is the weight matrix, Represents matrix multiplication.
[0072] It should be understood that before using the above-mentioned neural network model for inference, it is necessary to train the convolutional neural network model as a filter, the context encoder based on the converter, and the decoder. That is to say, in the production management and control system for the production of electronic-grade ammonium fluoride of the present application, a training module is also included for training the convolutional neural network model as a filter, the context encoder based on the converter, and the decoder. The training of deep neural networks mostly uses the back propagation algorithm, which uses the chain rule to update the parameters of the current layer through the error transmitted from the next layer. This will encounter the problem of vanishing gradients when the network is very deep, or more generally known as the unstable gradient problem.
[0073] FIG3 is a block diagram of a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application. As shown in FIG3 , the production management and control system 300 for electronic-grade ammonium fluoride production according to an embodiment of the present application further includes a training module 400 , which includes: a training data acquisition module 410 ; a training data temporal distribution module 420 ; a training temporal association encoding module 430 ; a training matrix partitioning module 440 ; a training association feature extraction module 450 ; a training global context association module 460 ; a decoding loss module 470 ; and a training module 480 .
[0074] Among them, the training data acquisition module 410 is used to obtain the training pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the training flow rate values of the liquid ammonia at the multiple predetermined time points; the training data time series distribution module 420 is used to arrange the training pH value of the reaction liquid at the multiple predetermined time points and the training flow rate values of the liquid ammonia at the multiple predetermined time points into a training pH value time series input vector and a training liquid ammonia flow rate value time series input vector according to the time dimension respectively; the training time series association coding module 430 is used to perform association coding on the training pH value time series input vector and the training liquid ammonia flow rate value time series input vector to obtain a training full-time series pH value-liquid ammonia flow rate association matrix; the training matrix block module 440 is used to perform block processing on the training full-time series pH value-liquid ammonia flow rate association matrix to obtain multiple training local association matrices; the training association feature The extraction module 450 is used to pass the multiple training local association matrices through the convolutional neural network model as a filter to obtain multiple training local association feature vectors; the training global context association module 460 is used to pass the multiple training local association feature vectors through the converter-based context encoder to obtain a training global semantic association feature vector; the decoding loss module 470 is used to pass the training global semantic association feature vector through the decoder to obtain a decoding loss function value; and the training module 480 is used to train the convolutional neural network model as a filter, the converter-based context encoder and the decoder based on the decoding loss function value and through gradient descent direction propagation, wherein in each round of training iteration, the weight matrix of the decoder is subjected to spatial regularization constraint iteration.
[0075] FIG5 is a system architecture diagram of a training module in a production management and control system for electronic-grade ammonium fluoride production according to an embodiment of the present application. As shown in FIG5 , in the system architecture of the production management and control system 300 for the production of electronic-grade ammonium fluoride, in the training module 400, the training pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the training flow rate values of the liquid ammonia at the multiple predetermined time points are first acquired by the training data acquisition module 410; then, the training data time series distribution module 420 arranges the training pH value of the reaction liquid at multiple predetermined time points and the training flow rate values of the liquid ammonia at the multiple predetermined time points acquired by the training data acquisition module 410 into a training pH value time series input vector and a training liquid ammonia flow rate value time series input vector according to the time dimension; the training time series association coding module 430 performs association coding on the training pH value time series input vector and the training liquid ammonia flow rate value time series input vector acquired by the training data time series distribution module 420 to obtain a training full-time series pH value-liquid ammonia flow rate association matrix; the training matrix blocking module 440 blocks the training full-time series pH value-liquid ammonia flow rate association matrix calculated by the training time series association coding module 430. Processing to obtain multiple training local association matrices; then, the training association feature extraction module 450 passes the multiple training local association matrices obtained by the training matrix blocking module 440 through the convolutional neural network model as a filter to obtain multiple training local association feature vectors; the training global context association module 460 passes the multiple training local association feature vectors obtained by the training association feature extraction module 450 through the converter-based context encoder to obtain a training global semantic association feature vector; then, the decoding loss module 470 passes the training global semantic association feature vector obtained by the training global context association module 460 through the decoder to obtain a decoding loss function value; further, the training module 480 trains the convolutional neural network model as a filter, the converter-based context encoder and the decoder based on the decoding loss function value and through the direction propagation of gradient descent, wherein, in each round of the training iteration, the weight matrix of the decoder is subjected to spatial regularization constraint iteration of the weight matrix.
[0076] In the technical solution of the present application, here, when the multiple local correlation feature vectors are passed through a converter-based context encoder to obtain a global semantic correlation feature vector, the multiple context local correlation feature vectors obtained by passing the multiple local correlation feature vectors through the converter-based context encoder are directly cascaded to obtain the global semantic correlation feature vector. Although the converter-based context encoder can improve the contextual correlation of the semantic distribution between the multiple context local correlation feature vectors, it cannot eliminate the explicit differences in the feature distribution of the multiple context local correlation feature vectors. Therefore, in the case of direct cascading, the convergence speed of the weight matrix of the decoder will be slow during the training process, affecting the training speed of the decoder and even the entire model. Therefore, in the technical solution of the present application, the applicant of the present application performs spatial regularization constraints on the weight matrix during each iteration of the weight matrix of the decoder, which is expressed as: in is the weight matrix of the decoder, represents the Frobenius norm of the matrix, is the bias matrix, represents matrix multiplication, represents matrix addition, Indicates point multiplication by position, represents the exponential operation of a matrix, wherein the exponential operation of the matrix represents the calculation of the natural exponential function value raised to the power of the eigenvalue of each position in the matrix, Represents the weight matrix of the decoder after iteration. The spatial regularization constraint of the weight matrix is based on the endogenous correlation matrix obtained by spatially embedding the weight matrix with its own transposition, and the weight matrix of the decoder is subjected to L2 regularization based on the endogenous correlation distribution of its Euclidean space, thereby reflecting the semantic dependence of the weight space on the specific regression expression pattern expressed by the feature of the regression to be decoded, regardless of the numerical distribution of the feature to be weighted and the size of the numerical value by position, so that the weight space reflects the transmission effect of the intrinsic essential knowledge of the feature extracted by the model, accelerates the convergence of the weight matrix, thereby improving the training speed of the decoder and the model as a whole. In this way, the flow rate value of anhydrous hydrogen fluoride can be adaptively adjusted in real time based on the actual liquid nitrogen flow rate value and the time series synergistic change of the pH value of the reaction solution, so as to make the reaction complete and not introduce impurities, so as to avoid the adverse effects brought to the reaction by the deviation of the raw material end itself, and improve the preparation quality of electronic grade ammonium fluoride.
[0077] In summary, according to the embodiment of the present application, a production management and control system 300 for the production of electronic-grade ammonium fluoride is illustrated. It uses a deep learning-based neural network model to mine the temporal synergistic correlation feature distribution information of the liquid ammonia flow rate and the pH value of the reaction liquid to improve the temporal correlation feature expression of the two, thereby adaptively adjusting the flow rate value of anhydrous hydrogen fluoride based on the actual temporal synergistic changes of the liquid nitrogen flow rate value and the pH value of the reaction liquid, so as to make the reaction complete without introducing impurities, avoid the adverse effects of the raw material end itself on the reaction, and improve the preparation quality of electronic-grade ammonium fluoride.
[0078] As described above, the production management and control system for electronic-grade ammonium fluoride production according to the embodiment of the present application can be implemented in various terminal devices. In one example, the production management and control system 300 for electronic-grade ammonium fluoride production according to the embodiment of the present application can be integrated into the terminal device as a software module and / or hardware module. For example, the production management and control system 300 for electronic-grade ammonium fluoride production can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the production management and control system 300 for electronic-grade ammonium fluoride production can also be one of the many hardware modules of the terminal device.
[0079] Alternatively, in another example, the production management and control system 300 for the production of electronic-grade ammonium fluoride and the terminal device may also be separate devices, and the production management and control system 300 for the production of electronic-grade ammonium fluoride may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0080] Exemplary method: FIG8 is a flow chart of a production management and control method for the production of electronic-grade ammonium fluoride according to an embodiment of the present application. As shown in FIG8 , the production management and control method for the production of electronic-grade ammonium fluoride according to an embodiment of the present application includes the following steps: S110, obtaining the pH value of the reaction liquid at multiple predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the multiple predetermined time points; S120, arranging the pH value of the reaction liquid at the multiple predetermined time points and the flow rate values of the liquid ammonia at the multiple predetermined time points into a pH value time series input vector and a liquid ammonia flow rate value time series input vector according to the time dimension; S130, performing association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector to obtain a full time series P H value-liquid ammonia flow rate association matrix; S140, block processing is performed on the full time series pH value-liquid ammonia flow rate association matrix to obtain multiple local association matrices; S150, the multiple local association matrices are respectively passed through a convolutional neural network model as a filter to obtain multiple local association feature vectors; S160, the multiple local association feature vectors are passed through a converter-based context encoder to obtain a global semantic association feature vector; S170, the global semantic association feature vector is passed through a decoder to obtain a decoded value, and the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at the current time point.
[0081] In one example, in the production management and control method for electronic-grade ammonium fluoride production, step S130 includes: the first image encoder and the second image encoder are deep residual network models. The pH value time series input vector and the liquid ammonia flow rate time series input vector are associated and encoded using the following encoding formula to obtain a full time series pH value-liquid ammonia flow rate association matrix; wherein the encoding formula is: in represents the PH value time series input vector, represents the transposed vector of the PH value time series input vector, represents the time series input vector of the liquid ammonia flow rate value, represents the full time series pH value-liquid ammonia flow rate correlation matrix, Represents vector multiplication.
[0082] In one example, in the above-mentioned production management and control method for the production of electronic-grade ammonium fluoride, step S150 includes: using each layer of the convolutional neural network model as a filter to perform the following on the input data in the forward pass of the layer: convolution processing on the input data to obtain a convolution feature map; pooling based on a feature matrix on the convolution feature map to obtain a pooled feature map; and nonlinear activation on the pooled feature map to obtain an activation feature map; wherein the output of the last layer of the convolutional neural network as a filter is the multiple local correlation feature vectors, and the input of the first layer of the convolutional neural network as a filter is the multiple local correlation matrices.
[0083] In one example, in the above-mentioned production management and control method for the production of electronic-grade ammonium fluoride, the step S160 includes: using the embedding layer of the context encoder including the embedding layer to map each of the multiple local association feature vectors into a word embedding vector to obtain a sequence of word embedding vectors; using the converter of the context encoder including the embedding layer to perform global context semantic encoding based on the converter idea on the sequence of word embedding vectors to obtain multiple global context semantic feature vectors; and, cascading the multiple global context semantic feature vectors to obtain the global semantic association feature vector. Among them, the converter of the context encoder including the embedding layer is used to perform global context semantic encoding based on the converter idea on the sequence of word embedding vectors to obtain multiple global context semantic feature vectors, including: arranging the sequence of word embedding vectors in one dimension to obtain a global feature vector; calculating the product between the global feature vector and the transpose vector of each word vector in the sequence of word embedding vectors to obtain multiple self-attention association matrices; normalizing each self-attention association matrix in the multiple self-attention association matrices to obtain multiple standardized self-attention association matrices; passing each standardized self-attention association matrix in the multiple standardized self-attention association matrices through the Softmax classification function to obtain multiple probability values; weighting each word vector in the sequence of word embedding vectors with each probability value in the multiple probability values as a weight to obtain the multiple context semantic feature vectors; and cascading the multiple context semantic feature vectors to obtain the multiple global context semantic feature vectors.
[0084] In summary, the production management and control method for the production of electronic-grade ammonium fluoride according to the embodiment of the present application is explained, which uses a deep learning-based neural network model to mine the temporal synergistic correlation feature distribution information of the liquid ammonia flow rate and the pH value of the reaction liquid to improve the temporal correlation feature expression of the two, thereby adaptively adjusting the flow rate value of anhydrous hydrogen fluoride based on the actual temporal synergistic changes of the liquid nitrogen flow rate value and the pH value of the reaction liquid, so as to make the reaction complete without introducing impurities, avoid the adverse effects of the raw material end itself on the reaction, and improve the preparation quality of electronic-grade ammonium fluoride.
[0085] Exemplary electronic device: Below, an electronic device according to an embodiment of the present application is described with reference to FIG9 .
[0086] FIG9 illustrates a block diagram of an electronic device according to an embodiment of the present application.
[0087] As shown in FIG. 9 , the electronic device 10 includes one or more processors 11 and a memory 12 .
[0088] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
[0089] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may execute the program instructions to implement the functions of the production management and control system for electronic-grade ammonium fluoride production described in the various embodiments of the present application as described above and / or other desired functions. Various contents such as global semantic association feature vectors may also be stored in the computer-readable storage medium.
[0090] In one example, the electronic device 10 may further include an input device 13 and an output device 14 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0091] The input device 13 may include, for example, a keyboard, a mouse, and the like.
[0092] The output device 14 can output various information to the outside, including decoded values, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0093] Of course, for the sake of simplicity, FIG9 only shows some of the components of the electronic device 10 that are relevant to the present application, omitting components such as a bus, input / output interfaces, etc. In addition, the electronic device 10 may further include any other appropriate components depending on the specific application.
[0094] Exemplary computer program product and computer-readable storage medium: In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to perform the steps in the functions of the production management and control method for the production of electronic-grade ammonium fluoride according to various embodiments of the present application described in the above-mentioned "Exemplary System" section of this specification.
[0095] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0096] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps in the functions of the production management and control method for the production of electronic-grade ammonium fluoride according to various embodiments of the present application described in the above "Exemplary System" section of this specification.
[0097] The computer-readable storage medium may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0098] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this application are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of this application. In addition, the specific details disclosed above are merely illustrative and facilitating understanding, and are not restrictive. The above details do not limit this application to necessarily being implemented using the above specific details.
[0099] The block diagrams of the devices, devices, equipment, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0100] It should also be noted that in the apparatus, device, and method of the present application, each component or each step can be decomposed and / or recombined, and such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0101] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0102] The above description has been provided for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A production management and control system for the production of electronic grade ammonium fluoride, It is characterized in that include: A data acquisition module, used to obtain the pH value of the reaction liquid at a plurality of predetermined time points within a predetermined time period and the flow rate values of the liquid ammonia at the plurality of predetermined time points; A data time series distribution module, used for arranging the pH values of the reaction liquid at the plurality of predetermined time points and the flow rate values of the liquid ammonia at the plurality of predetermined time points into a pH value time series input vector and a liquid ammonia flow rate value time series input vector according to the time dimension respectively; A time series association coding module, used for performing association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector to obtain a full time series pH value-liquid ammonia flow rate association matrix; A matrix block module, used for performing block processing on the full time series pH value-liquid ammonia flow rate correlation matrix to obtain multiple local correlation matrices; A correlation feature extraction module, used for respectively passing the multiple local correlation matrices through a convolutional neural network model as a filter to obtain multiple local correlation feature vectors; A global context association module, configured to pass the plurality of local association feature vectors through a converter-based context encoder to obtain a global semantic association feature vector; The flow rate recommendation module is used to pass the global semantic association feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the recommended flow rate value of anhydrous hydrogen fluoride at a current time point.
2. The production management and control system for the production of electronic grade ammonium fluoride according to claim 1, It is characterized in that The time series association coding module is used to: perform association coding on the pH value time series input vector and the liquid ammonia flow rate value time series input vector according to the following coding formula to obtain a full time series pH value-liquid ammonia flow rate association matrix; Wherein, the encoding formula is: in represents the PH value time series input vector, represents the transposed vector of the PH value time series input vector, represents the time series input vector of the liquid ammonia flow rate value, represents the full time series pH value-liquid ammonia flow rate association matrix, Represents vector multiplication.
3. The production management and control system for the production of electronic grade ammonium fluoride according to claim 2, It is characterized in that The associated feature extraction module is used to: use each layer of the convolutional neural network model as a filter to perform the following on the input data in the forward pass of the layer: Perform convolution on the input data to obtain a convolution feature map; Performing pooling on the convolutional feature map based on a feature matrix to obtain a pooled feature map; as well as Performing nonlinear activation on the pooled feature map to obtain an activated feature map; Among them, the output of the last layer of the convolutional neural network as a filter is the multiple local correlation feature vectors, and the input of the first layer of the convolutional neural network as a filter is the multiple local correlation matrices.
4. The production management and control system for the production of electronic grade ammonium fluoride according to claim 3, It is characterized in that The global context association module comprises: A word embedding unit, configured to map each of the plurality of local association feature vectors into a word embedding vector using the embedding layer of the context encoder including the embedding layer to obtain a sequence of word embedding vectors; A context encoding unit, configured to use the converter of the context encoder including the embedding layer to perform global context semantic encoding based on the converter idea on the sequence of word embedding vectors to obtain a plurality of global context semantic feature vectors; and A cascading unit is used to cascade the multiple global context semantic feature vectors to obtain the global semantic association feature vector.
5. The production management and control system for the production of electronic grade ammonium fluoride according to claim 4, It is characterized in that The context encoding unit comprises: A query vector construction subunit, used for arranging the sequence of word embedding vectors in one dimension to obtain a global feature vector; A self-attention subunit, configured to calculate the product between the global feature vector and the transposed vector of each word vector in the sequence of word embedding vectors to obtain a plurality of self-attention association matrices; A normalization subunit, used for normalizing each of the plurality of self-attention association matrices to obtain a plurality of normalized self-attention association matrices; an attention calculation subunit, configured to obtain a plurality of probability values by applying a Softmax classification function to each of the plurality of standardized self-attention association matrices; an attention applying subunit, configured to weight each word vector in the sequence of word embedding vectors using each probability value in the multiple probability values as a weight to obtain the multiple contextual semantic feature vectors; and The cascading subunit is used to cascade the multiple context semantic feature vectors to obtain the multiple global context semantic feature vectors.
6. The production management and control system for the production of electronic grade ammonium fluoride according to claim 5, It is characterized in that It also includes a training module for training the convolutional neural network model as a filter, the converter-based context encoder and the decoder.
7. The production management and control system for the production of electronic grade ammonium fluoride according to claim 6, It is characterized in that The training module comprises: A training data acquisition module, used to obtain training pH values of the reaction solution at multiple predetermined time points within a predetermined time period and training flow rate values of the liquid ammonia at the multiple predetermined time points; A training data time series distribution module, used to arrange the training pH values of the reaction solution at the plurality of predetermined time points and the training flow rate values of the liquid ammonia at the plurality of predetermined time points into a training pH value time series input vector and a training liquid ammonia flow rate value time series input vector according to the time dimension respectively; A training time series association coding module, used for performing association coding on the training pH value time series input vector and the training liquid ammonia flow rate value time series input vector to obtain a training full time series pH value-liquid ammonia flow rate association matrix; A training matrix block module is used to perform block processing on the training full time series pH value-liquid ammonia flow rate association matrix to obtain multiple training local association matrices; A training association feature extraction module, used for respectively passing the multiple training local association matrices through the convolutional neural network model as a filter to obtain multiple training local association feature vectors; A training global context association module, configured to pass the plurality of training local association feature vectors through the converter-based context encoder to obtain a training global semantic association feature vector; A decoding loss module, used for passing the training global semantic association feature vector through the decoder to obtain a decoding loss function value; and A training module is used to train the convolutional neural network model as a filter, the converter-based context encoder and the decoder based on the decoding loss function value and through the direction propagation of gradient descent, wherein in each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints of the weight matrix.
8. The production management and control system for the production of electronic grade ammonium fluoride according to claim 7, It is characterized in that The decoding loss module is used to: use the decoder to perform decoding regression on the training global semantic association feature vector according to the following formula to obtain a decoding loss function value; Wherein, the formula is: ,in represents the training global semantic association feature vector, is the decoded value, is the weight matrix, Represents matrix multiplication.
9. The production management and control system for the production of electronic grade ammonium fluoride according to claim 8, It is characterized in that In each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints according to the following optimization formula; Wherein, the formula is: in is the weight matrix of the decoder, represents the Frobenius norm of the matrix, is the bias matrix, represents matrix multiplication, represents matrix addition, It means point multiplication by position. represents the exponential operation of a matrix, wherein the exponential operation of the matrix represents the calculation of the value of a natural exponential function raised to the power of the eigenvalues of each position in the matrix, represents the weight matrix of the decoder after iteration.
Citation Information
Patent Citations
Automatic batching control system for preparing ammonium fluoride and control method of automatic batching control system
CN115309215A
Automatic batching system for preparing lithium hexafluorophosphate and batching method thereof
CN115430344A
Production management control system for ammonium fluoride production and control method thereof
CN115453990A
Automatic dumping control method and system based on material level detection
CN115571656A
Energy management control system for anhydrous hydrogen fluoride production and control method thereof
CN115599049A
Cited By
Multi-modal data processing method and system based on block chain technology
CN118916511A
Intelligent operation and maintenance management method and system for numerical control machine tool
CN119067640A
Network security protection operation and maintenance management system and method
CN119094246A
AI model-driven fresh-keeping optimization control method and system for Euyuan oranges
CN119179343A
Organic waste gas purification treatment system and method
CN119680378A
