Orthogonal basis PINN-based oxalic acid crystallization dynamic identification method
By using a method based on orthogonal basis PINN in the production process of adipic acid, combined with an orthogonal polynomial network and a physical information error network, the problem of insufficient timely and accurate identification of crystallization anomalies in the existing technology is solved, and rapid and accurate detection is achieved. The dynamic identification of oxalic acid crystallization integrates the physical information of the crystallization process and improves the identification accuracy and efficiency.
Patent Information
- Application Number
- CN202410714771.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-23
AI Technical Summary
In the production process of adipic acid, the existing technology relies on artificial sense and experience to judge crystallization abnormalities, which results in insufficient timely and accurate identification and is time-consuming and laborious. Moreover, simple image recognition cannot effectively integrate the physical information of the crystallization process, resulting in low identification accuracy. .
The Physics-Informed Neural Networks (PINN) method based on orthogonal basis is used to realize unsupervised learning and grid-free dynamic identification of oxalic acid crystals through the combination of orthogonal polynomial network and physical information error network, and the Avrami equation is used to fuse physics information, reduce image vibration interference, and improve recognition accuracy.
It achieves fast and accurate dynamic identification of oxalic acid crystals, reduces workers' labor intensity, improves identification accuracy, and provides accurate crystal volume prediction and abnormal warning under unsupervised learning conditions.
Smart Images

Figure CN118537779A
Abstract
Description
Technical Field
[0001] The invention relates to a dynamic recognition method of oxalic acid crystal based on an orthogonal base PINN, belongs to the field of image recognition, and is particularly suitable for dynamic recognition of oxalic acid crystal based on an orthogonal base PINN. Background Art
[0002] Adipic acid, also known as fatty acid, is an important organic dibasic acid with a structural formula of HOOC(CH2)4COOH. It can undergo salt-forming reaction, esterification reaction, amidation reaction, etc., and can be condensed with diamine or diol to form high molecular polymers. Adipic acid is an industrially important dicarboxylic acid. It plays an important role in chemical production, organic synthesis industry, medicine, lubricant manufacturing, etc., and its output ranks second among all dicarboxylic acids. The production process of adipic acid is to oxidize cyclohexanol with nitric acid in the presence of V(V) and Cu(II) catalysts. The finished adipic acid is obtained through a series of processes such as crystallization, concentration, centrifugation, dissolving activated carbon for decolorization, recrystallization, concentration, centrifugation, and drying. In the large-scale industrial preparation of adipic acid, it is necessary to purify the adipic acid. The adipic acid purification equipment currently used has multiple continuous crystallization chambers on one side, and each crystallization chamber includes a crystallization chamber (reaction chamber) observation mirror and a siphon observation mirror. At present, in the production and preparation of adipic acid, due to the numerous and frequent abnormal crystallization phenomena in its production process, the existing technology relies on human senses and experience to judge, which often has problems such as inaccurate and time-consuming. With the development of image technology, it has gradually become possible to install cameras and use image recognition to assist workers in identifying and analyzing abnormal crystallization phenomena, reduce the labor intensity of front-line workers, and improve the working environment.
[0003] In the actual production and preparation of adipic acid, the shaking of the stirring rod during the stirring process and the boiling of adipic acid when heated will not only cause the shaking of the image captured by the adipic acid camera, but also cause the crystals to shake with the liquid, resulting in a serious decrease in the recognition accuracy. The "an adipic acid reaction chamber crystallization abnormality monitoring system and method" proposed in CN202310941489.1 can realize dynamic recognition of crystal images in the time domain and frequency domain, but it requires a large amount of manual labeling for supervised learning, has low computational efficiency, and is overly dependent on the image pixel size in terms of recognition accuracy. For complex crystal shapes, the recognition accuracy is often insufficient; at the same time, the crystallization process conforms to certain physical laws, and simple image recognition cannot integrate this information. Summary of the invention
[0004] In view of this, the present invention provides a method for dynamic identification of oxalic acid crystals based on an orthogonal basis PINN, which aims to improve the PINN network (Physics-Informed Neural Networks) by using orthogonal polynomials, and utilizes the fast accuracy of the orthogonal basis polynomials and the advantages of the PINN network that can integrate physical information, unsupervised learning and grid-free to achieve fast and accurate dynamic identification of oxalic acid crystals.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A dynamic identification method for oxalic acid crystals based on an orthogonal PINN, characterized in that it is implemented by an orthogonal PINN network, wherein the orthogonal PINN network is composed of an orthogonal polynomial network connected in series with a physical information error network;
[0007] The orthogonal polynomial network is a neural network constructed based on the orthogonal basis principle, and its input at time t is d∈Z + dimensional vector x, the output is a one-dimensional crystal volume prediction value u(t,x);
[0008] The physical information error network is an automatic differentiation network, which is used to calculate the partial differentials of each dimension of the orthogonal polynomial network output; the network is based on the Avrami equation As physical information; at the same time, the derivative residual relationship is satisfied: Among them, u(t,x) is the predicted value of crystal volume; constant k, Avramic index s, and weight are all parameters to be learned; t is the time; u t (t,x),u x (t,x) are the rates of change of the crystal volume with time and in the x direction, respectively, x∈x; λ1 is the parameter to be learned; f(t) is the residual function.
[0009] Specific, combined Figure 1 , the method comprises the following steps:
[0010] S1: Establish an orthogonal basis PINN network;
[0011] S2: Install a camera in the adipic acid reaction chamber and establish a loss function based on the boundary conditions of the camera image;
[0012] S3: The user uses a camera to capture the video images in the reaction room in real time;
[0013] S4: Sample the video frame by frame as the input of the orthogonal basis PINN network;
[0014] S5: Orthogonal PINN network predicts the crystal volume of adipic acid;
[0015] S6: Determine whether the crystallization in the reaction chamber is abnormal. If it is abnormal, issue an early warning and send it to the staff; otherwise, repeat steps S3 to S5 for the next monitoring.
[0016] Furthermore, the input vector of the orthogonal polynomial network is a vectorization result of the camera image.
[0017] Preferably, in order to reduce the influence of the periodic motion of the stirring rod on the image, the input vector of the orthogonal polynomial network is the vectorized result of the Fourier transform of the camera image.
[0018] Furthermore, a tanh layer is connected before the input end of the orthogonal basis PINN network described in step S1 for standardization processing.
[0019] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Chebyshev polynomials, and the orthogonal polynomial network corresponding to any layer of Chebyshev polynomials is assumed to be an input signal. Its output is When i≥2, U i =2X·U i-1 -U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X,a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0020] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Bessel polynomials, and the orthogonal polynomial network corresponding to any layer of Bessel polynomials assumes that the input signal Its output is When i≥2, U i =(2i-1)X·U i-1 +U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X+U0, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0021] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Legendre polynomials, and the orthogonal polynomial network corresponding to any layer of Legendre polynomials is assumed to be Its output is When i≥2, it satisfies in, U0 is a d-dimensional vector of unit 1, U1=X,a iis the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0022] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Hermit polynomial, and the orthogonal polynomial network corresponding to any layer of the Hermit polynomial is assumed to be the input signal Its output is When i≥2, U i =2·X·U i-1 -2·(i-1)·U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=2·X, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0023] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Fibonacci polynomials, and the orthogonal polynomial network corresponding to any layer of the Fibonacci polynomials is assumed to have an input signal Its output is When i≥2, U i =X·U i-1 +U i-2 ,in, U0 is a d-dimensional vector of 0, U1 is a d-dimensional vector of unit 1, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0024] The boundary condition of the camera image in step S2 is t i The input vector at this moment is x i The measured value of crystal volume The loss function is: Among them, u(t i ,x i ) are t i The input vector at this moment is x i The predicted value of crystal volume and the measured value of crystal volume; λ is the parameter to be learned, f(t j ) is t j The residual value at that moment.
[0025] Preferably, in order to reduce the influence of camera vibration and stirring rod movement on the prediction of adipic acid crystal volume, a large number of images of different camera angles and stirring rod positions can be obtained at the initial moment as boundary conditions of the orthogonal basis PINN network for training.
[0026] The beneficial effects of the present invention are as follows: the present invention provides a method for dynamic recognition of oxalic acid crystallization based on an orthogonal basis PINN, and based on image recognition technology, an orthogonal polynomial is used to improve the PINN network, and interferences such as image vibration are eliminated, so that the recognition result is faster and more accurate. At the same time, the PINN network can integrate physical information of the crystallization process, and can realize fast and accurate recognition of the dynamics of oxalic acid crystallization under unsupervised learning and grid-free conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to make the purpose and technical solution of the present invention, the present invention provides the following drawings for explanation:
[0028] Figure 1 It is a flow chart of the dynamic identification method of oxalic acid crystal based on orthogonal base PINN in the present invention;
[0029] Figure 2 The framework diagram of the online monitoring system for crystallization of adipic acid reaction chamber in Example 1 of the present invention; wherein 1 is an infrared camera, 2 is a network module, 3 is a central control system, 4 is an external power supply, and 5 is a reaction chamber observation port;
[0030] Figure 3 2 is a diagram of an orthogonal basis PINN network architecture in Example 1 of the present invention, wherein the solid line represents forward propagation and the dotted line represents backward propagation. DETAILED DESCRIPTION
[0031] Example 1: Existing adipic acid purification equipment, its reaction chamber crystallization online monitoring system such as Figure 2 As shown, it includes a camera 1, a network module 2, a central control system 3, and an external power supply 4. The viewing mirror of the reaction chamber observation port 5 is replaced by an infrared camera 1; the infrared camera 1 is connected to the central control system 3 through the network module 2, and the infrared camera 1 is powered by the external power supply 4; the network module 2 can be a wireless or wired network module; the central control system 3 is a computer device, and the warning information can be pushed to the user platform through the network module 2 in the form of FTP / MQ / Http. Now it is necessary to dynamically and accurately identify the volume of adipic acid crystals, and the present invention proposes a "dynamic identification method of adipic acid crystals based on PINN of Chebyshev polynomials".
[0032] Combination Figure 1 , the method comprises the following steps:
[0033] Step 1: Establish an orthogonal basis PINN network and store it in the central control system 3.
[0034] Step 2: Install the infrared camera 1 in the adipic acid reaction chamber, and establish a loss function according to the boundary conditions of the image of the infrared camera 1.
[0035] Step 3: The user uses the infrared camera 1 to shoot the video images in the reaction chamber in real time.
[0036] Step 4: Sample the video frame by frame through network module 2 as the orthogonal basis PINN network input.
[0037] The input vector of the orthogonal polynomial network is the vectorization result of the camera image.
[0038] Step 5: The central control system 3 uses the orthogonal basis PINN network to predict the adipic acid crystal volume.
[0039] Step 6: Determine whether the crystallization in the reaction chamber is abnormal. If it is abnormal, the central control system 3 will issue an early warning and send it to the staff through the network module 2; otherwise, repeat steps 3 to 5 for the next monitoring.
[0040] The method is implemented by an orthogonal basis PINN network, wherein the orthogonal basis PINN network is composed of an orthogonal polynomial network connected in series with a physical information error network;
[0041] The orthogonal polynomial network is a neural network constructed based on the orthogonal basis principle, and its input at time t is d∈Z + dimensional vector x, the output is a one-dimensional crystal volume prediction value u(t,x);
[0042] The physical information error network is an automatic differentiation network, which is used to calculate the partial differentials of each dimension of the orthogonal polynomial network output; the network is based on the Avrami equation As physical information; at the same time, the derivative residual relationship is satisfied: Among them, u(t,x) is the predicted value of crystal volume; constant k, Avramic index s, and weight are all parameters to be learned; t is the time; u t (t,x),u x (t,x) are the rates of change of the crystal volume with time and in the x direction, respectively, x∈x; λ1 is the parameter to be learned; f(t) is the residual function.
[0043] Furthermore, a tanh layer is connected before the input end of the orthogonal basis PINN network described in step S1 for standardization processing.
[0044] Further, the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Chebyshev polynomials, and the orthogonal polynomial network corresponding to any layer of Chebyshev polynomials is assumed to be an input signal. Its output is When i≥2, U i =2X·U i-1 -U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X,a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0045] Furthermore, the boundary condition of the camera image in step S2 is t i The input vector at this moment is x i The measured value of crystal volume The loss function is: Among them, u(t i ,x i ) are t i The input vector at this moment is x i The predicted value of crystal volume and the measured value of crystal volume; λ is the parameter to be learned, f(t j ) is t j The residual value at that moment.
[0046] Preferably, in order to reduce the influence of camera vibration and stirring rod movement on the prediction of adipic acid crystal volume, a large number of images of different camera angles and stirring rod positions can be obtained at the initial moment as boundary conditions of the orthogonal basis PINN network for training.
[0047] Example 2: For the scenario of Example 1, the present invention provides a "dynamic identification method of oxalic acid crystals based on Bessel polynomial PINN" as an alternative to the method of Example 1. The specific steps are consistent with those of Example 1, and the same parts are not repeated here.
[0048] The difference is that the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Bessel polynomials. For the orthogonal polynomial network corresponding to any layer of Bessel polynomials, it is assumed that the input signal Its output is When i≥2, U i =(2i-1)X·U i-1 +U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X+U0, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0049] In order to reduce the influence of the periodic motion of the stirring rod on the image, the input vector of the orthogonal polynomial network is the vectorized result of the Fourier transform of the camera image.
[0050] Example 3: For the scenario of Example 1, the present invention provides a "dynamic identification method of oxalic acid crystals based on Legendre polynomial PINN" as an alternative method to the method of Example 1. The specific steps are consistent with those of Example 1, and the same parts are not repeated here.
[0051] The difference is that the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Legendre polynomials. For the orthogonal polynomial network corresponding to any layer of Legendre polynomials, it is assumed that the input signal Its output is When i≥2, it satisfies in, U0 is a d-dimensional vector of unit 1, U1=X,a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0052] Example 4: For the scenario of Example 1, the present invention provides a "dynamic identification method of oxalic acid crystals based on Hermit polynomial PINN" as an alternative method to the method of Example 1. The specific steps are consistent with those of Example 1, and the same parts are not repeated here.
[0053] The difference is that the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Hermit polynomial. For the orthogonal polynomial network corresponding to any layer of the Hermit polynomial, it is assumed that the input signal Its output is When i≥2, U i =2·X·U i-1 -2·(i-1)·U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=2·X, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0054] Example 5: For the scenario of Example 1, the present invention provides a "dynamic identification method of oxalic acid crystals based on PINN of Fibonacci polynomials" as an alternative method to the method of Example 1. The specific steps are consistent with those of Example 1, and the same parts are not repeated here.
[0055] The difference is that the orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Fibonacci polynomials. For the orthogonal polynomial network of the Fibonacci polynomials of any layer, it is assumed that the input signal Its output is When i≥2, U i =X·Ui-1 +U i-2 ,in, U0 is a d-dimensional vector of 0, U1 is a d-dimensional vector of unit 1, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
[0056] It should be noted that in the same scenario, users can select an orthogonal polynomial network of appropriate orthogonal basis polynomials according to their own needs, such as accuracy, speed, etc., through comparative experiments to perform dynamic recognition of crystallization of adipic acid.
[0057] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention.
Claims
1. A dynamic identification method of oxalic acid crystals based on orthogonal base PINN, characterized in that: It is realized by an orthogonal basis PINN network, wherein the orthogonal basis PINN network is composed of an orthogonal polynomial network connected in series with a physical information error network; The orthogonal polynomial network is a neural network constructed based on the orthogonal basis principle, and its input at time t is d∈Z + dimensional vector x, the output is a one-dimensional crystal volume prediction value u(t,x); The physical information error network is an automatic differentiation network, which is used to calculate the partial differentials of each dimension of the orthogonal polynomial network output; the network is based on the Avrami equation As physical information; at the same time, the derivative residual relationship is satisfied: Among them, u(t,x) is the predicted value of crystal volume; constant k, Avramic index s, and weight are all parameters to be learned; t is the time; u t (t,x),u x (t,x) are the rates of change of the crystal volume over time and in the x direction, respectively, x∈x; λ1 is the parameter to be learned; f(t) is the residual function; The method comprises the following steps: S1: Establish an orthogonal basis PINN network; S2: Install a camera in the adipic acid reaction chamber and establish a loss function based on the boundary conditions of the camera image; S3: The user uses a camera to capture the video images in the reaction room in real time; S4: Sample the video frame by frame as the input of the orthogonal basis PINN network; S5: Orthogonal PINN network predicts the crystal volume of adipic acid; S6: Determine whether the crystallization in the reaction chamber is abnormal. If it is abnormal, issue an early warning and send it to the staff; otherwise, repeat steps S3 to S5 for the next monitoring; The input vector of the orthogonal polynomial network is the vectorization result of the camera image; The boundary condition of the camera image in step S2 is t i The input vector at this moment is x i The measured value of crystal volume The loss function is: Among them, u(t i ,x i ) are t i The input vector at this moment is x i The predicted value of crystal volume and the measured value of crystal volume; λ is the parameter to be learned, f(t j ) is t j The residual value at that moment.
2. A method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: In order to reduce the influence of the periodic motion of the stirring rod on the image, the input vector of the orthogonal polynomial network is the vectorized result of the Fourier transform of the camera image.
3. A method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal basis PINN network described in step S1 has a tanh layer connected before its input end for normalization processing.
4. A method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Chebyshev polynomials, corresponding to the orthogonal polynomial network of Chebyshev polynomials of any layer, assuming that the input signal Its output is When i≥2, U i =2X·U i-1 -U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X,a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
5. The method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Bessel polynomials. For the orthogonal polynomial network corresponding to any layer of Bessel polynomials, it is assumed that the input signal Its output is When i≥2, U i =(2i-1)X·U i-1 +U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=X+U0, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
6. The method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on Legendre polynomials, corresponding to the orthogonal polynomial network of Legendre polynomials of any layer, assuming that the input signal Its output is When i≥2, it satisfies in, U0 is a d-dimensional vector of unit 1, U1=X,a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
7. The method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Hermit polynomial. For the orthogonal polynomial network corresponding to any layer of the Hermit polynomial, it is assumed that the input signal Its output is When i≥2, U i =2·X·U i-1 -2·(i-1)·U i-2 ,in, U0 is a d-dimensional vector of unit 1, U1=2·X, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
8. The method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: The orthogonal polynomial network in the orthogonal base PINN network described in step S1 is based on the Fibonacci polynomials. For the orthogonal polynomial network corresponding to any layer of the Fibonacci polynomials, it is assumed that the input signal Its output is When i≥2, U i =X·U i-1 +U i-2 ,in, U0 is a d-dimensional vector of 0, U1 is a d-dimensional vector of unit 1, a i is the m×d-dimensional weight matrix to be learned, and n≥2 is a positive integer hyperparameter of the number of recursions.
9. The method for dynamic identification of oxalic acid crystals based on orthogonal base PINN according to claim 1, characterized in that: In order to reduce the influence of camera vibration and stirring rod movement on the prediction of adipic acid crystal volume, a large number of images of different camera angles and stirring rod positions can be obtained at the initial moment as boundary conditions of the orthogonal basis PINN network for training.
