A lithium carbonate production automation control method and system

By determining the optimal continuation length in the lithium carbonate production process and combining empirical mode decomposition and symmetric continuation methods, the problem of difficult continuation length selection is solved, efficient denoising and precise temperature control are achieved, and the hydrogenation decomposition method is improved. production efficiency and safety.

CN118349053BActive Publication Date: 2024-09-13SHANDONG RUIFU LITHIUM IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410782451.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-13
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

The existing symmetrical continuation method has the problem of being too long or too short in the denoising of temperature data during the process of preparing lithium carbonate by hydrogenation and decomposition, resulting in excessive noise or missing information, affecting the denoising effect.

Method used

By determining the optimal continuation length of the temperature data sequence, combined with empirical mode decomposition and symmetric continuation method, the continuation length is adaptively adjusted to ensure the accuracy of the denoising process and the retention of signal characteristics, and PID control is used to improve temperature control accuracy. .

Benefits of technology

It improves the accuracy and robustness of temperature data denoising, ensures precise temperature control in the hydrogenation reactor, and improves the efficiency and safety of the lithium carbonate production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349053B
    Figure CN118349053B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology. Specifically, it relates to a lithium carbonate production automation control method and system. The method includes: collecting the temperature in a hydrogenation reactor to obtain a temperature data sequence; determining the extension length with the highest degree of preference of the temperature data sequence, and recording it as the optimal extension length; decomposing the temperature data sequence using the empirical mode decomposition method to obtain the IMF component; denoising each of the IMF components, and reconstructing the denoised IMF components to obtain the denoised temperature data sequence; obtaining the temperature data closest to the current moment from the denoised temperature data sequence, and recording it as the current temperature; and performing PID control on the temperature in the hydrogenation reactor according to the difference between the current temperature and the target temperature. The method of the present invention can greatly improve the accuracy and efficiency of temperature control in the hydrogenation reactor during the production process of preparing lithium carbonate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of data processing technology. More specifically, the present invention relates to a lithium carbonate production automation control method and system. Background Art

[0002] In the production process of preparing lithium carbonate by hydrogenation decomposition, it involves fine control of chemical reaction conditions and high purity requirements, and is particularly sensitive to temperature management. In order to improve production efficiency, ensure product quality, and improve safety in the production process, automatic temperature control in production is particularly important. In order to improve the accuracy of temperature control, it is first necessary to denoise the collected temperature data. A commonly used method for data denoising is wavelet threshold denoising. When using wavelet threshold denoising, the problem of wavelet basis and decomposition layer number is involved. If the wavelet basis and decomposition layer number are not selected appropriately, the quality of denoising will be affected. For this reason, scholars have proposed a new method. First, the collected data is decomposed into multiple IMF (intrinsic modal component) components by EMD (empirical mode decomposition), and then the multiple IMF components are denoised by wavelet threshold. For example, Wang Siwen and Zheng Weigang from the School of Energy and Power Engineering of Wuhan University of Technology published a journal titled "Empirical Mode Decomposition and Its Application in Noise Reduction", which disclosed a wavelet threshold denoising method based on EMD. This method can solve the defects of directly using wavelet threshold denoising, but endpoint effects will appear in the process of decomposing IMF components. That is, since the EMD method is based on the search and interpolation of local extreme points, the data points at the endpoints (the starting and ending points of the data sequence) cannot obtain enough neighboring extreme points for interpolation, which leads to endpoint effects, resulting in abnormalities in EMD decomposition, which ultimately affects the effect of data denoising.

[0003] The existing solution to the endpoint effect is the symmetrical extension method proposed by Shu Zhongping. This method solves the endpoint effect by symmetrically extending several periodic extreme points outward from the endpoint of the original data. However, in the temperature control of the production process of lithium carbonate prepared by the hydrogenation decomposition method, the temperature data does not show a periodic change. Therefore, the use of the existing symmetrical extension method will have the problem of the extension length being too long or too short; if the extension length is too long, it will cause a lot of noise in the extension part, and the credibility of the data is low. If the extension length is too short, information may be missed. Both long and short extension lengths will affect the denoising effect. Summary of the invention

[0004] In order to solve the technical problems in the existing symmetric extension method that the extension length is too long, resulting in a large amount of noise in the extension part, and the extension length is too short, resulting in missing information, the present invention provides solutions in the following aspects.

[0005] In a first aspect, the present invention provides a method for automated control of lithium carbonate production, comprising:

[0006] collecting the temperature in the hydrogenation reactor to obtain a temperature data sequence;

[0007] Determine the extension length with the highest preference of the temperature data sequence, and record it as the optimal extension length, wherein the preference is negatively correlated with the noise performance of the extension part of the data sequence, and positively correlated with the consistency between the extreme value point distribution of the extension part and the extreme value point distribution of the entire temperature data sequence;

[0008] The temperature data sequence is decomposed by using the empirical mode decomposition method to obtain the IMF component. During the decomposition process, the endpoints of the temperature data sequence are extended according to the optimal extension length combined with the symmetric extension method to solve the endpoint effect in the EMD decomposition process;

[0009] De-noising each of the IMF components, and reconstructing the de-noised IMF components, thereby obtaining a de-noised temperature data sequence;

[0010] Obtaining the temperature data closest to the current moment from the denoised temperature data sequence, and recording it as the current temperature;

[0011] The temperature in the hydrogenation reactor is PID controlled according to the difference between the current temperature and the target temperature.

[0012] The beneficial effects are as follows: before the temperature in the hydrogenation reactor is PID-controlled in the automated control method for lithium carbonate production of the present invention, the collected temperature data sequence is first denoised, and the empirical mode decomposition method is used for denoising. Compared with other denoising algorithms, the physical meaning of the signal can be retained as much as possible, the noise can be removed without destroying the signal characteristics, the temperature change information related to the production process in the temperature sequence can be maintained, and the accuracy of the denoised temperature data sequence can be guaranteed, thereby improving the accuracy of controlling the temperature in the hydrogenation reactor; in addition, when the temperature data sequence is empirically decomposed, the symmetric extension method is used to solve the endpoint effect, and the extension length with the highest degree of preference is selected to extend the temperature data sequence, so as to adaptively adjust the extension length, which can effectively improve the robustness of the algorithm, avoid the problem that the too short extension length caused by the fixed length may miss information and the too long extension length may introduce noise, improve the decomposition accuracy, and then improve the denoising effect of the temperature data sequence, and further improve the accuracy and efficiency of the temperature control in the hydrogenation reactor in the production process of preparing lithium carbonate by the hydrogenation decomposition method.

[0013] In one embodiment, the method for determining the optimal extension length includes:

[0014] Set the initial value of the extension length and calculate the corresponding optimization degree;

[0015] Iterating the extension length with the distance of an extreme point as the step length, and calculating the preferred degree corresponding to the extension length after each iteration; iterating the extension length means increasing the extension length according to the preset step length; the distance of an extreme point refers to the data length from the endpoint of the data sequence corresponding to the extension length before this iteration in the temperature data sequence to the next extreme point;

[0016] In response to the fact that the preference level corresponding to a certain iteration is less than the preference level corresponding to the previous iteration, the iteration is stopped, and the extension length corresponding to the previous iteration is used as the optimal extension length.

[0017] Since the consistency and preference between the extreme point distribution of the extended part and the extreme point distribution of the entire temperature data sequence are positively correlated, if the extended length is iterated with the distance corresponding to several data points as the step size, the number of extreme points of the extended part after extension may remain unchanged, which in turn causes the calculated preference to change slightly, resulting in a longer time to find the extended length with the highest preference. When determining the optimal extended length, the method of the present invention iterates the extended length with the distance of an extreme point as the step size, thereby ensuring that the extreme point distribution of the extended part after extension changes, and more efficiently finding the extended length with the highest preference.

[0018] In one embodiment, the consistency level is calculated based on the difference between the frequency of occurrence of extreme points in the extended data sequence and the frequency of occurrence of extreme points in the temperature data sequence, and is negatively correlated with the absolute value of the difference. The noise performance level of the extended data sequence is calculated based on the average of the noise performance levels of each temperature data point in the extended data sequence, and is negatively correlated with the average.

[0019] The smaller the difference between the frequency of occurrence of the extreme points in the extended data sequence and the frequency of occurrence of the extreme points in the temperature data sequence, the more consistent the frequency of occurrence of the extreme points of the two, indicating that the consistency of the distribution of the extreme points of the two is higher. Therefore, based on the difference between the frequency of occurrence of the extreme points in the extended data sequence and the frequency of occurrence of the extreme points in the temperature data sequence, the consistency between the distribution of the extreme points in the extended part and the distribution of the extreme points in the temperature data sequence can be calculated more accurately; the larger the mean value of the noise performance degree of each data point in the extended data sequence is, the greater the noise performance degree of the entire extended data sequence is. Therefore, based on the mean value of the noise performance degree of each data point in the extended data sequence, the noise performance degree of the extended data sequence can be calculated more accurately.

[0020] In one embodiment, the calculation expression of the preference degree is:

[0021] ;

[0022] In the formula, Indicates the degree of preference for extending part of the data sequence, represents the frequency of occurrence of extreme points in the temperature data sequence, represents the frequency of occurrence of extreme points in the extended data sequence, is the difference between the frequency of occurrence of extreme points in the extended data sequence and the frequency of occurrence of extreme points in the temperature data sequence, Indicates the degree of said consistency; It represents the mean value of the noise performance of each data point in the extended data sequence; B is a hyperparameter.

[0023] In one embodiment, the frequency of occurrence of extreme points in the data sequence can be calculated based on the time difference corresponding to adjacent extreme points and the sum of the noise performance levels of adjacent extreme points, and is negatively correlated with both the time difference and the sum of the noise performance levels; the time difference corresponding to adjacent extreme points refers to the difference between the collection times corresponding to two adjacent extreme points.

[0024] In one embodiment, the frequency calculation expression of extreme value points in the data sequence is:

[0025] ;

[0026] In the formula, represents the frequency of occurrence of extreme points in the data sequence, N represents the number of extreme points in the data sequence, , They represent the time corresponding to the jth extreme point and the j+1th extreme point in the data sequence respectively. , They respectively represent the noise performance degree of the temperature data point corresponding to the j-th extreme point in the data sequence and the noise performance degree of the temperature data point corresponding to the j+1-th extreme point.

[0027] The larger the time difference corresponding to adjacent data points, the longer it takes for the next extreme point to appear after an extreme point appears, and the lower the frequency of extreme point appearance; the greater the noise performance of the extreme point, the greater the possibility that the extreme point is noise, that is, the greater the possibility that the extreme point is a false extreme point, therefore, the greater the sum of the noise performance of adjacent extreme points, the lower the frequency of the corresponding extreme point appearance. Therefore, the frequency calculation expression of extreme point appearance in the data sequence of the present invention can accurately and efficiently calculate the frequency of extreme point appearance.

[0028] In one embodiment, the method for obtaining the noise performance level of the temperature data point includes:

[0029] Acquire a temperature data sequence within the neighborhood of the temperature data point according to the temperature data sequence, and record it as a neighborhood temperature data sequence;

[0030] Acquire the pressure in the hydrogenation reactor at each temperature collection moment within the time period corresponding to the neighborhood temperature data sequence, thereby forming a neighborhood pressure data sequence;

[0031] The noise performance degree of the temperature data point is calculated based on the Pearson correlation coefficient between the neighborhood temperature data sequence and the neighborhood pressure data sequence and the mutation degree of the temperature data point, and the noise performance degree of the temperature data point is negatively correlated with the Pearson correlation coefficient and positively correlated with the corresponding mutation degree; the mutation degree is used to characterize the fluctuation amplitude of the temperature data point.

[0032] In one embodiment, the noise performance degree calculation expression of the temperature data point is:

[0033] ;

[0034] In the formula, Indicates the noise performance of the i-th temperature data point, exp() is an exponential function; is the linear value at the i-th temperature data point, represents the actual value of the ith temperature data point, Indicates the degree of mutation of the i-th temperature data point; represents the neighborhood temperature data sequence of the i-th temperature data point, is the neighborhood pressure data sequence of the ith temperature data point, Represents the Pearson correlation coefficient between the neighborhood temperature data series and the neighborhood pressure data series.

[0035] The temperature data collected by the temperature sensor is usually mixed with noise, and the noise points usually appear as mutation points. Therefore, the degree of noise performance can be calculated using the mutation degree of the temperature data points. However, the hydrogenation decomposition process involves endothermic and exothermic reactions (i.e., Li2CO3+CO2+H2O→2LiHCO3 is an endothermic reaction. When this reaction occurs, the temperature drops. At the same time, carbon dioxide is absorbed chemically during the reaction, causing the pressure in the container to drop. 2LiHCO3→Li2CO3↓+CO2↑+H2O is an exothermic reaction. When this reaction occurs, the temperature rises and gas is released, causing the pressure to rise). Such endothermic or exothermic reactions will cause mutation points in the temperature data, but this mutation point is a normal data change, so it is necessary to use the Pearson correlation coefficient of the temperature and pressure data. The correlation coefficient (i.e., the degree of linear correlation) corrects the degree of noise performance. The value range of the Pearson correlation coefficient is [-1, +1]. The larger the value of the Pearson correlation coefficient, the more likely that the sudden change in temperature data is caused by the sudden change in pressure data, and the smaller the degree of noise performance of the temperature data. On the contrary, the smaller the value of the correlation coefficient, the more likely that the sudden change in temperature data is caused by the noise of the temperature data, and the greater the degree of noise performance of the temperature data. Therefore, the larger the value of the Pearson correlation coefficient, the smaller the degree of noise performance of the corrected temperature data, and the smaller the Pearson correlation coefficient, the greater the degree of noise performance of the corrected temperature data. Therefore, the noise performance degree calculation method of the temperature data point of this embodiment can more accurately and efficiently calculate the noise performance degree of the temperature data point.

[0036] In one embodiment, the sampling frequency of the temperature in the hydrogenation reactor is 50 Hz.

[0037] In a second aspect, the present invention provides an automated control system for lithium carbonate production, comprising a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the automated control method for lithium carbonate production of the present invention is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0039] Figure 1 Schematically shows a flow chart of a lithium carbonate production automation control method according to an embodiment of the present invention;

[0040] Figure 2 is a flow chart schematically illustrating a method for determining the optimal extension length according to an embodiment of the present invention;

[0041] Figure 3 is a schematic diagram schematically showing a temperature data sequence and an extended part of an embodiment of the present invention;

[0042] Figure 4 is a flow chart schematically illustrating a method for calculating the noise performance degree of a temperature data point according to an embodiment of the present invention;

[0043] Figure 5 is a schematic diagram schematically illustrating a method for obtaining linear values ​​of temperature data points according to an embodiment of the present invention;

[0044] Figure 6 It is a schematic diagram schematically showing the structure of a lithium carbonate production automation control system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0046] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0047] Lithium carbonate production automation control method embodiment:

[0048] like Figure 1 As shown, the lithium carbonate production automation control method of the present invention comprises:

[0049] S101. Collect the temperature in the hydrogenation reactor to obtain a temperature data sequence.

[0050] A temperature sensor may be provided in the hydrogenation reactor to collect the temperature in the hydrogenation reactor. The collection frequency may be 50 Hz or other suitable frequencies.

[0051] S102. Obtaining the optimal extension length, specifically: determining the extension length with the highest degree of preference for the temperature data sequence, and recording it as the optimal extension length, wherein the degree of preference is negatively correlated with the degree of noise performance of the extended part data sequence, and positively correlated with the degree of consistency between the extreme point distribution of the extended part and the extreme point distribution of the entire temperature data sequence.

[0052] When denoising the temperature data, empirical mode decomposition is used to decompose it into multiple intrinsic mode components, and each intrinsic mode component is denoised separately. In order to solve the endpoint effect problem caused by empirical mode decomposition of the temperature data sequence, the temperature data sequence needs to be symmetrically extended to obtain the extended part, and the extended length refers to the length occupied by the extended part.

[0053] There are many chemical reactions involved in the production process of lithium carbonate prepared by hydrogenation decomposition. The endothermic and exothermic reactions will cause the data in the hydrogenation reactor to change, and the data change characteristics at different times must be different, which will make it difficult to determine the extension length when using the symmetric extension method to solve the port effect in EMD decomposition. Specifically, a longer extension length helps to better retain the detailed information in the data, but it may also introduce more noise in the process. Excessive noise will also lead to calculation errors. Therefore, it is necessary to make the noise level in the extension data segment as low as possible during the extension process to ensure that the extended part of the data has a high degree of credibility.

[0054] By making the degree of consistency between the extreme point distribution of the extended part and the extreme point distribution of the entire temperature data sequence as high as possible, it can be ensured that the decomposed intrinsic mode function better reflects the local characteristics, so that the symmetric extension method can better solve the endpoint effect of the EMD algorithm; improve the accuracy of EMD decomposition and enhance the denoising effect. By calculating the optimal extension length, after the temperature data sequence is symmetrically extended in the future, the extended part data has a higher credibility and ensures that the decomposed intrinsic mode function better reflects the local characteristics.

[0055] There are many ways to determine the degree of consistency between the extreme point distribution of the extended part and the extreme point distribution of the entire temperature data sequence. For example, it can be determined based on the position of each extreme point. It can be determined by analyzing the proportion of all extreme points of the extended part and the extreme points of the temperature data sequence that are symmetrical about the extension center. The larger the proportion, the higher the corresponding degree of consistency.

[0056] It can also be determined based on the deviation between the ordinates of the extreme points of the extended part and the extreme points of the temperature data sequence. For example, the mean of the ordinates of the extreme points of the extended part and the mean of the ordinates of the extreme points of the temperature data sequence can be calculated respectively, and the degree of consistency can be determined by the deviation between the two means.

[0057] It can also be determined based on the deviation between the frequency of occurrence of the extreme points of the extended part and the frequency of occurrence of the extreme points of the temperature data sequence. The smaller the deviation, the higher the corresponding consistency.

[0058] S103, performing empirical mode decomposition on the temperature data sequence, specifically: using empirical mode decomposition method to decompose the temperature data sequence to obtain IMF components, and in the decomposition process, extending the endpoints of the temperature data sequence according to the optimal extension length combined with the symmetric extension method to solve the endpoint effect in the EMD decomposition process.

[0059] S104, denoising each of the IMF components, and reconstructing the denoised IMF components, so as to obtain a denoised temperature data sequence.

[0060] When denoising the IMF component, wavelet threshold denoising, threshold denoising or other suitable methods may be used. Preferably, the wavelet threshold denoising method is used in this embodiment. When reconstructing, the least square method or regularization method may be used.

[0061] S105 , obtaining the temperature data closest to the current moment from the denoised temperature data sequence, and recording it as the current temperature.

[0062] S106. Perform PID control on the temperature in the hydrogenation reactor according to the difference between the current temperature and the target temperature.

[0063] The lithium carbonate production automation control method of the present invention first denoises the collected temperature data sequence before performing PID control on the temperature in the hydrogenation reactor. The empirical mode decomposition method is used during denoising. Compared with other denoising algorithms, the physical meaning of the signal can be retained as much as possible, the noise can be removed without destroying the signal characteristics, the temperature change information related to the production process in the temperature sequence can be maintained, and the accuracy of the denoised temperature data sequence can be guaranteed, thereby improving the accuracy of controlling the temperature in the hydrogenation reactor; in addition, when performing empirical mode decomposition on the temperature data sequence, the symmetric extension method is used to solve the endpoint effect, and the extension length with the highest degree of preference is selected to extend the temperature data sequence, so as to adaptively adjust the extension length, which can effectively improve the robustness of the algorithm, avoid the problem that the too short extension length caused by the fixed length may miss information and the too long extension length may introduce noise, improve the decomposition accuracy, and then improve the denoising effect of the temperature data sequence, and further improve the accuracy and efficiency of controlling the temperature in the hydrogenation reactor in the production process of preparing lithium carbonate by the hydrogenation decomposition method.

[0064] like Figure 2 As shown, in one embodiment, the method for determining the optimal extension length includes:

[0065] S201. Set an initial value of the extension length and calculate the corresponding preference degree.

[0066] S202, iterating the extension length, and calculating the degree of preference corresponding to the extension length after each iteration, specifically: iterating the extension length with the distance of an extreme point as a step length, and calculating the degree of preference corresponding to the extension length after each iteration; iterating the extension length means increasing the extension length according to a preset step length; the distance of an extreme point refers to the data length from the endpoint of the data sequence corresponding to the extension length before this iteration in the temperature data sequence to the next extreme point.

[0067] like Figure 3 As shown, assuming that the collected temperature data sequence is a data sequence from data point D to data point E, and the extension part before this iteration is a data sequence from data point c to data point b, q wherein data point D is the extension center point, data point b and data point B are symmetrical about data point D, and data point c and data point C are also symmetrical about data point D. The data sequence corresponding to the extension length before this iteration in the temperature data sequence is a data sequence from data point D to data point C, and its right endpoint is data point C. Searching from data point C to the right, the next extreme point is data point A, and the number of data points from data point C to data point A is the distance to an extreme point.

[0068] S203: In response to the fact that the degree of preference corresponding to a certain iteration is less than the degree of preference corresponding to the previous iteration, the iteration is stopped, and the extension length corresponding to the previous iteration is used as the optimal extension length.

[0069] Since the consistency and preference between the extreme point distribution of the extended part and the extreme point distribution of the entire temperature data sequence are positively correlated, if the extended length is iterated with the distance corresponding to several data points as the step size, the number of extreme points of the extended part after extension may remain unchanged, which in turn causes the calculated preference to change slightly, resulting in a longer time to find the extended length with the highest preference. When determining the optimal extended length, the method in this embodiment iterates the extended length with the distance of an extreme point as the step size, thereby ensuring that the extreme point distribution of the extended part after extension changes, and more efficiently finding the extended length with the highest preference.

[0070] It is mentioned in the above embodiments that the degree of preference is negatively correlated with the noise performance degree of the extended part data sequence, and is positively correlated with the consistency degree between the extreme point distribution of the extended part and the extreme point distribution of the temperature data sequence. In one embodiment, the consistency degree is calculated based on the difference between the occurrence frequency of the extreme points in the extended part data sequence and the occurrence frequency of the extreme points in the temperature data sequence, and is negatively correlated with the absolute value of the difference. The noise performance degree of the extended part data sequence is calculated based on the mean of the noise performance degrees of each data point in the extended part data sequence, and is negatively correlated with the mean.

[0071] The smaller the difference between the frequency of occurrence of the extreme points in the extended data sequence and the frequency of occurrence of the extreme points in the temperature data sequence, the more consistent the frequency of occurrence of the extreme points of the two, indicating that the consistency of the distribution of the extreme points of the two is higher. Therefore, based on the difference between the frequency of occurrence of the extreme points in the extended data sequence and the frequency of occurrence of the extreme points in the temperature data sequence, the consistency between the distribution of the extreme points in the extended part and the distribution of the extreme points in the temperature data sequence can be calculated more accurately; the larger the mean value of the noise performance degree of each data point in the extended data sequence is, the greater the noise performance degree of the entire extended data sequence is. Therefore, based on the mean value of the noise performance degree of each data point in the extended data sequence, the noise performance degree of the extended data sequence can be calculated more accurately.

[0072] It can be seen from the above embodiments that the preference degree is negatively correlated with the mean value of the noise performance degree of each data point in the extended part data sequence, and is negatively correlated with the difference between the occurrence frequency of the extreme point in the extended part and the occurrence frequency of the extreme point in the temperature data sequence. In one embodiment, the calculation expression of the preference degree is:

[0073]

[0074] In the formula, Indicates the degree of preference for extending part of the data sequence, represents the frequency of occurrence of extreme points in the temperature data sequence, Indicates the frequency of occurrence of extreme points in the extended data sequence, is the difference between the frequency of occurrence of extreme points in the extended data sequence and the frequency of occurrence of extreme points in the entire temperature data sequence, Indicates the consistency of the extreme point distribution of the extended part with the extreme point distribution of the entire temperature data series; It represents the mean of the noise performance of each data point in the extended data sequence; B is a hyperparameter to prevent the denominator from being zero.

[0075] In one embodiment, the frequency of occurrence of extreme value points in a data sequence can be calculated based on the time difference corresponding to adjacent extreme value points and the sum of the noise performance levels of adjacent extreme value points, and is negatively correlated with the time difference and the sum of the noise performance levels; the time difference corresponding to adjacent extreme value points refers to the difference between the acquisition times corresponding to two adjacent extreme value points, that is, the duration between the acquisition times corresponding to adjacent data points. The expression for calculating the frequency of occurrence of extreme value points in a data sequence is:

[0076]

[0077] In the formula, represents the frequency of occurrence of extreme points in the data sequence, N represents the number of extreme points in the data sequence, , They represent the time corresponding to the jth extreme point and the j+1th extreme point in the data sequence respectively. , They respectively represent the noise performance degree of the temperature data point corresponding to the jth extreme point in the data sequence and the noise performance degree of the temperature data point corresponding to the j+1th extreme point. If the data sequence is an extended partial data sequence, the temperature data point corresponding to the jth extreme point refers to the data point in the temperature data sequence that is symmetrical with the extreme point about the extended center.

[0078] The larger the time difference corresponding to adjacent data points, the longer it takes for the next extreme point to appear after an extreme point appears, and the lower the frequency of extreme point appearance; the greater the noise performance of the extreme point, the greater the possibility that the extreme point is noise, that is, the greater the possibility that the extreme point is a false extreme point, therefore, the greater the sum of the noise performance of adjacent extreme points, the lower the frequency of the corresponding extreme point appearance. Therefore, the frequency calculation expression of the extreme point appearance in the data sequence in this embodiment can accurately and efficiently calculate the frequency of the extreme point appearance.

[0079] like Figure 4 As shown, the method for calculating the noise performance degree of the temperature data point includes:

[0080] S401. Obtain a temperature data sequence within a neighborhood range of the temperature data point according to the temperature data sequence, and record it as a neighborhood temperature data sequence.

[0081] In this embodiment, in the temperature data sequence, a data sequence consisting of a plurality of data centered at the temperature data point is the neighborhood temperature data sequence of the temperature data point.

[0082] S402, obtaining a neighborhood pressure data sequence, specifically: obtaining the pressure in the hydrogenation reactor at each temperature collection moment within a time period corresponding to the neighborhood temperature data sequence, thereby forming a neighborhood pressure data sequence.

[0083] The time period corresponding to the neighborhood temperature data sequence refers to the time period between the collection time of the first temperature data and the collection time of the last temperature data in the neighborhood temperature data sequence.

[0084] S403. Calculate the noise performance degree of the temperature data point, specifically: calculate the noise performance degree of the temperature data point based on the Pearson correlation coefficient between the neighborhood temperature data sequence and the neighborhood pressure data sequence and the mutation degree of the temperature data point, and the noise performance degree of the temperature data point is negatively correlated with the Pearson correlation coefficient and positively correlated with the corresponding mutation degree; the mutation degree is used to characterize the fluctuation amplitude of the temperature data point.

[0085] In this embodiment, the method for calculating the mutation degree of the temperature data point includes:

[0086] a. Obtain the linear value of the temperature data point, specifically: obtain the function corresponding to the straight line where the previous data point and the next data point of the temperature data point are located, and then obtain the value of the function at the collection time corresponding to the temperature data point, and record it as the linear value of the temperature data point.

[0087] like Figure 5 As shown, assuming that the temperature data point is data point H, its previous data point and next data point are data point P and data point Q respectively, the collection time corresponding to data point H is t2, and the corresponding temperature value is T2; the collection time corresponding to data point P is , the corresponding temperature value is T1; the collection time corresponding to the data point Q is , the corresponding temperature value is T3. A rectangular coordinate system is established with the acquisition time as the horizontal axis and the corresponding temperature value as the vertical axis. The coordinates corresponding to data point H, data point P and data point Q are ( , ); Assuming that the function corresponding to the straight line where data point P and data point Q are located is f(t), the linear value of data point H is f(t2).

[0088] b. Obtain the mutation degree of the temperature data point, specifically: calculate the difference between the linear value of the temperature data point and the actual value of the temperature data point, and record it as the mutation degree of the temperature data point.

[0089] In fact, the degree to which the temperature data point deviates from the midpoint of the line segment is the mutation degree of the temperature data point.

[0090] Because in the symmetric continuation method, the points at the endpoints are symmetrical points and do not participate in the continuation, it is not necessary to calculate the noise performance degree at the left and right endpoints of the temperature data sequence in the lithium carbonate production automation control method of the present invention.

[0091] The temperature data collected by the temperature sensor is usually mixed with noise, and the noise points usually appear as mutation points. Therefore, the degree of noise performance can be calculated using the mutation degree of the temperature data points. However, the hydrogenation decomposition process involves endothermic and exothermic reactions (i.e., Li2CO3+CO2+H2O→2LiHCO3 is an endothermic reaction. When this reaction occurs, the temperature drops. At the same time, carbon dioxide is absorbed chemically during the reaction, causing the pressure in the container to drop. 2LiHCO3→Li2CO3↓+CO2↑+H2O is an exothermic reaction. When this reaction occurs, the temperature rises and gas is released, causing the pressure to rise). Such endothermic or exothermic reactions will cause mutation points in the temperature data, but this mutation point is a normal data change, so it is necessary to use the Pearson correlation coefficient of the temperature and pressure data. The correlation coefficient (i.e., the degree of linear correlation) corrects the degree of noise performance. The value range of the Pearson correlation coefficient is [-1, +1]. The larger the value of the Pearson correlation coefficient, the more likely that the sudden change in temperature data is caused by the sudden change in pressure data, and the smaller the degree of noise performance of the temperature data. On the contrary, the smaller the value of the correlation coefficient, the more likely that the sudden change in temperature data is caused by the noise of the temperature data, and the greater the degree of noise performance of the temperature data. Therefore, the larger the value of the Pearson correlation coefficient, the smaller the degree of noise performance of the corrected temperature data, and the smaller the Pearson correlation coefficient, the greater the degree of noise performance of the corrected temperature data. Therefore, the noise performance degree calculation method of the temperature data point of this embodiment can more accurately and efficiently calculate the noise performance degree of the temperature data point.

[0092] It can be seen from the above embodiments that the noise performance degree of a certain temperature data point is negatively correlated with the corresponding Pearson correlation coefficient, and positively correlated with the mutation degree of the temperature data point. In one embodiment, the calculation expression of the noise performance degree of a certain temperature data point is:

[0093]

[0094] In the formula, Indicates the noise performance of the i-th temperature data point, exp() is an exponential function; is the linear value at the i-th temperature data point, represents the actual value of the ith temperature data point, then Indicates the degree of mutation of the i-th temperature data point. represents the neighborhood temperature data sequence of the i-th temperature data point, is the neighborhood pressure data sequence of the ith temperature data point, Represents the Pearson correlation coefficient between the neighborhood temperature data series and the neighborhood pressure data series.

[0095] Because the value range of the Pearson correlation coefficient is -1 to 1, in order to satisfy the magnitude relationship of the correlation and facilitate normalization, it is limited to a positive number by adding 1, that is, ,Then That is, it is a correction process for the noise performance degree. The higher the Pearson correlation coefficient, the smaller the noise performance degree. Therefore, the noise performance degree calculation expression in this embodiment can be used to more accurately and efficiently calculate the noise performance degree of the temperature data point.

[0096] Lithium carbonate production automation control system example:

[0097] The present invention also provides an automated control system for lithium carbonate production. Figure 6 As shown, the lithium carbonate production automation control system includes a processor and a memory, and the memory stores computer program instructions. When the computer program instructions are executed by the processor, the lithium carbonate production automation control method according to the first aspect of the present invention is implemented.

[0098] The lithium carbonate production automation control system also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, whose settings and functions are known in the art and will not be described in detail here.

[0099] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0100] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0101] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A lithium carbonate production automation control method, It is characterized in that include: collecting the temperature in the hydrogenation reactor to obtain a temperature data sequence; Determine the extension length with the highest preference of the temperature data sequence, and record it as the optimal extension length, wherein the preference is negatively correlated with the noise performance of the extension part of the data sequence, and positively correlated with the consistency between the extreme value point distribution of the extension part and the extreme value point distribution of the entire temperature data sequence; The temperature data sequence is decomposed by using the empirical mode decomposition method to obtain the IMF component. During the decomposition process, the endpoints of the temperature data sequence are extended according to the optimal extension length combined with the symmetric extension method to solve the endpoint effect in the EMD decomposition process; De-noising each of the IMF components, and reconstructing the de-noised IMF components, thereby obtaining a de-noised temperature data sequence; Obtaining the temperature data closest to the current moment from the denoised temperature data sequence, and recording it as the current temperature; Performing PID control on the temperature in the hydrogenation reactor according to the difference between the current temperature and the target temperature; The method for determining the optimal extension length includes: Set the initial value of the extension length and calculate the corresponding optimization degree; Iterating the extension length with the distance of an extreme point as the step length, and calculating the preferred degree corresponding to the extension length after each iteration; iterating the extension length means increasing the extension length according to the preset step length; the distance of an extreme point refers to the data length from the endpoint of the data sequence corresponding to the extension length before this iteration in the temperature data sequence to the next extreme point; In response to the preference level corresponding to a certain iteration being less than the preference level corresponding to the previous iteration, the iteration is stopped, and the extension length corresponding to the previous iteration is used as the optimal extension length; The consistency degree is calculated based on the difference between the frequency of occurrence of the extreme value points in the extended data sequence and the frequency of occurrence of the extreme value points in the temperature data sequence, and is negatively correlated with the absolute value of the difference; the noise performance degree of the extended data sequence is calculated based on the average of the noise performance degrees of each temperature data point in the extended data sequence, and is negatively correlated with the average; The calculation expression of the preferred degree is: ; In the formula, Indicates the degree of preference for extending part of the data sequence, represents the frequency of occurrence of extreme points in the temperature data sequence, represents the frequency of occurrence of extreme points in the extended data sequence, is the difference between the frequency of occurrence of extreme points in the extended data sequence and the frequency of occurrence of extreme points in the temperature data sequence, Indicates the degree of said consistency; represents the mean value of the noise performance of each data point in the extended data sequence; B is a hyperparameter; The method for obtaining the noise performance degree of the temperature data point includes: Acquire a temperature data sequence within the neighborhood of the temperature data point according to the temperature data sequence, and record it as a neighborhood temperature data sequence; Obtaining the pressure in the hydrogenation reactor at each temperature collection moment within the time period corresponding to the neighborhood temperature data sequence, thereby forming a neighborhood pressure data sequence; The noise performance degree of the temperature data point is calculated based on the Pearson correlation coefficient between the neighborhood temperature data sequence and the neighborhood pressure data sequence and the mutation degree of the temperature data point, and the noise performance degree of the temperature data point is negatively correlated with the Pearson correlation coefficient and positively correlated with the corresponding mutation degree; the mutation degree is used to characterize the fluctuation amplitude of the temperature data point.

2. The lithium carbonate production automation control method according to claim 1, It is characterized in that The frequency of occurrence of extreme points in the data sequence can be calculated based on the time difference corresponding to adjacent extreme points and the sum of the noise performance levels of adjacent extreme points, and is negatively correlated with both the time difference and the sum of the noise performance levels; the time difference corresponding to adjacent extreme points refers to the difference between the collection times corresponding to two adjacent extreme points.

3. The lithium carbonate production automation control method according to claim 2, It is characterized in that The frequency calculation expression of extreme value points in the data sequence is: ; In the formula, represents the frequency of occurrence of extreme points in the data sequence, N represents the number of extreme points in the data sequence, , They represent the time corresponding to the jth extreme point and the j+1th extreme point in the data sequence respectively. , They respectively represent the noise performance degree of the temperature data point corresponding to the j-th extreme point in the data sequence and the noise performance degree of the temperature data point corresponding to the j+1-th extreme point.

4. The lithium carbonate production automation control method according to claim 1, It is characterized in that The calculation expression of the noise performance degree of the temperature data point is: ; In the formula, Indicates the noise performance of the i-th temperature data point, exp() is an exponential function; is the linear value at the i-th temperature data point, represents the actual value of the ith temperature data point, Indicates the degree of mutation of the i-th temperature data point; represents the neighborhood temperature data sequence of the i-th temperature data point, is the neighborhood pressure data sequence of the ith temperature data point, Represents the Pearson correlation coefficient between the neighborhood temperature data series and the neighborhood pressure data series.

5. The lithium carbonate production automation control method according to any one of claims 1 to 4, It is characterized in that The temperature in the hydrogenation reactor is collected at a frequency of 50 Hz.

6. A lithium carbonate production automation control system, comprising a processor and a memory, wherein the memory stores computer program instructions, It is characterized in that When the computer program instructions are executed by the processor, the lithium carbonate production automation control method described in any one of claims 1 to 5 is implemented.