A method, system and storage medium for evaluating and monitoring the particle size quality of powder ingredients
Through the photoelectric detector and multi-head attention mechanism, combined with the Chahine inversion algorithm, the laser measurement method is improved to solve the error problem in the particle size quality assessment of powder ingredients, improve the accuracy of particle size distribution, and achieve a more efficient quality assessment.
Patent Information
- Application Number
- CN202410783984.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-18
AI Technical Summary
The existing laser measurement method has errors in the particle size quality assessment of powder ingredients and cannot accurately invert the actual particle size, affecting the quality assessment effect.
A photodetector is used to obtain the light energy distribution column vector, and combined with the Chahine inversion algorithm and multi-head attention mechanism, the size distribution column vector is adjusted through a preset model to reduce errors and improve the accuracy of particle size distribution.
By improving the laser measurement method, the particle size measurement error is reduced and the accuracy and reliability of particle size quality assessment of powder ingredients are improved.
Smart Images

Figure CN118347903B
Abstract
Description
Technical Field
[0001] The invention relates to the field of batching particle size measurement, and in particular to a powder batching particle size quality assessment monitoring method, system and storage medium. Background Art
[0002] With the advancement of science and technology and changes in market demand, various products have higher and higher requirements for the quality of raw materials, especially in the fields of chemical, pharmaceutical, food, building materials, etc. The particle size of the powder has a direct impact on the performance and quality of the final product. Uneven particle size distribution or out of control may lead to unstable product performance, inconsistent process parameters, and even production failures and safety hazards. For example, in cement production, too large or too small particle size will affect the strength and durability of cement; in the pharmaceutical industry, uneven drug particles may lead to uneven release of drug efficacy, thereby affecting the treatment effect; and if the ingredients are mixed with too large particles, it is easy to clog the equipment, increase maintenance costs and downtime, and affect production efficiency.
[0003] Although the particle size of the ingredients can be controlled by using a sieve, holes may appear in the sieve during continuous production. In addition, the particle size distribution of the powder ingredients cannot be obtained, which is a very important indicator in the production of some products. There are mainly screening methods, sedimentation analysis methods, laser methods and image processing for the analysis and quality assessment of the particle size of the ingredients. Among them, laser measurement of particle size is the most widely used method. The main principle of laser particle size measurement is that laser irradiation of particles will cause scattering and diffraction, and the Mie scattering principle is used to infer the particle size of the ingredients. Although there are many inference methods, there are errors. How to reduce this error is of great significance to improving the quality assessment of the particle size of powder ingredients. Summary of the invention
[0004] In order to avoid blind spots in inspection, the present invention provides a method for evaluating and monitoring the particle size quality of powder ingredients, the method comprising the following steps:
[0005] The light energy received by each sector ring on each circular ring of the photoelectric detector is obtained, and the light energy received by each sector ring is used as an element of the matrix to obtain a matrix corresponding to the photoelectric detector. The light energy corresponding to each circular ring is calculated based on the matrix to obtain a light energy distribution column vector, and the size distribution column vector of the powder ingredients is estimated using the Chahine inversion algorithm and the light energy distribution column vector;
[0006] Insert a new element between every two elements of the size distribution column vector, obtain a first matrix based on matrices at different times, calculate the output of each attention head of the first matrix, adjust the size of the output matrix of the multi-head attention by a weight matrix, and input the output matrix and the size distribution column vector into a preset model;
[0007] Obtain the content corresponding to the size distribution column vector in the result of the preset model output, adjust the content to the same size as the original size distribution column vector, match the adjusted output with the ideal particle size distribution, and determine the particle size quality of the powder ingredient based on the matching result.
[0008] Preferably, the method of estimating the size distribution column vector of the powder ingredients by using the Chahine inversion algorithm and the light energy distribution column vector is specifically as follows:
[0009] The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set;
[0010] Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time;
[0011] Calculate the change between the current size distribution column vector and the previous size distribution column vector. When the change is less than the preset threshold, stop the iteration; otherwise, continue the iteration until the number of iterations is reached.
[0012] Preferably, the light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, specifically:
[0013] The outliers in each row of the matrix are eliminated, the values of the remaining elements in each row are accumulated, and the area ratio of the fan rings corresponding to the remaining elements on each circular ring is calculated, and the light energy corresponding to each circular ring in the light energy distribution column vector is obtained according to the ratio and the accumulation result.
[0014] Preferably, the size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically:
[0015] Concatenate the output of each attention head by column, set the weight matrix size, and multiply the concatenated matrix and the weight matrix so that the number of columns in the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting the new element.
[0016] Preferably, the inputting the output matrix and the size distribution column vector into a preset model is specifically:
[0017] Taking each row in the output matrix as a row vector, and transposing the size distribution column vector as a row vector, thereby obtaining a plurality of row vectors;
[0018] Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix;
[0019] Input the row vector after adding the position encoding into the preset model.
[0020] Preferably, the adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically:
[0021] Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution;
[0022] The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
[0023] In another aspect, the present invention provides a powder material batching particle size quality assessment and monitoring system, the system comprising the following modules:
[0024] A preliminary estimation module is used to obtain the light energy received by each sector ring on each circular ring of the photoelectric detector, take the light energy received by each sector ring as an element of the matrix to obtain a matrix corresponding to the photoelectric detector, calculate the light energy corresponding to each circular ring based on the matrix to obtain a light energy distribution column vector, and use the Chahine inversion algorithm and the light energy distribution column vector to estimate the size distribution column vector of the powder batching;
[0025] A feature fusion module, used to insert a new element between every two elements of the size distribution column vector, obtain a first matrix based on matrices at different times, calculate the output of each attention head of the first matrix, adjust the size of the output matrix of the multi-head attention through a weight matrix, and input the output matrix and the size distribution column vector into a preset model;
[0026] The quality assessment module is used to obtain the content corresponding to the size distribution column vector in the result of the preset model output, adjust the content to the same size as the original size distribution column vector, match the adjusted output with the ideal particle size distribution, and determine the particle size quality of the powder ingredient based on the matching result.
[0027] Preferably, the method of estimating the size distribution column vector of the powder ingredients by using the Chahine inversion algorithm and the light energy distribution column vector is specifically as follows:
[0028] The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set;
[0029] Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time;
[0030] Calculate the change between the current size distribution column vector and the previous size distribution column vector. When the change is less than the preset threshold, stop the iteration; otherwise, continue the iteration until the number of iterations is reached.
[0031] Preferably, the light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, specifically:
[0032] The outliers in each row of the matrix are eliminated, the values of the remaining elements in each row are accumulated, and the area ratio of the fan rings corresponding to the remaining elements on each circular ring is calculated, and the light energy corresponding to each circular ring in the light energy distribution column vector is obtained according to the ratio and the accumulation result.
[0033] Preferably, the size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically:
[0034] Concatenate the output of each attention head by column, set the weight matrix size, and multiply the concatenated matrix and the weight matrix so that the number of columns in the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting the new element.
[0035] Preferably, the inputting the output matrix and the size distribution column vector into a preset model is specifically:
[0036] Taking each row in the output matrix as a row vector, and transposing the size distribution column vector as a row vector, thereby obtaining a plurality of row vectors;
[0037] Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix;
[0038] Input the row vector after adding the position encoding into the preset model.
[0039] Preferably, the adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically:
[0040] Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution;
[0041] The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
[0042] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.
[0043] When measuring the particle size of powder batching, the commonly used laser measurement method, because the Mie principle requires an ideal state, and the inversion algorithm cannot obtain an accurate solution, this leads to an error between the actual particle size and the calculated particle size, and this error will affect the evaluation of the quality of the powder batching particle size. The present invention first improves the method of laser particle size measurement, specifically, firstly estimates the batching particle size using an inversion algorithm, then uses a preset model to correct the estimated result, calculates a particle size closer to the actual particle size, and then calculates the difference between the particle size distribution of the powder batching and the ideal particle size distribution, so as to realize the evaluation of the particle size quality of the powder batching. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a flow chart of Embodiment 1;
[0045] Figure 2 is a schematic diagram of the photoelectric detector structure;
[0046] Figure 3 Schematic diagram of ideal particle size distribution;
[0047] Figure 4 Schematic diagram for comparing the measured particle size distribution and the ideal particle size distribution;
[0048] Figure 5 This is a structural diagram of the second embodiment. DETAILED DESCRIPTION
[0049] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] In a first embodiment of the present invention, the invention provides a method for evaluating and monitoring the particle size quality of powder ingredients, such as Figure 1 As shown, the method comprises the following steps:
[0052] S1, obtaining the light energy received by each sector ring on each circular ring of the photoelectric detector, taking the light energy received by each sector ring as an element of the matrix to obtain the matrix corresponding to the photoelectric detector, calculating the corresponding light energy on each circular ring based on the matrix to obtain the light energy distribution column vector, and using the Chahine inversion algorithm and the light energy distribution column vector to estimate the size distribution column vector of the powder ingredients;
[0053] Laser particle size measurement has the advantages of fast measurement and non-contact. The laser particle size measurement device mainly consists of a laser emitting device, a beam expansion and alignment device, a Fourier lens, and a photoelectric detector. The photoelectric detector converts the scattering and diffraction generated after the laser irradiates the batching particles into an electrical signal. In a possible embodiment, the photoelectric detector has a circular or semicircular shape. In order to improve the accuracy of the final batching particle size, the photoelectric detector structure used in the present invention is as follows: Figure 2 As shown, compared with the existing photodetectors, the photodetector of the present invention includes multiple circular rings, each of which is divided into multiple areas, each area is in the shape of a fan ring, and a photosensitive component is arranged in each area, and the photosensitive component generates an electrical signal according to the intensity of light irradiated on the photosensitive component.
[0054] When measuring, each fan ring corresponds to a light energy, and the light energy received by all the fan rings on all the circular rings is used as an element of the matrix to obtain a matrix, wherein each element in the matrix is the light energy corresponding to a fan ring. In a more specific embodiment, each row of the matrix corresponds to a circular ring, and the light energy corresponding to the fan ring is arranged in order from left to right within the circular ring.
[0055] Inversion is involved in particle size measurement. Inversion refers to the inversion of particle size based on the signal collected on the photodetector. The inversion process involves the light energy distribution column vector E, the size distribution column vector W and the light energy matrix T. The light energy matrix T is also called the light energy coefficient distribution matrix. This matrix is related to the lens. When the focal length is determined, T is a constant. The relationship between the light energy distribution column vector E, the size distribution column vector W and the light energy matrix T is: E=TW.
[0056] When inverting, the particle size can be preliminarily estimated with the help of existing data, such as T. However, the photoelectric detector used for inversion using the above formula is different from the photoelectric detector used in the present invention, which requires the data collected by the photoelectric detector of the present invention to be converted. Specifically, the light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, which is specifically:
[0057] The outliers in each row of the matrix are eliminated, the values of the remaining elements in each row are accumulated, and the area ratio of the fan rings corresponding to the remaining elements on each circular ring is calculated, and the light energy corresponding to each circular ring in the light energy distribution column vector is obtained according to the ratio and the accumulation result.
[0058] Still Figure 2 For example, Figure 2 There are 7 sector rings in the outermost ring, and the ratio of the area of the 7 sector rings to the area of the outermost ring is calculated. Since the light is evenly distributed in the outermost ring, the light energy in the 7 sector rings is accumulated. According to the ratio of the areas and the accumulated results, the light energy of each ring can be obtained, and then the approximate particle size of the particles can be inverted using the formula of the inversion algorithm. In a more specific embodiment, the outliers in each row will be extracted, and these outliers are usually due to dust and other influences, that is, the outliers in each row of the matrix are eliminated, and the values of the remaining elements in each row are accumulated.
[0059] The Chahine inversion algorithm is an inversion method in laser particle size measurement. It has a fast convergence speed, but is sensitive to the initial value. During production, there will be an optimal particle size distribution or an ideal particle size distribution. Figure 3 An ideal powder batch size distribution is shown. The so-called optimal size distribution is that the product produced using the batch with this size distribution has the best performance. In actual production, the batch size is close to the expected optimal size distribution. In order to speed up the calculation speed of Chahine inversion, in one embodiment, the size distribution column vector of the powder batch is estimated by using the Chahine inversion algorithm and the light energy distribution column vector, specifically:
[0060] The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set;
[0061] Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time;
[0062] Calculate the change between the current size distribution column vector and the previous size distribution column vector. When the change is less than the preset threshold, stop the iteration; otherwise, continue the iteration until the number of iterations is reached.
[0063] S2, inserting a new element between every two elements of the size distribution column vector, obtaining a first matrix based on matrices at different times, calculating the output of each attention head of the first matrix, adjusting the size of the output matrix of the multi-head attention through the weight matrix, and inputting the output matrix and the size distribution column vector into a preset model;
[0064] The inversion algorithm for calculating the particle size of ingredients is based on Mie theory, which has multiple prerequisites, including assuming that the particles are spherical, the particles are uniform media, and there is no dust influence, etc. In addition, the inversion algorithm continuously approximates the light energy distribution column vector, and is not an accurate solution. These all lead to a gap between the calculated particle size of ingredients and the actual one, and the final result is only an estimate. In order to match the results with the actual ones as much as possible, an artificial intelligence model is introduced in S2. Compared with the inversion method, the artificial intelligence model has more parameters, and these parameters can be learned.
[0065] In order to increase the accuracy, the size distribution column vector is first expanded, specifically, a new element is inserted between every two elements in the size distribution column vector estimated in S1. There are many ways to insert new elements. For example, two adjacent elements in the size distribution column vector are w1 and w2, and a new element w10 is inserted between the two. The value of the new element is the average of the left and right elements. In another embodiment, the size distribution column vector is curve fitted, and then the value of the middle position of the two adjacent elements is obtained, and the value is used as the inserted element.
[0066] The photodetector will obtain different matrices at different times, and the matrices are the same as the matrices in S1, and each element is a light energy. In order to eliminate outliers, a first matrix is obtained based on the matrices at different times, that is, the first matrix is obtained by the matrices corresponding to the photodetectors at different times. In a more detailed embodiment, the first matrix is the average of multiple matrices. In another embodiment, the first matrix is obtained by convolving the multiple matrices.
[0067] After obtaining the first matrix, each row or column of the first matrix is used as an embedding vector, and then the multi-head attention of the embedded vector is calculated. The multi-head attention includes multiple attention heads, and each attention head corresponds to an output. In order to be able to fuse the first matrix and the size distribution column vector, the size of the output matrix of the multi-head attention is adjusted by the weight matrix. In a specific embodiment, the size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically: the output of each attention head is spliced by column, the weight matrix size is set, and the spliced matrix and the weight matrix are multiplied so that the number of columns of the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting new elements. The specific formula is that the output of each attention head is M×N. If there are L attention heads, the spliced matrix is M×(LN). If the number of elements in the size distribution column vector after inserting new elements is Q, then the size of the weight matrix is (LN)×Q. For example, there are 3 attention heads, and their output matrices are all 2×2. After splicing, the matrix size is 2×6. If the size distribution column vector has 4 elements after inserting the new element, the size of the weight matrix is 6×4, and the matrix size after multiplying the spliced matrix and the weight matrix is 2×4.
[0068] Then, the output matrix and the size distribution column vector are input into a preset model. In a more specific embodiment, the preset model is a ViT model. Specifically, each row in the output matrix is used as a row vector, and the size distribution column vector is transposed as a row vector, thereby obtaining a plurality of row vectors.
[0069] Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix;
[0070] Input the row vector after adding the position encoding into the preset model.
[0071] There is a learnable vector in the ViT model, the size distribution column vector is used as the learnable vector, each row in the output matrix is used as the embedding vector in ViT, and position encoding is added to the learnable vector. The ring number is used as the position encoding for other embedding vectors, and finally input into the ViT model.
[0072] In another optional embodiment, the preset model includes a backbone network and a detection head, wherein the backbone network is used to extract features of the output matrix and the size distribution column vector. Specifically, the output matrix and the size distribution column vector are concatenated, and then features are extracted using convolution or other methods.
[0073] S3, obtaining the content corresponding to the size distribution column vector in the result of the preset model output, adjusting the content to the same size as the original size distribution column vector, matching the adjusted output with the ideal particle size distribution, and determining the particle size quality of the powder ingredient based on the matching result.
[0074] After passing through the ViT model, the learnable vector, i.e., the result corresponding to the size distribution column vector, is the final output, and then the size of the output matrix is adjusted to be the same as the original size distribution column vector. In a more detailed embodiment, the adjustment to the same size as the original size distribution column vector is performed by curve fitting, specifically, a curve fitting is performed on the content, and then a point is selected from the curve as an element of the adjusted size distribution column vector. There are many ways to select, which will not be repeated here.
[0075] In an alternative embodiment of S3, if the preset model includes a backbone network and a detection head, the output of the preset model is directly used as the output result, and the output of the preset model has the same size as the original size distribution column vector.
[0076] In an optional embodiment, the adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically:
[0077] Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution;
[0078] The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
[0079] like Figure 4 As shown, Figure 4 The solid line in the middle is the ideal particle size distribution, and the dotted line is the output particle size distribution, that is, the actual measured particle size distribution. By calculating the distance between the two, such as the Euclidean distance, the degree of fit or distance between the two can be determined, and then the quality of the powder ingredient particle size can be determined by the interval in which the distance lies. For example, a distance less than 5 is excellent.
[0080] In a second embodiment of the present invention, the present invention provides a powder material batching particle size quality assessment monitoring system, such as Figure 5 As shown, the system includes the following modules:
[0081] A preliminary estimation module is used to obtain the light energy received by each sector ring on each circular ring of the photoelectric detector, take the light energy received by each sector ring as an element of the matrix to obtain a matrix corresponding to the photoelectric detector, calculate the light energy corresponding to each circular ring based on the matrix to obtain a light energy distribution column vector, and use the Chahine inversion algorithm and the light energy distribution column vector to estimate the size distribution column vector of the powder batching;
[0082] A feature fusion module, used to insert a new element between every two elements of the size distribution column vector, obtain a first matrix based on matrices at different times, calculate the output of each attention head of the first matrix, adjust the size of the output matrix of the multi-head attention through a weight matrix, and input the output matrix and the size distribution column vector into a preset model;
[0083] The quality assessment module is used to obtain the content corresponding to the size distribution column vector in the result of the preset model output, adjust the content to the same size as the original size distribution column vector, match the adjusted output with the ideal particle size distribution, and determine the particle size quality of the powder ingredient based on the matching result.
[0084] Preferably, the method of estimating the size distribution column vector of the powder ingredients by using the Chahine inversion algorithm and the light energy distribution column vector is specifically as follows:
[0085] The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set;
[0086] Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time;
[0087] Calculate the change between the current size distribution column vector and the previous size distribution column vector. When the change is less than the preset threshold, stop the iteration; otherwise, continue the iteration until the number of iterations is reached.
[0088] Preferably, the light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, specifically:
[0089] The outliers in each row of the matrix are eliminated, the values of the remaining elements in each row are accumulated, and the area ratio of the fan rings corresponding to the remaining elements on each circular ring is calculated, and the light energy corresponding to each circular ring in the light energy distribution column vector is obtained according to the ratio and the accumulation result.
[0090] Preferably, the size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically:
[0091] Concatenate the output of each attention head by column, set the weight matrix size, and multiply the concatenated matrix and the weight matrix so that the number of columns in the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting the new element.
[0092] Preferably, the inputting the output matrix and the size distribution column vector into a preset model is specifically:
[0093] Taking each row in the output matrix as a row vector, and transposing the size distribution column vector as a row vector, thereby obtaining a plurality of row vectors;
[0094] Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix;
[0095] Input the row vector after adding the position encoding into the preset model.
[0096] Preferably, the adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically:
[0097] Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution;
[0098] The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
[0099] In a third embodiment of the present invention, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first embodiment is implemented.
[0100] In a fourth embodiment of the present invention, the present invention further provides a computer device, which includes at least a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method described in the first embodiment is implemented.
[0101] Through the description of the above implementation methods, technicians in this field can clearly understand that each implementation method can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it, and other embodiments may also be used. Although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for evaluating and monitoring the particle size quality of powder ingredients, It is characterized in that The method comprises the following steps: The light energy received by each sector ring on each circular ring of the photoelectric detector is obtained, and the light energy received by each sector ring is used as an element of the matrix to obtain a matrix corresponding to the photoelectric detector. The light energy corresponding to each circular ring is calculated based on the matrix to obtain a light energy distribution column vector, and the size distribution column vector of the powder ingredients is estimated using the Chahine inversion algorithm and the light energy distribution column vector; Insert a new element between every two elements of the size distribution column vector, obtain a first matrix based on matrices at different times, calculate the output of each attention head of the first matrix, adjust the size of the output matrix of the multi-head attention by a weight matrix, and input the output matrix and the size distribution column vector into a preset model; Obtaining the content corresponding to the size distribution column vector in the result of the preset model output, adjusting the content to the same size as the original size distribution column vector, matching the adjusted output with the ideal particle size distribution, and determining the particle size quality of the powder batching based on the matching result; The size distribution column vector of the powder ingredients is estimated by using the Chahine inversion algorithm and the light energy distribution column vector, specifically: The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set; Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time; Calculate the change between the current size distribution column vector and the previous size distribution column vector. If the change is less than a preset threshold, stop iterating; otherwise, continue iterating until the number of iterations is reached. The light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, specifically: Eliminate the abnormal values in each row of the matrix, accumulate the values of the remaining elements in each row, and calculate the area ratio of the fan rings corresponding to the remaining elements on each circular ring, and obtain the light energy corresponding to each circular ring in the light energy distribution column vector according to the area ratio and the accumulation result; The size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically: Concatenate the output of each attention head by column, set the weight matrix size, and multiply the concatenated matrix and the weight matrix so that the number of columns of the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting the new element; The inputting of the output matrix and the size distribution column vector into a preset model is specifically as follows: Taking each row in the output matrix as a row vector, and transposing the size distribution column vector as a row vector, thereby obtaining a plurality of row vectors; Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix; Input the row vector after adding the position encoding into the preset model; The adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically: Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution; The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
2. A powder material batching particle size quality assessment and monitoring system, It is characterized in that The system includes the following modules: A preliminary estimation module is used to obtain the light energy received by each sector ring on each circular ring of the photoelectric detector, take the light energy received by each sector ring as an element of the matrix to obtain a matrix corresponding to the photoelectric detector, calculate the light energy corresponding to each circular ring based on the matrix to obtain a light energy distribution column vector, and use the Chahine inversion algorithm and the light energy distribution column vector to estimate the size distribution column vector of the powder batching; A feature fusion module, used to insert a new element between every two elements of the size distribution column vector, obtain a first matrix based on matrices at different times, calculate the output of each attention head of the first matrix, adjust the size of the output matrix of the multi-head attention through a weight matrix, and input the output matrix and the size distribution column vector into a preset model; A quality assessment module, used for obtaining the content corresponding to the size distribution column vector in the result of the preset model output, adjusting the content to the same size as the original size distribution column vector, matching the adjusted output with the ideal particle size distribution, and determining the particle size quality of the powder batching based on the matching result; The size distribution column vector of the powder ingredients is estimated by using the Chahine inversion algorithm and the light energy distribution column vector, specifically: The ideal particle size distribution is used as the initial size distribution column vector, and the number of iterations and convergence conditions are set; Obtain the theoretical light energy distribution column vector calculated last time, and update the size distribution column vector by using the actual light energy distribution column vector and the theoretical light energy distribution column vector calculated last time; Calculate the change between the current size distribution column vector and the previous size distribution column vector. If the change is less than a preset threshold, stop iterating; otherwise, continue iterating until the number of iterations is reached. The light energy corresponding to each ring is calculated based on the matrix to obtain the light energy distribution column vector, specifically: Eliminate the abnormal values in each row of the matrix, accumulate the values of the remaining elements in each row, and calculate the area ratio of the fan rings corresponding to the remaining elements on each circular ring, and obtain the light energy corresponding to each circular ring in the light energy distribution column vector according to the area ratio and the accumulation result; The size of the output matrix of the multi-head attention is adjusted by the weight matrix, specifically: Concatenate the output of each attention head by column, set the weight matrix size, and multiply the concatenated matrix and the weight matrix so that the number of columns of the multiplied matrix is the same as the number of elements in the size distribution column vector after inserting the new element; The inputting of the output matrix and the size distribution column vector into a preset model is specifically as follows: Taking each row in the output matrix as a row vector, and transposing the size distribution column vector as a row vector, thereby obtaining a plurality of row vectors; Adding a position code 0 to the row vector corresponding to the size distribution column vector, and adding a position code according to the ring number corresponding to each row to the row vector corresponding to each row of the output matrix; Input the row vector after adding the position encoding into the preset model; The adjusted output is matched with the ideal particle size distribution, and the particle size quality of the powder batching is determined based on the matching result, specifically: Obtaining an ideal particle size distribution of the powder batch particle size, and calculating the distance between the adjusted output and the ideal particle size distribution; The particle size quality of the powder material batching is determined based on the interval in which the distance lies.
3. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer program implements the method according to claim 1 when executed by a processor.
Citation Information
Patent Citations
Lasso regression method for inverting particle size distribution by virtue of light scattering method
CN105928850A
Measurement method of particle size distribution of particle system
CN109856019A
