WO2022213958A1 - Soft measurement method for purity of phosphorus recovery product - Google Patents

Soft measurement method for purity of phosphorus recovery product Download PDF

Info

Publication number
WO2022213958A1
WO2022213958A1 PCT/CN2022/085201 CN2022085201W WO2022213958A1 WO 2022213958 A1 WO2022213958 A1 WO 2022213958A1 CN 2022085201 W CN2022085201 W CN 2022085201W WO 2022213958 A1 WO2022213958 A1 WO 2022213958A1
Authority
WO
WIPO (PCT)
Prior art keywords
hidden node
phosphorus recovery
matrix
model
purity
Prior art date
Application number
PCT/CN2022/085201
Other languages
French (fr)
Chinese (zh)
Inventor
李兵
黄跃飞
韩京成
武晓峰
Original Assignee
清华大学深圳国际研究生院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 清华大学深圳国际研究生院 filed Critical 清华大学深圳国际研究生院
Publication of WO2022213958A1 publication Critical patent/WO2022213958A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/64Analysis of geometric attributes of convexity or concavity
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/20Identification of molecular entities, parts thereof or of chemical compositions
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/70Machine learning, data mining or chemometrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Definitions

  • the present invention is in the technical field of environmental protection, in particular to a soft measurement method for the purity of a phosphorus recovery product.
  • Phosphorus is an important nutrient element, which is of great significance to human beings and various organisms in nature. Due to the massive exploitation of human beings and the unidirectional mobility of phosphorus in nature, the phosphate rock will be exhausted in the next 50 to 100 years, which will lead to a serious crisis of phosphorus resources. In order to alleviate this phenomenon, the recovery and reuse of phosphorus resources has received extensive attention. In the past ten years, the struvite crystallization method has been regarded as a very promising method to solve the crisis of phosphorus resources. It can not only precipitate phosphate in wastewater, but also the product MgNH4PO3 ⁇ H2O (struvite) is a good Slow-release fertilizers have therefore received widespread attention.
  • the crystallization process is affected by the combination of liquid-solid equilibrium thermodynamics and mass transfer between solid and liquid phases.
  • Other process factors such as pH, degree of supersaturation, mixing energy, temperature and the presence of competing ions, can affect the purity of the product struvite.
  • struvite For struvite to be an economically viable commercial fertilizer, high strength, low dissolution rate, slow release properties, and high purity are the primary characteristics.
  • Commonly used methods for determining the purity of struvite are: 1) qualitative determination, using Fourier transform infrared spectroscopy (FTIR) or X-ray diffraction (XRD) spectroscopy to compare the morphology of solid precipitates and pure struvite; The theoretical value of struvite is used as a reference, and the percentage of each element in the solid is compared; 3) The nitrogen content is measured by an elemental analyzer and used as a reference value; 4) Quantitative X-ray diffraction method.
  • FTIR Fourier transform infrared spectroscopy
  • XRD X-ray diffraction
  • the main purpose of the present invention is to overcome the defects of the above-mentioned background technology, and to provide a soft measurement method for the purity of phosphorus recovery products.
  • the present invention adopts the following technical solutions:
  • a soft measurement method for the purity of a phosphorus recovery product comprising the steps:
  • step (3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
  • a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used.
  • the model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
  • the processing in step (2) includes enhancing chromatic aberration and contrast, and performing stroke processing on the two-dimensional plane shape of the phosphorus recovery product in the picture.
  • step (4) the soft-sensor model of establishing phosphorus recovery product purity specifically includes the following steps:
  • XE is the augmented input matrix
  • a and H are the weight coefficient matrix corresponding to the original input vector and the corresponding output vector of the hidden node of the RBF network
  • b is the input bias vector
  • T is the transpose
  • c is the hidden node center vector
  • is the corresponding width vector
  • a and H are the weight coefficient matrix
  • step II the hidden node center vector c, the corresponding width vector ⁇ , the weight coefficient matrices A and H, and the input bias vector b are determined as follows:
  • N is the number of hidden node centers
  • ci is the p hidden node centers closest to the jth hidden node center
  • step (4) the new prediction analysis data is combined with the original NLPLS model, and the recursive algorithm is used to update the model, which specifically includes the following steps:
  • b Determine whether to add a new hidden node. If the distance between the new data X1 and the existing RBF network hidden node center is greater than the set value, add a new hidden node; if the distance between X1 and the existing RBF network hidden node center If it is less than or equal to the set value, there is no need to add hidden nodes;
  • step b if the distance between the new data X1 and the existing hidden node center of the RBF network is greater than the set value, record the new hidden node center matrix as C gnew , and the corresponding width vector as ⁇ gnew .
  • the matrix C g , the corresponding width vector ⁇ g and the loading matrix P are expanded as follows:
  • a computer-readable storage medium storing a computer program, when the computer program is executed by a processor, realizes the steps (2) to (4) of the soft measurement method of the described phosphorus recovery product purity, specifically comprising:
  • step (3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
  • a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used.
  • the model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
  • the invention proposes a soft measurement method for the purity of phosphorus recovery products, which quantitatively describes the two-dimensional topography and structure of the product, and then adopts a nonlinear least squares (NLPLS) method to establish a soft measurement model between the shape factor and the product purity. It overcomes the defects of complicated operation and long time of the existing purity determination method, and greatly improves the efficiency of the whole production process.
  • the method of the invention is based on the microscope photographing technology, the shape factor of the product is represented by a physical parameter, and then a non-linear least squares method is used to establish a soft measurement model between the shape factor and the product purity, and the model is used to predict the product purity, which is the best way for production Control and optimization provide operational guidance.
  • the method of the invention effectively avoids the problems of long time consumption and signal distortion in the traditional purity measurement process, and provides a fast, simple and accurate method for the determination of the purity of the phosphorus recovery product.
  • FIG. 1 is a schematic flowchart of a soft sensing method for a phosphorus recovery product according to an embodiment of the present invention.
  • connection can be used for both the fixing function and the coupling or communication function.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first”, “second” may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, “plurality” means two or more, unless otherwise expressly and specifically defined.
  • the captured pictures are processed, the background of the picture is adjusted to white, the particles are adjusted to black, the color difference and contrast are enhanced, and the two-dimensional plane shape of the phosphorus recovery product on the picture is stroked.
  • the model establishment and purity prediction process are as follows:
  • Step 1 Based on the physical parameters of the product obtained by the above measurement and calculation, a non-linear partial least squares (NLPLS) method is used to establish a soft sensor model of the purity of the phosphorus recovery product.
  • NPLS non-linear partial least squares
  • the input matrix is expanded by columns, and the expanded items are the hidden node output matrix G of the radial basis function (RBF) neural network and the column vector 1 whose elements are all 1, where each row of G corresponds to a hidden node under the action of the input vector.
  • the output of , the bias term coefficient of the hidden node is 1; the partial least squares (PLS) recovery is performed on the following augmented input matrix and output matrix:
  • XE is the augmented input matrix
  • a and H are the weight coefficient matrix corresponding to the original input vector and the corresponding output vector of the hidden node of the RBF network
  • b is the input bias vector
  • T is the transpose.
  • the unknown parameters in the NLPLS model are the hidden node center vector c, the corresponding width vector ⁇ , the weight coefficient matrices A and H, and the model bias vector b. These parameters are determined as follows:
  • N is the number of hidden node centers
  • ci is the p hidden node centers closest to the jth hidden node center.
  • Step 2 For a new batch, use the established NLPLS model to predict and analyze the product purity: transfer the product shape parameters of the new batch to the NLPLS model to estimate the product purity of the batch.
  • Step 3 When the new batch ends, use the new data combined with the original NLPLS model, and use the recursive algorithm to update the model, so that the model can continuously adopt new information and adapt to changes in the process. Specific steps are as follows:
  • a Record the input and output data of the newly obtained batch as X1 and Y1 respectively (it can be the data of one batch or the data of multiple batches), and it does not contain abnormal points.
  • the new hidden node center matrix is C gnew
  • the corresponding width vector is ⁇ gnew .
  • the hidden node center matrix C g , the corresponding width vector ⁇ g and the load matrix P are extended as follows:
  • step 2 After getting the new model, go back to step 2 and apply it to the newly obtained batch of data.
  • the Background of the Invention section may contain background information about the problem or environment of the invention and is not necessarily a description of the prior art. Therefore, what is contained in the Background section is not an admission of prior art by the applicant.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Geometry (AREA)
  • Chemical & Material Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Evolutionary Biology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Probability & Statistics with Applications (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A soft measurement method for the purity of a phosphorus recovery product, comprising the following steps: (1) photographing a collected phosphorus recovery product with an optical microscope, and recording a microstructure of the phosphorus recovery product on a two-dimensional plane; (2) processing the picture taken in step (1); (3) measuring and calculating: the distance nFmax between the farthest two points at the periphery of a particle, the distance nFmin between the closest two points at the periphery of the particle, the elongation nEl1, the length-to-diameter ratio nEl2, the total area of particles nA, the particle perimeter nP, the particle perimeter nCi, the equivalent diameter nEd, the solidity ns, and the convexity-concavity nCo; and (4) establishing a soft measurement model of the purity of the phosphorus recovery product by using a non-linear partial least squares (NLPLS) method. For the new phosphorus recovery product, predictive analysis is performed on the purity of the product by using the NLPLS model, and the model is updated by using the new predictive analysis data. The present invention provides a fast, simple and accurate method for purity determination of phosphorus recovery products.

Description

一种磷回收产品纯度的软测量方法A soft-sensor method for the purity of phosphorus recovery products 技术领域technical field
本发明环保技术领域,特别涉及一种磷回收产品纯度的软测量方法。The present invention is in the technical field of environmental protection, in particular to a soft measurement method for the purity of a phosphorus recovery product.
背景技术Background technique
磷是一种重要的营养元素,对人类及自然界的各种生物均有重要意义。由于人类的大量开采以及磷在自然界的单向流动性,磷矿将在未来的50到100年内被开采殆尽,届时将导致严重的磷资源危机。为了缓解这一现象,磷资源的回收以及再利用技术已受到广泛的关注。近十年来,鸟粪石结晶法被认为是一种十分有前景的解决磷资源危机的方法,它不仅可以沉淀废水中的磷酸盐,而且产物MgNH4PO3·H2O(鸟粪石)是一种良好的缓释肥,因此受到广泛的关注。结晶过程受液固平衡热力学和固液相间传质的综合影响,其它过程因素,如pH、过饱和程度、混合能、温度和竞争离子的存在都会影响产物鸟粪石的纯度。若要使鸟粪石成为经济上可行的商业肥料,强度高、溶解速率低、缓释性能以及纯度高都是首要考虑的特性。Phosphorus is an important nutrient element, which is of great significance to human beings and various organisms in nature. Due to the massive exploitation of human beings and the unidirectional mobility of phosphorus in nature, the phosphate rock will be exhausted in the next 50 to 100 years, which will lead to a serious crisis of phosphorus resources. In order to alleviate this phenomenon, the recovery and reuse of phosphorus resources has received extensive attention. In the past ten years, the struvite crystallization method has been regarded as a very promising method to solve the crisis of phosphorus resources. It can not only precipitate phosphate in wastewater, but also the product MgNH4PO3·H2O (struvite) is a good Slow-release fertilizers have therefore received widespread attention. The crystallization process is affected by the combination of liquid-solid equilibrium thermodynamics and mass transfer between solid and liquid phases. Other process factors, such as pH, degree of supersaturation, mixing energy, temperature and the presence of competing ions, can affect the purity of the product struvite. For struvite to be an economically viable commercial fertilizer, high strength, low dissolution rate, slow release properties, and high purity are the primary characteristics.
通常,在鸟粪石结晶的过程中,许多杂质离子会与镁、磷酸盐发成沉淀反应,导致晶体物质不纯,这会降低产物作为肥料的应用效果,因此,必须测定沉淀产物中鸟粪石的纯度,即鸟粪石在全部沉淀产物中所占的比重。常用的测定鸟粪石纯度的方法有:1)定性测定,使用傅里叶变换红外光谱(FTIR)或X射线衍射(XRD)光谱对比固体沉淀物和纯鸟粪石的形貌;2)以纯鸟粪石的理论值为参考,比较各元素在固体中的百分比;3)使用元素分析仪器对氮含量进行测定,并作为参考值;4)定量X射线衍射法。然而,由于样品制备和分析需要额外的时间,这些纯度测定方法限制了整个生产过程,因为在检测期间,生产线需要暂停,直到达到适宜的产品纯度。因此,目前所用的磷回收产品纯度的测量方法均存在操作复杂、时间长等缺陷,大大降低了整个生产过程的效率。Usually, in the process of struvite crystallization, many impurity ions will precipitate with magnesium and phosphate, resulting in impure crystals, which will reduce the application effect of the product as a fertilizer. Therefore, it is necessary to determine the guano in the precipitated product. The purity of the stone, that is, the proportion of struvite in all precipitation products. Commonly used methods for determining the purity of struvite are: 1) qualitative determination, using Fourier transform infrared spectroscopy (FTIR) or X-ray diffraction (XRD) spectroscopy to compare the morphology of solid precipitates and pure struvite; The theoretical value of struvite is used as a reference, and the percentage of each element in the solid is compared; 3) The nitrogen content is measured by an elemental analyzer and used as a reference value; 4) Quantitative X-ray diffraction method. However, due to the additional time required for sample preparation and analysis, these purity determination methods limit the overall production process, as the production line needs to be paused during the assay period until suitable product purity is achieved. Therefore, the currently used methods for measuring the purity of phosphorus recovery products all have defects such as complicated operation and long time, which greatly reduces the efficiency of the entire production process.
需要说明的是,在上述背景技术部分公开的信息仅用于对本申请的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above Background section is only for understanding of the background of the application, and therefore may include information that does not form the prior art known to a person of ordinary skill in the art.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于克服上述背景技术的缺陷,提供一种磷回收产品纯度的软测量方法。The main purpose of the present invention is to overcome the defects of the above-mentioned background technology, and to provide a soft measurement method for the purity of phosphorus recovery products.
为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种磷回收产品纯度的软测量方法,包括如下步骤:A soft measurement method for the purity of a phosphorus recovery product, comprising the steps:
(1)利用光学显微镜对收集的磷回收产品进行拍摄,记录其在二维平面上的微观形貌结构;(1) Use an optical microscope to photograph the collected phosphorus recovery products, and record their microscopic topography on a two-dimensional plane;
(2)对步骤(1)拍摄的图片进行处理以便测量图片中颗粒物的物理参数;(2) processing the pictures taken in step (1) so as to measure the physical parameters of the particles in the pictures;
(3)对经步骤(2)处理的图片中颗粒物的下述物理参数进行测量及计算:粒子周边最远两点的距离nF max;粒子周边最近两点的距离nF min;伸长率n El1;长径比n El2;粒子总面积n A;粒子周长n P;粒子周长n Ci;当量直径n Ed;固体性n s;凹凸性n Co(3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
(4)基于步骤(3)中测量及计算所得的产品物理参数,采用非线性部分最小二乘NLPLS方法,建立磷回收产物纯度的软测量模型;对于新的磷回收产品,使用已经建立的NLPLS模型对产品纯度进行预估分析,并利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新。(4) Based on the physical parameters of the product measured and calculated in step (3), a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used. The model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
进一步地:further:
步骤(2)中的处理包括增强色差与对比度,对图片中的磷回收产品的二维平面形状进行描边处理。The processing in step (2) includes enhancing chromatic aberration and contrast, and performing stroke processing on the two-dimensional plane shape of the phosphorus recovery product in the picture.
步骤(4)中建立磷回收产物纯度的软测量模型具体包括如下步骤:In step (4), the soft-sensor model of establishing phosphorus recovery product purity specifically includes the following steps:
Ⅰ.将测量及计算所得的样品形貌参数作为数据驱动的样本集合,表示为{x(i),y(i)},其中x(i)表示第i组输入数据,即步骤(3)中所得的参数,y(i)表示第i组输出数据,为产品的纯度,将输入数据构成矩阵X、将输出数据构成输出矩阵Y;Ⅰ. Take the measured and calculated sample topography parameters as a data-driven sample set, expressed as {x(i), y(i)}, where x(i) represents the i-th group of input data, that is, step (3) The parameters obtained in , y(i) represents the output data of the ith group, which is the purity of the product, and the input data is formed into a matrix X, and the output data is formed into an output matrix Y;
Ⅱ.基于输入输出数据建立NLPLS模型,具体包括:Ⅱ. Build an NLPLS model based on input and output data, including:
对矩阵X和Y进行归一化处理,使之均值为0,方差为1,然后将输入矩阵进行列扩展,扩展项为径向基函数(RBF)神经网络的隐节点输出矩阵G和元素全为1的列向量1,其中G的每一行对应一个输入向量作用下的隐节点的输出,隐节点的偏置项系数为1;对如下增广输入矩阵和输出矩阵进行部分最小二乘(PLS)回收:Normalize the matrices X and Y so that the mean value is 0 and the variance is 1, and then the input matrix is column-expanded, and the expansion term is the hidden node output matrix G of the radial basis function (RBF) neural network and the elements are full. is a column vector 1 of 1, where each row of G corresponds to the output of a hidden node under the action of an input vector, and the coefficient of the bias term of the hidden node is 1; Partial least squares (PLS) is performed on the following augmented input matrix and output matrix )Recycle:
{[1 X G],Y},得到的NLPLS模型表示为:{[1 X G], Y}, the resulting NLPLS model is expressed as:
Figure PCTCN2022085201-appb-000001
Figure PCTCN2022085201-appb-000001
式中XE表示增广输入矩阵,A和H分别为对应原始输入向量和对应RBF网络隐节点输出向量的权值系数矩阵,b为输入偏置向量,T表示转置,c为隐节点中心向量、σ为相应宽度向量、A与H为权值系数矩阵。where XE is the augmented input matrix, A and H are the weight coefficient matrix corresponding to the original input vector and the corresponding output vector of the hidden node of the RBF network, b is the input bias vector, T is the transpose, and c is the hidden node center vector , σ is the corresponding width vector, A and H are the weight coefficient matrix.
步骤Ⅱ中,隐节点中心向量c、相应宽度向量σ、权值系数矩阵A与H、输入偏置向量b按如下步骤确定:In step II, the hidden node center vector c, the corresponding width vector σ, the weight coefficient matrices A and H, and the input bias vector b are determined as follows:
①用k-means聚类算法对输入数据进行聚类,得到隐节点中心c;①Use the k-means clustering algorithm to cluster the input data to obtain the hidden node center c;
②采用p近邻规则计算隐节点宽度:②Use the p-nearest neighbor rule to calculate the hidden node width:
Figure PCTCN2022085201-appb-000002
Figure PCTCN2022085201-appb-000002
其中N为隐节点中心的个数,ci为距离第j个隐节点中心最近的p个隐节点中心;where N is the number of hidden node centers, and ci is the p hidden node centers closest to the jth hidden node center;
③采用PLS回归确定权值系数矩阵A、H和偏置向量b:③ Use PLS regression to determine the weight coefficient matrix A, H and bias vector b:
根据得到的隐节点中心和宽度计算隐节点输出矩阵G,然后对输入矩阵进行扩展,得到增广输入矩阵[1 X G],对数据{[1 X G],Y}进行PLS回归,得到PLS模型参数矩阵{T,W,P,B,Q},提取特征变量个数a采用交叉校验法确定,得到的参数矩阵记为{Ta,Wa,Pa,Ba,Qa},进一步计算出PLS回归系数矩阵β,从而得到A,H和b。Calculate the hidden node output matrix G according to the obtained hidden node center and width, and then expand the input matrix to obtain the augmented input matrix [1 X G], perform PLS regression on the data {[1 X G], Y}, and obtain PLS The model parameter matrix {T,W,P,B,Q}, the number of extracted feature variables a is determined by the cross-check method, the obtained parameter matrix is recorded as {Ta,Wa,Pa,Ba,Qa}, and the PLS is further calculated. Regression coefficient matrix β, resulting in A, H and b.
步骤(4)中,利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新,具体包括如下步骤:In step (4), the new prediction analysis data is combined with the original NLPLS model, and the recursive algorithm is used to update the model, which specifically includes the following steps:
a.记新的磷回收产品批次的输入输出数据分别为X1和Y1,且不含异常点;a. Record the input and output data of the new phosphorus recovery product batch as X1 and Y1 respectively, and do not contain abnormal points;
b.判断是否增加新的隐节点,如果新数据X1与已有的RBF网络隐节点中心的距离大于设定值,则加入新的隐节点;如果X1与现有的RBF网络隐节点中心的距离小于等于设定值,则不需要增加隐节点;b. Determine whether to add a new hidden node. If the distance between the new data X1 and the existing RBF network hidden node center is greater than the set value, add a new hidden node; if the distance between X1 and the existing RBF network hidden node center If it is less than or equal to the set value, there is no need to add hidden nodes;
c.扩展X1,进行PLS回归,得到更新的NLPLS模型;然后按照步骤③的方法计算权值系数矩阵A、H和偏置向量b。c. Expand X1, perform PLS regression, and obtain an updated NLPLS model; then calculate the weight coefficient matrix A, H and bias vector b according to the method of step ③.
步骤b中,如果新数据X1与已有的RBF网络隐节点中心的距离大于设定值,记新的隐节点中心矩阵为C gnew,相应的宽度向量为σ gnew,对原有的隐节点中心矩阵C g、相应的宽度向量σ g和负荷矩阵P进行如下扩展: In step b, if the distance between the new data X1 and the existing hidden node center of the RBF network is greater than the set value, record the new hidden node center matrix as C gnew , and the corresponding width vector as σ gnew . The matrix C g , the corresponding width vector σ g and the loading matrix P are expanded as follows:
Figure PCTCN2022085201-appb-000003
Figure PCTCN2022085201-appb-000003
如果X1与现有的RBF网络隐节点中心的距离小于等于设定值,C g、σ g和P保持不变。 If the distance between X1 and the existing RBF network hidden node center is less than or equal to the set value, C g , σ g and P remain unchanged.
将X1扩展为XE1=[1 X1 G1],其中G1为隐节点对于X1的输出矩阵,令
Figure PCTCN2022085201-appb-000004
对数据对{X E,Y}进行PLS回归,得到更新的NLPLS模型。
Extend X1 to XE1=[1 X1 G1], where G1 is the output matrix of the hidden node for X1, let
Figure PCTCN2022085201-appb-000004
Perform PLS regression on the data pair {X E , Y} to get the updated NLPLS model.
一种计算机可读存储介质,存储有计算机程序,所述计算机程序由处理器执行时,实现所述的磷回收产品纯度的软测量方法的步骤(2)至步骤(4),具体包括:A computer-readable storage medium, storing a computer program, when the computer program is executed by a processor, realizes the steps (2) to (4) of the soft measurement method of the described phosphorus recovery product purity, specifically comprising:
(2)对图片进行处理以便测量图片中颗粒物的物理参数;其中,所述图片是利用光学显微镜对收集的磷回收产品进行拍摄得到的,所述图片记录了所述磷回收产品在二维平面上的微观形貌结构;(2) processing the picture to measure the physical parameters of the particulate matter in the picture; wherein, the picture is obtained by using an optical microscope to photograph the collected phosphorus recovery product, and the picture records the phosphorus recovery product in a two-dimensional plane The microstructure on the top;
(3)对经步骤(2)处理的图片中颗粒物的下述物理参数进行测量及计算:粒子周边最远两点的距离nF max;粒子周边最近两点的距离nF min;伸长率n El1;长径比n El2;粒子总面积n A;粒子周长n P;粒子周长n Ci;当量直径n Ed;固体性n s;凹凸性n Co(3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
(4)基于步骤(3)中测量及计算所得的产品物理参数,采用非线性部分最小二乘NLPLS方法,建立磷回收产物纯度的软测量模型;对于新的磷回收产品,使用已经建立的NLPLS模型对产品纯度进行预估分析,并利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新。(4) Based on the physical parameters of the product measured and calculated in step (3), a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used. The model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
本发明具有如下有益效果:The present invention has the following beneficial effects:
本发明提出了一种磷回收产品纯度的软测量方法,将产品的二维形貌结构量化描述,再采用非线性最小二乘(NLPLS)法建立形状因子与产品纯度的之间的软测量模型,克服了现有纯度测定方法的操作复杂、时间长等缺陷,大大提高了整个生产过程的效率。本发明方法基于显微镜拍照技术, 将产品的形状因子用物理参量表示,再采用非线性最小二乘方法建立形状因子与产品纯度之间的软测量模型,利用该模型进行产品纯度的预测,为生产控制和优化提供操作指导。本发明方法有效地避免了传统纯度测量过程耗时过长,和信号失真等问题,为磷回收产品的纯度测定提供了一种快速、简单、准确的方法。The invention proposes a soft measurement method for the purity of phosphorus recovery products, which quantitatively describes the two-dimensional topography and structure of the product, and then adopts a nonlinear least squares (NLPLS) method to establish a soft measurement model between the shape factor and the product purity. It overcomes the defects of complicated operation and long time of the existing purity determination method, and greatly improves the efficiency of the whole production process. The method of the invention is based on the microscope photographing technology, the shape factor of the product is represented by a physical parameter, and then a non-linear least squares method is used to establish a soft measurement model between the shape factor and the product purity, and the model is used to predict the product purity, which is the best way for production Control and optimization provide operational guidance. The method of the invention effectively avoids the problems of long time consumption and signal distortion in the traditional purity measurement process, and provides a fast, simple and accurate method for the determination of the purity of the phosphorus recovery product.
附图说明Description of drawings
图1为本发明一种实施例的磷回收产品软测量方法的流程示意图。FIG. 1 is a schematic flowchart of a soft sensing method for a phosphorus recovery product according to an embodiment of the present invention.
具体实施方式Detailed ways
以下对本发明的实施方式做详细说明。应该强调的是,下述说明仅仅是示例性的,而不是为了限制本发明的范围及其应用。Embodiments of the present invention will be described in detail below. It should be emphasized that the following description is exemplary only, and is not intended to limit the scope of the invention and its application.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件,它可以直接在另一个元件上或者间接在该另一个元件上。当一个元件被称为是“连接于”另一个元件,它可以是直接连接到另一个元件或间接连接至该另一个元件上。另外,连接既可以是用于固定作用也可以是用于耦合或连通作用。It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, the connection can be used for both the fixing function and the coupling or communication function.
需要理解的是,术语“长度”、“宽度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明实施例和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。It is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top" , "bottom", "inside", "outside", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that The device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多该特征。在本发明实施例的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second" may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
参阅图1,本发明实施例提供的一种磷回收产品纯度的软测量方法,包括如下步骤:Referring to Fig. 1, a soft measurement method for the purity of a phosphorus recovery product provided by the embodiment of the present invention comprises the following steps:
当废水中各离子浓度Mg 2+:NH 4 +:PO 4 3-:Ca 2+之比为2:4:1:0.4时,会生成磷酸钙、磷酸镁、鸟粪石等白色固体沉淀。收集这些固体沉淀产物,利用光学显微镜对磷回收产品进行拍摄,记录其在二维平面上的微观形貌结构。 When the ratio of each ion concentration Mg 2+ :NH 4 + :PO 4 3- :Ca 2+ in the wastewater is 2:4:1:0.4, white solid precipitates such as calcium phosphate, magnesium phosphate and struvite will be formed. These solid precipitated products were collected, and the phosphorus recovery products were photographed with an optical microscope to record their microscopic topography on a two-dimensional plane.
对拍摄的图片进行处理,将图片背景调节为白色,颗粒物调节为黑色, 增强色差与对比度,并对图片上磷回收产品的二维平面形状进行描边处理。The captured pictures are processed, the background of the picture is adjusted to white, the particles are adjusted to black, the color difference and contrast are enhanced, and the two-dimensional plane shape of the phosphorus recovery product on the picture is stroked.
对图片中明显颗粒物的下述物理参数进行测量:The following physical parameters of the visible particles in the picture were measured:
粒子周边最远两点的距离(Max Feret Diameter):nF max The distance between the two farthest points around the particle (Max Feret Diameter): nF max
粒子周边最近两点的距离(Min Feret Diameter):nF min The distance between the two nearest points around the particle (Min Feret Diameter): nF min
粒子总面积(Area):n A Total particle area (Area): n A
粒子周长(Perimeter):n P Particle perimeter (Perimeter): n P
利用测量参数对下述物理量进行计算:The following physical quantities are calculated using the measured parameters:
伸长率(Elongation):
Figure PCTCN2022085201-appb-000005
Elongation:
Figure PCTCN2022085201-appb-000005
长径比(Aspect ratio):
Figure PCTCN2022085201-appb-000006
Aspect ratio:
Figure PCTCN2022085201-appb-000006
圆度(Circularity):
Figure PCTCN2022085201-appb-000007
Circularity:
Figure PCTCN2022085201-appb-000007
当量直径(Circle equivalent Diameter):
Figure PCTCN2022085201-appb-000008
Circle equivalent Diameter:
Figure PCTCN2022085201-appb-000008
固体性(Solidity):
Figure PCTCN2022085201-appb-000009
Solidity:
Figure PCTCN2022085201-appb-000009
凹凸性(Convexity):
Figure PCTCN2022085201-appb-000010
Convexity:
Figure PCTCN2022085201-appb-000010
模型建立及纯度预测过程如下:The model establishment and purity prediction process are as follows:
步骤一:基于上述测量及计算所得的产品物理参数,采用非线性部分最小二乘(NLPLS)方法,建立磷回收产物纯度的软测量模型。具体方法是:Step 1: Based on the physical parameters of the product obtained by the above measurement and calculation, a non-linear partial least squares (NLPLS) method is used to establish a soft sensor model of the purity of the phosphorus recovery product. The specific method is:
Ⅰ.将测量及计算所得的样品形貌参数作为数据驱动的样本集合,表示为{x(i),y(i)},其中x(i)表示第i组输入数据,为所有能确定产品纯度的参数,即上述(3)中所得的参数。y(i)表示第i组输出数据,为产品的纯度。将输入数据构成矩阵X、将输出数据构成输出矩阵Y;Ⅰ. Take the measured and calculated sample topography parameters as a data-driven sample set, expressed as {x(i), y(i)}, where x(i) represents the i-th group of input data, which is the The parameter of purity is the parameter obtained in (3) above. y(i) represents the output data of the i-th group, which is the purity of the product. The input data is formed into a matrix X, and the output data is formed into an output matrix Y;
Ⅱ.基于输入输出数据建立NLPLS模型。步骤如下:Ⅱ. Build NLPLS model based on input and output data. Proceed as follows:
对矩阵X和Y进行归一化处理,使之均值为0,方差为1。然后将输入矩阵进行列扩展,扩展项为径向基函数(RBF)神经网络的隐节点输出矩阵G和元素全为1的列向量1,其中G的每一行对应一个输入向量作用下的隐节点的输出,隐节点的偏置项系数为1;对如下增广输入矩阵和输出矩阵进行部分最小二乘(PLS)回收:Normalize the matrices X and Y so that they have a mean of 0 and a variance of 1. Then the input matrix is expanded by columns, and the expanded items are the hidden node output matrix G of the radial basis function (RBF) neural network and the column vector 1 whose elements are all 1, where each row of G corresponds to a hidden node under the action of the input vector. The output of , the bias term coefficient of the hidden node is 1; the partial least squares (PLS) recovery is performed on the following augmented input matrix and output matrix:
{[1 X G],Y},得到的NLPLS模型表示为:{[1 X G], Y}, the resulting NLPLS model is expressed as:
Figure PCTCN2022085201-appb-000011
Figure PCTCN2022085201-appb-000011
式中XE表示增广输入矩阵,A和H分别为对应原始输入向量和对应RBF网络隐节点输出向量的权值系数矩阵,b为输入偏置向量,T表示转置。where XE is the augmented input matrix, A and H are the weight coefficient matrix corresponding to the original input vector and the corresponding output vector of the hidden node of the RBF network, b is the input bias vector, and T is the transpose.
NLPLS模型中的未知参数为隐节点中心向量c、相应宽度向量σ、权值系数矩阵A与H、模型偏置向量b,这些参数按如下步骤确定:The unknown parameters in the NLPLS model are the hidden node center vector c, the corresponding width vector σ, the weight coefficient matrices A and H, and the model bias vector b. These parameters are determined as follows:
①用k-means聚类算法对输入数据进行聚类,得到隐节点中心c;该算法能确定最优的聚类中心数,同时可使聚类中心合理地分布在数据空间中;①Cluster the input data with the k-means clustering algorithm to obtain the hidden node center c; the algorithm can determine the optimal number of clustering centers, and at the same time, the clustering centers can be reasonably distributed in the data space;
②采用p近邻规则计算隐节点宽度:②Use the p-nearest neighbor rule to calculate the hidden node width:
Figure PCTCN2022085201-appb-000012
Figure PCTCN2022085201-appb-000012
其中N为隐节点中心的个数,ci为距离第j个隐节点中心最近的p个隐节点中心。where N is the number of hidden node centers, and ci is the p hidden node centers closest to the jth hidden node center.
③采用PLS回归确定权值系数矩阵A、H和偏置向量b:③ Use PLS regression to determine the weight coefficient matrix A, H and bias vector b:
根据得到的隐节点中心和宽度计算隐节点输出矩阵G,然后对输入矩阵进行扩展,得到增广输入矩阵[1 X G]。对数据{[1 X G],Y}进行PLS回归,得到PLS模型参数矩阵{T,W,P,B,Q}。为了在后面的模型更新中保留所有的信息,提取特征变量个数a采用交叉校验法确定,得到的参数矩阵记为{Ta,Wa,Pa,Ba,Qa},由它们计算出PLS回归系数矩阵β,从而得到A,H和b。Calculate the hidden node output matrix G according to the obtained hidden node center and width, and then expand the input matrix to obtain the augmented input matrix [1 X G]. Perform PLS regression on the data {[1 X G], Y} to obtain the PLS model parameter matrix {T,W,P,B,Q}. In order to retain all the information in the subsequent model update, the number of extracted feature variables a is determined by the cross-check method, and the obtained parameter matrix is recorded as {Ta, Wa, Pa, Ba, Qa}, and the PLS regression coefficients are calculated from them. matrix β, resulting in A, H and b.
步骤二:对于新的批次,应用已经建立的NLPLS模型对产品纯度进行预估分析:将新批次的产品形状参数传送给NLPLS模型,预估该批次的产品纯度。Step 2: For a new batch, use the established NLPLS model to predict and analyze the product purity: transfer the product shape parameters of the new batch to the NLPLS model to estimate the product purity of the batch.
步骤三:当新的批次结束后,利用新数据结合原来的NLPLS模型,采用递推算法对模型进行更新,从而使模型可以不断采纳新的信息,适应过程的变化。具体步骤如下:Step 3: When the new batch ends, use the new data combined with the original NLPLS model, and use the recursive algorithm to update the model, so that the model can continuously adopt new information and adapt to changes in the process. Specific steps are as follows:
a.记新得到的批次的输入输出数据分别为X1和Y1(可以为一个批次的数据,也可以为积累多个批次的数据),且不含异常点。首先采用与步骤一中一样的方法对新数据进行数据预处理。a. Record the input and output data of the newly obtained batch as X1 and Y1 respectively (it can be the data of one batch or the data of multiple batches), and it does not contain abnormal points. First, perform data preprocessing on the new data using the same method as in step 1.
b.判断是否增加新的隐节点:b. Determine whether to add new hidden nodes:
如果新数据X1与现有的RBF网络隐节点中心的距离大于设定值,则加入新的隐节点;记新的隐节点中心矩阵为C gnew,相应的宽度向量为σ gnew,对原有的隐节点中心矩阵C g、相应的宽度向量σ g和负荷矩阵P进行如下扩展: If the distance between the new data X1 and the existing hidden node center of the RBF network is greater than the set value, a new hidden node is added; the new hidden node center matrix is C gnew , and the corresponding width vector is σ gnew . The hidden node center matrix C g , the corresponding width vector σ g and the load matrix P are extended as follows:
Figure PCTCN2022085201-appb-000013
Figure PCTCN2022085201-appb-000013
如果X1与现有的RBF网络隐节点中心的距离小于等于设定值,则不需要增加隐节点,C g、σ g和P保持不变; If the distance between X1 and the center of the hidden nodes of the existing RBF network is less than or equal to the set value, there is no need to add hidden nodes, and C g , σ g and P remain unchanged;
c.将X1扩展为XE1=[1 X1 G1],其中G1为隐节点对于X1的输出矩阵,令
Figure PCTCN2022085201-appb-000014
对数据对{X E,Y}进行PLS回归,得到新的NLPLS模型:
Figure PCTCN2022085201-appb-000015
然后按照步骤一中步骤③的方法计算权值系数矩阵A、H和偏置向量b;
c. Extend X1 to XE1=[1 X1 G1], where G1 is the output matrix of the hidden node for X1, let
Figure PCTCN2022085201-appb-000014
Perform PLS regression on the data pair {X E , Y} to get a new NLPLS model:
Figure PCTCN2022085201-appb-000015
Then calculate the weight coefficient matrix A, H and the bias vector b according to the method of step 3 in step 1;
d.得到新的模型后,返回步骤二,将其用于新获得的批次的数据。d. After getting the new model, go back to step 2 and apply it to the newly obtained batch of data.
本发明的背景部分可以包含关于本发明的问题或环境的背景信息,而不一定是描述现有技术。因此,在背景技术部分中包含的内容并不是申请人对现有技术的承认。The Background of the Invention section may contain background information about the problem or environment of the invention and is not necessarily a description of the prior art. Therefore, what is contained in the Background section is not an admission of prior art by the applicant.
以上内容是结合具体/优选的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,其还可以对这些已描述的实施方式做出若干替代或变型,而这些替代或变型方式都应当视为属于本发明的保护范围。在本说明书的描述中,参考术语“一种实施例”、“一些实施例”、“优选实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。尽管已 经详细描述了本发明的实施例及其优点,但应当理解,在不脱离专利申请的保护范围的情况下,可以在本文中进行各种改变、替换和变更。The above content is a further detailed description of the present invention in conjunction with specific/preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art to which the present invention pertains, without departing from the concept of the present invention, they can also make several substitutions or modifications to the described embodiments, and these substitutions or modifications should be regarded as It belongs to the protection scope of the present invention. In the description of this specification, reference to the terms "one embodiment," "some embodiments," "preferred embodiment," "example," "specific example," or "some examples" or the like is meant to be used in conjunction with the description. A particular feature, structure, material, or characteristic described by an example or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the scope of the patent application.

Claims (8)

  1. 一种磷回收产品纯度的软测量方法,其特征在于,包括如下步骤:A soft measurement method of phosphorus recovery product purity, is characterized in that, comprises the steps:
    (1)利用光学显微镜对收集的磷回收产品进行拍摄,记录其在二维平面上的微观形貌结构;(1) Use an optical microscope to photograph the collected phosphorus recovery products, and record their microscopic topography on a two-dimensional plane;
    (2)对步骤(1)拍摄的图片进行处理以便测量图片中颗粒物的物理参数;(2) processing the pictures taken in step (1) so as to measure the physical parameters of the particles in the pictures;
    (3)对经步骤(2)处理的图片中颗粒物的下述物理参数进行测量及计算:粒子周边最远两点的距离nF max;粒子周边最近两点的距离nF min;伸长率n El1;长径比n El2;粒子总面积n A;粒子周长n P;粒子周长n Ci;当量直径n Ed;固体性n s;凹凸性n Co(3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
    (4)基于步骤(3)中测量及计算所得的产品物理参数,采用非线性部分最小二乘NLPLS方法,建立磷回收产物纯度的软测量模型;对于新的磷回收产品,使用已经建立的NLPLS模型对产品纯度进行预估分析,并利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新。(4) Based on the physical parameters of the product measured and calculated in step (3), a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used. The model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
  2. 如权利要求1所述的磷回收产品纯度的软测量方法,其特征在于,步骤(2)中的处理包括增强色差与对比度,对图片中的磷回收产品的二维平面形状进行描边处理。The soft measurement method for the purity of phosphorus recovery products according to claim 1, wherein the processing in step (2) includes enhancing color difference and contrast, and performing stroke processing on the two-dimensional plane shape of the phosphorus recovery products in the picture.
  3. 如权利要求1所述的磷回收产品纯度的软测量方法,其特征在于,步骤(4)中建立磷回收产物纯度的软测量模型具体包括如下步骤:The soft-sensor method of phosphorus recovery product purity as claimed in claim 1, is characterized in that, in step (4), the soft-sensor model of establishing phosphorus recovery product purity specifically comprises the steps:
    Ⅰ.将测量及计算所得的样品形貌参数作为数据驱动的样本集合,表示为{x(i),y(i)},其中x(i)表示第i组输入数据,即步骤(3)中所得的参数,y(i)表示第i组输出数据,为产品的纯度,将输入数据构成矩阵X、将输出数据构成输出矩阵Y;Ⅰ. Take the measured and calculated sample topography parameters as a data-driven sample set, expressed as {x(i), y(i)}, where x(i) represents the i-th group of input data, that is, step (3) The parameters obtained in , y(i) represents the output data of the ith group, which is the purity of the product, and the input data is formed into a matrix X, and the output data is formed into an output matrix Y;
    Ⅱ.基于输入输出数据建立NLPLS模型,具体包括:Ⅱ. Build an NLPLS model based on input and output data, including:
    对矩阵X和Y进行归一化处理,使之均值为0,方差为1,然后将输入矩阵进行列扩展,扩展项为径向基函数(RBF)神经网络的隐节点输出矩阵G和元素全为1的列向量1,其中G的每一行对应一个输入向量作用下的隐节点的输出,隐节点的偏置项系数为1;对如下增广输入矩阵和输出矩阵进行部分最小二乘(PLS)回收:Normalize the matrices X and Y so that the mean value is 0 and the variance is 1, and then the input matrix is column-expanded, and the expansion term is the hidden node output matrix G of the radial basis function (RBF) neural network and the elements are full. is a column vector 1 of 1, where each row of G corresponds to the output of a hidden node under the action of an input vector, and the coefficient of the bias term of the hidden node is 1; Partial least squares (PLS) is performed on the following augmented input matrix and output matrix )Recycle:
    {[1 X G],Y},得到的NLPLS模型表示为:{[1 X G], Y}, the resulting NLPLS model is expressed as:
    Figure PCTCN2022085201-appb-100001
    Figure PCTCN2022085201-appb-100001
    式中XE表示增广输入矩阵,A和H分别为对应原始输入向量和对应RBF网络隐节点输出向量的权值系数矩阵,b为输入偏置向量,T表示转置,c为隐节点中心向量、σ为相应宽度向量、A与H为权值系数矩阵。where XE is the augmented input matrix, A and H are the weight coefficient matrix corresponding to the original input vector and the corresponding output vector of the hidden node of the RBF network, b is the input bias vector, T is the transpose, and c is the hidden node center vector , σ is the corresponding width vector, A and H are the weight coefficient matrix.
  4. 如权利要求3所述的磷回收产品纯度的软测量方法,其特征在于,步骤Ⅱ中,隐节点中心向量c、相应宽度向量σ、权值系数矩阵A与H、输入偏置向量b按如下步骤确定:The soft measurement method for the purity of phosphorus recovery products as claimed in claim 3, wherein in step II, the hidden node center vector c, the corresponding width vector σ, the weight coefficient matrices A and H, and the input bias vector b are as follows Steps to determine:
    ①用k-means聚类算法对输入数据进行聚类,得到隐节点中心c;①Use the k-means clustering algorithm to cluster the input data to obtain the hidden node center c;
    ②采用p近邻规则计算隐节点宽度:②Use the p-nearest neighbor rule to calculate the hidden node width:
    Figure PCTCN2022085201-appb-100002
    Figure PCTCN2022085201-appb-100002
    其中N为隐节点中心的个数,ci为距离第j个隐节点中心最近的p个隐节点中心;where N is the number of hidden node centers, and ci is the p hidden node centers closest to the jth hidden node center;
    ③采用PLS回归确定权值系数矩阵A、H和偏置向量b:③ Use PLS regression to determine the weight coefficient matrix A, H and bias vector b:
    根据得到的隐节点中心和宽度计算隐节点输出矩阵G,然后对输入矩阵进行扩展,得到增广输入矩阵[1 X G],对数据{[1 X G],Y}进行PLS回归,得到PLS模型参数矩阵{T,W,P,B,Q},提取特征变量个数a采用交叉校验法确定,得到的参数矩阵记为{Ta,Wa,Pa,Ba,Qa},进一步计算出PLS回归系数矩阵β,从而得到A,H和b。Calculate the hidden node output matrix G according to the obtained hidden node center and width, and then expand the input matrix to obtain the augmented input matrix [1 X G], perform PLS regression on the data {[1 X G], Y}, and obtain PLS The model parameter matrix {T,W,P,B,Q}, the number of extracted feature variables a is determined by the cross-check method, the obtained parameter matrix is recorded as {Ta,Wa,Pa,Ba,Qa}, and the PLS is further calculated. Regression coefficient matrix β, resulting in A, H and b.
  5. 如权利要求3或4所述的磷回收产品纯度的软测量方法,其特征在于,步骤(4)中,利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新,具体包括如下步骤:The soft measurement method of phosphorus recovery product purity as claimed in claim 3 or 4, is characterized in that, in step (4), utilizes new pre-estimation analysis data in conjunction with original NLPLS model, adopts recursive algorithm to update the model, Specifically include the following steps:
    a.记新的磷回收产品批次的输入输出数据分别为X1和Y1,且不含异常点;a. Record the input and output data of the new phosphorus recovery product batch as X1 and Y1 respectively, and do not contain abnormal points;
    b.判断是否增加新的隐节点,如果新数据X1与已有的RBF网络隐节点中心的距离大于设定值,则加入新的隐节点;如果X1与现有的RBF网络隐节点中心的距离小于等于设定值,则不需要增加隐节点;b. Determine whether to add a new hidden node. If the distance between the new data X1 and the existing RBF network hidden node center is greater than the set value, add a new hidden node; if the distance between X1 and the existing RBF network hidden node center If it is less than or equal to the set value, there is no need to add hidden nodes;
    c.扩展X1,进行PLS回归,得到更新的NLPLS模型;然后按照步骤 ③的方法计算权值系数矩阵A、H和偏置向量b。c. Expand X1, perform PLS regression, and obtain the updated NLPLS model; then calculate the weight coefficient matrix A, H and the bias vector b according to the method of step ③.
  6. 如权利要求5所述的磷回收产品纯度的软测量方法,其特征在于,步骤b中,如果新数据X1与已有的RBF网络隐节点中心的距离大于设定值,记新的隐节点中心矩阵为C gnew,相应的宽度向量为σ gnew,对原有的隐节点中心矩阵C g、相应的宽度向量σ g和负荷矩阵P进行如下扩展: The soft measurement method of phosphorus recovery product purity as claimed in claim 5, characterized in that, in step b, if the distance between the new data X1 and the existing RBF network hidden node center is greater than a set value, record the new hidden node center The matrix is C gnew , and the corresponding width vector is σ gnew . The original hidden node center matrix C g , the corresponding width vector σ g and the load matrix P are expanded as follows:
    Figure PCTCN2022085201-appb-100003
    Figure PCTCN2022085201-appb-100003
    如果X1与现有的RBF网络隐节点中心的距离小于等于设定值,C g、σ g和P保持不变。 If the distance between X1 and the existing RBF network hidden node center is less than or equal to the set value, C g , σ g and P remain unchanged.
  7. 如权利要求6所述的磷回收产品纯度的软测量方法,其特征在于,The soft measurement method of phosphorus recovery product purity as claimed in claim 6, is characterized in that,
    将X1扩展为XE1=[1 X1 G1],其中G1为隐节点对于X1的输出矩阵,令
    Figure PCTCN2022085201-appb-100004
    对数据对{X E,Y}进行PLS回归,得到更新的NLPLS模型。
    Extend X1 to XE1=[1 X1 G1], where G1 is the output matrix of the hidden node for X1, let
    Figure PCTCN2022085201-appb-100004
    Perform PLS regression on the data pair {X E , Y} to get the updated NLPLS model.
  8. 一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序由处理器执行时,实现如权利要求1至7任一项所述的磷回收产品纯度的软测量方法的步骤(2)至步骤(4),具体包括:A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the soft-measurement method for the purity of the phosphorus recovery product according to any one of claims 1 to 7 are realized. (2) to step (4), specifically including:
    (2)对图片进行处理以便测量图片中颗粒物的物理参数;其中,所述图片是利用光学显微镜对收集的磷回收产品进行拍摄得到的,所述图片记录了所述磷回收产品在二维平面上的微观形貌结构;(2) processing the picture to measure the physical parameters of the particulate matter in the picture; wherein, the picture is obtained by using an optical microscope to photograph the collected phosphorus recovery product, and the picture records the phosphorus recovery product in a two-dimensional plane on the microstructure of the topography;
    (3)对经步骤(2)处理的图片中颗粒物的下述物理参数进行测量及计算:粒子周边最远两点的距离nF max;粒子周边最近两点的距离nF min;伸长率n El1;长径比n El2;粒子总面积n A;粒子周长n P;粒子周长n Ci;当量直径n Ed;固体性n s;凹凸性n Co(3) measure and calculate the following physical parameters of the particulate matter in the picture processed by step (2): the distance nF max of the two farthest points around the particle; the distance nF min of the two nearest points around the particle; elongation n E11 ; aspect ratio n El2 ; particle total area n A ; particle perimeter n P ; particle perimeter n Ci ; equivalent diameter n Ed ; solidity ns ;
    (4)基于步骤(3)中测量及计算所得的产品物理参数,采用非线性部分最小二乘NLPLS方法,建立磷回收产物纯度的软测量模型;对于新的磷回收产品,使用已经建立的NLPLS模型对产品纯度进行预估分析,并利用新的预估分析数据结合原来的NLPLS模型,采用递推算法对模型进行更新。(4) Based on the physical parameters of the product measured and calculated in step (3), a non-linear partial least squares NLPLS method is used to establish a soft sensor model for the purity of the phosphorus recovery product; for new phosphorus recovery products, the established NLPLS method is used. The model predicts and analyzes the product purity, and uses the new predictive analysis data combined with the original NLPLS model to update the model with a recursive algorithm.
PCT/CN2022/085201 2021-04-06 2022-04-03 Soft measurement method for purity of phosphorus recovery product WO2022213958A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110366780.1A CN113096087A (en) 2021-04-06 2021-04-06 Soft measurement method for purity of phosphorus recovery product
CN202110366780.1 2021-04-06

Publications (1)

Publication Number Publication Date
WO2022213958A1 true WO2022213958A1 (en) 2022-10-13

Family

ID=76674043

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085201 WO2022213958A1 (en) 2021-04-06 2022-04-03 Soft measurement method for purity of phosphorus recovery product

Country Status (2)

Country Link
CN (1) CN113096087A (en)
WO (1) WO2022213958A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113096087A (en) * 2021-04-06 2021-07-09 清华大学深圳国际研究生院 Soft measurement method for purity of phosphorus recovery product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4814858A (en) * 1988-04-06 1989-03-21 Hitachi, Ltd. Method of measuring color purity of color display and apparatus therefor
CN101872182A (en) * 2010-05-21 2010-10-27 杭州电子科技大学 Batch process monitoring method based on recursive non-linear partial least square
CN101872387A (en) * 2010-05-21 2010-10-27 杭州电子科技大学 Soft-sensing method for beer flavor
CN109522514A (en) * 2018-11-07 2019-03-26 浙江工业大学之江学院 The PX adsorbing separation purity soft-measuring modeling method corrected based on time difference Recursive PLS and adaptive model
CN110357676A (en) * 2019-05-30 2019-10-22 中山大学 The method for determining guanite recycling nitrogen phosphorus technological parameter based on Response Surface Method
CN111192236A (en) * 2019-12-13 2020-05-22 沈阳化工大学 SVI (singular value index) measurement method based on activated sludge phase difference microscopic image
CN113096087A (en) * 2021-04-06 2021-07-09 清华大学深圳国际研究生院 Soft measurement method for purity of phosphorus recovery product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4814858A (en) * 1988-04-06 1989-03-21 Hitachi, Ltd. Method of measuring color purity of color display and apparatus therefor
CN101872182A (en) * 2010-05-21 2010-10-27 杭州电子科技大学 Batch process monitoring method based on recursive non-linear partial least square
CN101872387A (en) * 2010-05-21 2010-10-27 杭州电子科技大学 Soft-sensing method for beer flavor
CN109522514A (en) * 2018-11-07 2019-03-26 浙江工业大学之江学院 The PX adsorbing separation purity soft-measuring modeling method corrected based on time difference Recursive PLS and adaptive model
CN110357676A (en) * 2019-05-30 2019-10-22 中山大学 The method for determining guanite recycling nitrogen phosphorus technological parameter based on Response Surface Method
CN111192236A (en) * 2019-12-13 2020-05-22 沈阳化工大学 SVI (singular value index) measurement method based on activated sludge phase difference microscopic image
CN113096087A (en) * 2021-04-06 2021-07-09 清华大学深圳国际研究生院 Soft measurement method for purity of phosphorus recovery product

Also Published As

Publication number Publication date
CN113096087A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
WO2022213958A1 (en) Soft measurement method for purity of phosphorus recovery product
Sun et al. Automatic remotely sensed image classification in a grid environment based on the maximum likelihood method
Fysikopoulos et al. A framework for model reliability and estimability analysis of crystallization processes with multi-impurity multi-dimensional population balance models
Blangero et al. A kernel of truth: statistical advances in polygenic variance component models for complex human pedigrees
CN108898215B (en) Intelligent sludge bulking identification method based on two-type fuzzy neural network
EP3732485A1 (en) Predicting the metabolic condition of a cell culture
CN101278303B (en) Identify and classification of virus particles in veined electron micrograph
Lee et al. Using climate classification to evaluate building energy performance
CN114758170B (en) Three-branch three-attention mechanism hyperspectral image classification method combined with D3D
CN112906300A (en) Polarized SAR (synthetic Aperture Radar) soil humidity inversion method based on two-channel convolutional neural network
CN111126220A (en) Real-time positioning method for video monitoring target
Yu et al. Combining the critical nitrogen concentration and machine learning algorithms to estimate nitrogen deficiency in rice from UAV hyperspectral data
Qian et al. Improved anthropogenic heat flux model for fine spatiotemporal information in Southeast China
CN115169728A (en) Soil fertility prediction method based on simplified neural network
CN114596919A (en) Index prediction method and system and application thereof in phosphoric acid production
Meng et al. SOC content of global Mollisols at a 30 m spatial resolution from 1984 to 2021 generated by the novel ML-CNN prediction model
CN116561498B (en) Global forest carbon sequestration potential high-precision calculation method and system
Pandiri et al. Smart soil image classification system using lightweight convolutional neural network
Song et al. The application of spatial Lorenz curve (SLC) and Gini coefficient in measuring land use structure change
Zhao et al. Soil salinity inversion model based on BPNN optimization algorithm for UAV multispectral remote sensing
Xu et al. Microstructure-property mapping modeling for AZ31 alloy rolling deformation using improved PSO-BP neural network
WO2023097664A1 (en) Robot-assisted intelligent inverse design for automatic nanocrystal characterization acceleration material
CN115952685A (en) Sewage treatment process soft measurement modeling method based on integrated deep learning
Minor et al. Analysis of clinical data using neural nets
Hu et al. Estimation of wheat tiller density using remote sensing data and machine learning methods

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22784024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22784024

Country of ref document: EP

Kind code of ref document: A1