[go: up one dir, main page]

CN111209973B - Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation - Google Patents

Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation Download PDF

Info

Publication number
CN111209973B
CN111209973B CN202010022040.1A CN202010022040A CN111209973B CN 111209973 B CN111209973 B CN 111209973B CN 202010022040 A CN202010022040 A CN 202010022040A CN 111209973 B CN111209973 B CN 111209973B
Authority
CN
China
Prior art keywords
kernel
real
hybrid
cca
time
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010022040.1A
Other languages
Chinese (zh)
Other versions
CN111209973A (en
Inventor
吴平
楼嗣威
高金凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Sci Tech University ZSTU
Original Assignee
Zhejiang Sci Tech University ZSTU
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 Zhejiang Sci Tech University ZSTU filed Critical Zhejiang Sci Tech University ZSTU
Priority to CN202010022040.1A priority Critical patent/CN111209973B/en
Publication of CN111209973A publication Critical patent/CN111209973A/en
Application granted granted Critical
Publication of CN111209973B publication Critical patent/CN111209973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/29Graphical models, e.g. Bayesian networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Algebra (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computing Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention relates to a process monitoring method based on mixed kernel PCA-CCA and kernel density estimation, in a modeling stage, input and output data collected under a normal working condition are used, a corresponding weighting matrix is obtained through a mixed kernel PCA-CCA model, then T2 statistic is established based on model residual errors in a state space, and finally a corresponding statistic threshold value is obtained through a kernel density estimation method; in the real-time monitoring stage, samples input and output in real time are collected and mapped into a high-dimensional feature space by using a mixed kernel, real-time residual errors and statistic thereof are calculated according to a model obtained in the modeling stage, and then the obtained real-time statistic is compared with a threshold value to judge whether the output of the liquefying device is abnormally changed. The method focuses on the cross correlation between the process input and the process output, effectively improves the monitoring effect on the nonlinear process, determines the threshold value by using the kernel density estimation method, and more accurately determines the statistic threshold value of the non-Gaussian process.

Description

基于混合核PCA-CCA及核密度估计的过程监测方法Process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation

技术领域:Technical field:

本发明涉及过程监测技术领域,具体涉及一种基于混合核PCA-CCA及核 密度估计的过程监测方法。The present invention relates to the field of process monitoring technology, and in particular to a process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation.

背景技术:Background technology:

如今,环境保护成为了我国急需解决的民生重大问题。天然气作为一种 优质洁净能源,拥有高效、无污染等优点,对我国洁净能源体系的发展有着 不可磨灭的作用。相较于气态天然气,液化天然气的体积大大减少(约1/600 左右),因此,天然气液化装置是天然气储存、应用环节中不可或缺的设备。 近年来,随着天然气资源需求的大幅度增加,极大地推动了天然气液化装置 的建设,并且促进我国低碳经济的发展。Nowadays, environmental protection has become a major livelihood issue that my country needs to solve urgently. Natural gas, as a high-quality clean energy, has the advantages of high efficiency and no pollution, and plays an indelible role in the development of my country's clean energy system. Compared with gaseous natural gas, the volume of liquefied natural gas is greatly reduced (about 1/600), so the natural gas liquefaction device is an indispensable equipment in the storage and application of natural gas. In recent years, with the substantial increase in the demand for natural gas resources, the construction of natural gas liquefaction devices has been greatly promoted, and the development of my country's low-carbon economy has been promoted.

如今天然气液化流程主要分为:级联式液化流程、混合制冷剂液化流程、 带膨胀机的液化流程和丙烷预冷混合制冷剂液化流程等。其中丙烷预冷混合 制冷剂液化流程结合了级联式液化流程和混合制冷剂液化流程的优点,流程 既简单又高效,已被广泛应用于各个场景。丙烷预冷混合制冷剂液化流程主 要分为两个环节:轻烃回收分馏过程和制冷剂循环过程。轻烃回收分馏过程 主要将进过预处理的原料气依次通过脱乙烷塔、脱丙烷塔、脱丁烷塔进行轻 烃回收分馏,获取丙烷制冷剂以及其他高附加值副产品,并对天然气凝液的 热值进行调节。制冷剂循环过程主要将天然气和混合制冷剂分别通过换热器 制成液态天然气成品,而混合制冷剂在一定阶段被导出进行循环使用。At present, the natural gas liquefaction process is mainly divided into: cascade liquefaction process, mixed refrigerant liquefaction process, liquefaction process with expander and propane pre-cooling mixed refrigerant liquefaction process. Among them, the propane pre-cooling mixed refrigerant liquefaction process combines the advantages of the cascade liquefaction process and the mixed refrigerant liquefaction process. The process is simple and efficient and has been widely used in various scenarios. The propane pre-cooling mixed refrigerant liquefaction process is mainly divided into two links: light hydrocarbon recovery and fractionation process and refrigerant circulation process. The light hydrocarbon recovery and fractionation process mainly passes the pre-treated raw gas through the deethanizer, depropanizer and debutanizer in sequence to recover and fractionate light hydrocarbons, obtain propane refrigerant and other high value-added by-products, and adjust the calorific value of natural gas condensate. The refrigerant circulation process mainly converts natural gas and mixed refrigerant into liquefied natural gas products through heat exchangers, and the mixed refrigerant is exported for recycling at a certain stage.

由于天然气液化装置需要长时间在高压、低温等环境下运行,外加上外 部气源不恒定且设备设计及结构参数的不合理等情况,十分容易受到损耗, 继而出现天然气液化效率降低,设备损耗加速情况,严重地可能会发生重大 的安全事故。因此,有必要对天然气液化装置进行实时过程监测,以便及时 发现设备故障并进行维修,通过过程监测保证人员和设备的安全,也增加部 件的使用寿命。Since the natural gas liquefaction device needs to operate under high pressure and low temperature for a long time, and the external gas source is not constant and the equipment design and structural parameters are unreasonable, it is very easy to be damaged, which will lead to reduced natural gas liquefaction efficiency and accelerated equipment damage. In serious cases, major safety accidents may occur. Therefore, it is necessary to conduct real-time process monitoring of the natural gas liquefaction device in order to detect equipment failures in time and carry out maintenance. Through process monitoring, the safety of personnel and equipment is guaranteed, and the service life of components is also increased.

针对工业过程中的输入与输出环节的过程监测已有一些方法,如PCA(主 元分析)和PLS(偏最小二乘法)为代表的多元统计过程监测和故障诊断技术 得到了成功应用,但此类方法通常假设测量数据服从高斯分布,且来自单一 的稳定工况。而实际工业生产过程往往不是运行在单一的工况,生产负荷、 产品特性、原料组分等的改变,都会导致工况的改变。在这种情况下,用传 统的单个PCA模型对过程进行监控,则会削弱不同工况下各自的统计特性, 势必会导致过程性能分析不准确和过程故障的漏报。有鉴于此,本案由此而 生。There are some methods for process monitoring of input and output links in industrial processes, such as multivariate statistical process monitoring and fault diagnosis technology represented by PCA (principal component analysis) and PLS (partial least squares method), which have been successfully applied. However, such methods usually assume that the measured data obeys Gaussian distribution and comes from a single stable working condition. However, the actual industrial production process is often not operated under a single working condition. Changes in production load, product characteristics, raw material composition, etc. will lead to changes in working conditions. In this case, using a traditional single PCA model to monitor the process will weaken the statistical characteristics of each under different working conditions, which will inevitably lead to inaccurate process performance analysis and underreporting of process failures. In view of this, this case was born.

发明内容:Summary of the invention:

本发明公开一种基于混合核PCA-CCA及核密度估计的过程监测方法,是 将混合核PCA-CCA(CCA为典型关联分析)建模方法与过程监测方法相结合, 专注于过程输入与输出的互相关性,并且适用于核技巧有效提升了对于非线 性过程的监测效果,特别是对于初始故障有更好的监测表现。此外,在阈值 的确定上本发明使用了核密度估计(KDE)方法,可以更为准确地确定非高斯 过程的统计量阈值。The present invention discloses a process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation, which combines the hybrid kernel PCA-CCA (CCA is a typical correlation analysis) modeling method with the process monitoring method, focuses on the mutual correlation between process input and output, and is applicable to the kernel technique to effectively improve the monitoring effect of nonlinear processes, especially for initial faults. In addition, the present invention uses the kernel density estimation (KDE) method in determining the threshold, which can more accurately determine the statistical threshold of non-Gaussian processes.

为了实现上述发明目的,本发明所采用的技术方案为:In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:

基于混合核PCA-CCA及核密度估计的过程监测方法,包括以下步骤:The process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation includes the following steps:

步骤1:采集正常工况下的过程输入和输出样本数据,得到采样时刻k时 的1×m输入向量uk以及1×q输出向量yk,经过n次采样后,得到输入数据 U=[u1,u2…un]T∈Rn×m以及输出数据Y=[y1,y2…yn]T∈Rn×qStep 1: Collect process input and output sample data under normal working conditions, obtain the 1×m input vector u k and the 1×q output vector y k at sampling time k, and after n samplings, obtain input data U = [u 1 ,u 2un ] T ∈R n×m and output data Y = [y 1 ,y 2 …y n ] T ∈R n×q ;

步骤2:将输入数据U和输出数据Y分别采用混合核映射到高维特征空间, 得到输入混合核矩阵Ku和输出混合核矩阵Ky,所述混合核是由高斯核与径向 基组合而成;Step 2: Map the input data U and the output data Y to the high-dimensional feature space using a hybrid kernel, respectively, to obtain an input hybrid kernel matrix Ku and an output hybrid kernel matrix Ky , wherein the hybrid kernel is composed of a Gaussian kernel and a radial basis;

步骤3:建立混合核PCA-CCA模型,计算Ku的加权矩阵J以及Ky的加权 矩阵L,根据加权矩阵J和L获得残差r;Step 3: Establish a hybrid kernel PCA-CCA model, calculate the weighted matrix J of Ku and the weighted matrix L of Ky , and obtain the residual r according to the weighted matrices J and L;

步骤4:计算T2统计量;Step 4: Calculate the T2 statistic;

步骤5:采用核密度估计方法计算统计量阈值

Figure BDA0002361161430000031
用下式计算:Step 5: Calculate the statistical threshold using the kernel density estimation method
Figure BDA0002361161430000031
Use the following formula to calculate:

Figure BDA0002361161430000032
Figure BDA0002361161430000032

上式中,

Figure BDA0002361161430000033
表示
Figure BDA0002361161430000034
的概率,p(T2)表示T2统计量的概率密度,α为 给定置信度,其中,p(T2)按照下式计算:In the above formula,
Figure BDA0002361161430000033
express
Figure BDA0002361161430000034
The probability of T 2 , p(T 2 ) represents the probability density of T 2 statistic, α is the given confidence level, where p(T 2 ) is calculated as follows:

Figure BDA0002361161430000035
Figure BDA0002361161430000035

上式中,N为统计量样本数,h为核函数宽度,K()为核密度函数,令

Figure BDA0002361161430000036
In the above formula, N is the number of statistical samples, h is the kernel function width, K() is the kernel density function, let
Figure BDA0002361161430000036

步骤6:采集在线实时输入数据和输出数据,并对采集到的实时数据进行 标准化处理,得到实时输入数据向量unew和实时输出数据向量ynew,将unew和ynew分别采用混合核映射到高维特征空间,得到实时输入数据核向量

Figure BDA0002361161430000037
和实时输 出数据核向量
Figure BDA0002361161430000038
所述混合核是由高斯核与径向基组合而成;Step 6: Collect online real-time input data and output data, and standardize the collected real-time data to obtain the real-time input data vector u new and the real-time output data vector y new . Use hybrid kernels to map u new and y new to the high-dimensional feature space to obtain the real-time input data kernel vector
Figure BDA0002361161430000037
and real-time output data kernel vector
Figure BDA0002361161430000038
The hybrid kernel is composed of a Gaussian kernel and a radial basis;

步骤7:基于步骤3中求得的加权矩阵J和L,以及利用步骤3训练好的 混合核PCA-CCA模型,计算新的实时数据残差变量rnew,并计算实时监测统 计量

Figure BDA0002361161430000041
Step 7: Based on the weighted matrices J and L obtained in step 3 and the hybrid kernel PCA-CCA model trained in step 3, calculate the new real-time data residual variable r new and calculate the real-time monitoring statistics
Figure BDA0002361161430000041

步骤8:实时比较

Figure BDA0002361161430000042
是否小于阈值
Figure BDA0002361161430000043
若小于阈值则判断设备运行正常 无需维护,若大于阈值则判断设备发生故障需要维护。Step 8: Real-time comparison
Figure BDA0002361161430000042
Is it less than the threshold?
Figure BDA0002361161430000043
If it is less than the threshold, it is judged that the equipment is operating normally and does not need maintenance. If it is greater than the threshold, it is judged that the equipment has failed and needs maintenance.

进一步,所述步骤2中的高斯核表示如下:Further, the Gaussian kernel in step 2 is expressed as follows:

Figure BDA0002361161430000044
n》q或m,其中,
Figure BDA0002361161430000045
Figure BDA0002361161430000046
c1和c2均为高斯核参数;
Figure BDA0002361161430000044
n》q or m, where
Figure BDA0002361161430000045
Figure BDA0002361161430000046
c 1 and c 2 are Gaussian kernel parameters;

步骤2中的径向基核表示如下:The radial basis kernel in step 2 is expressed as follows:

Figure BDA0002361161430000047
其中,
Figure BDA0002361161430000048
d1和d2均为径向基核参数;
Figure BDA0002361161430000047
in,
Figure BDA0002361161430000048
d 1 and d 2 are radial basis kernel parameters;

通过将高斯核函数与径向基函数整合,可得:

Figure BDA0002361161430000049
Figure BDA00023611614300000410
为系数,用于权衡核函数的分配。By integrating the Gaussian kernel function with the radial basis function, we can get:
Figure BDA0002361161430000049
Figure BDA00023611614300000410
is a coefficient used to weigh the distribution of the kernel function.

进一步,所述步骤3中的混合核PCA-CCA模型根据如下目标函数建立:Furthermore, the hybrid kernel PCA-CCA model in step 3 is established according to the following objective function:

Figure BDA00023611614300000411
Figure BDA00023611614300000411

其中,

Figure BDA00023611614300000412
表示输入的协方差;
Figure BDA00023611614300000413
表示输出的协方差;
Figure BDA00023611614300000414
表示交叉协方差;in,
Figure BDA00023611614300000412
represents the covariance of the input;
Figure BDA00023611614300000413
represents the covariance of the output;
Figure BDA00023611614300000414
represents the cross covariance;

公式3中的目标函数通过对Ψ进行奇异值分解求得,Ψ表达式如下:The objective function in formula 3 is obtained by performing singular value decomposition on Ψ, and the expression of Ψ is as follows:

Ψ=∑U 1/2UYY 1/2=ΓΛΔT (公式4)Ψ=∑ U 1/2UYY 1/2 =ΓΛΔ T (Formula 4)

上式中,Γ为包含左奇异向量的数据矩阵,Δ为包含右奇异向量的数据矩阵, Λ为奇异值矩阵;In the above formula, Γ is the data matrix containing left singular vectors, Δ is the data matrix containing right singular vectors, and Λ is the singular value matrix;

加权矩阵J和L按下式计算:J=∑U 1/2Γ,L=∑Y 1/2Δ;残差r=JTKu-ΛLTKyThe weighting matrices J and L are calculated as follows: J = ∑ U 1/2 Γ, L = ∑ Y 1/2 Δ; residual r = J T K u - Λ L T K y .

进一步,所述步骤4中T2=rT(I-Λ2)r,其中I为单位矩阵。Furthermore, in step 4, T 2 = r T (I-Λ 2 )r, wherein I is the identity matrix.

进一步,所述步骤7中

Figure BDA0002361161430000051
其中I为单位矩阵。Further, in step 7
Figure BDA0002361161430000051
Where I is the identity matrix.

本发明将混合核PCA-CCA建模方法与过程监测方法相结合,专注于过程 输入与输出的互相关性,并且适用于核技巧有效提升了对于非线性过程的监 测效果,使得监测准确性更高,特别是对于初始故障能够更好的监测;此外, 在阈值的确定上本发明使用了核密度估计方法,可以更为准确地确定非高斯 过程的统计量阈值,通过多重手段的改善提升了非线性过程监测的准确性。The present invention combines the hybrid kernel PCA-CCA modeling method with the process monitoring method, focuses on the cross-correlation between process input and output, and is applicable to the kernel technique to effectively improve the monitoring effect of the nonlinear process, so that the monitoring accuracy is higher, especially for the initial fault. In addition, the present invention uses the kernel density estimation method in the determination of the threshold, which can more accurately determine the statistical threshold of the non-Gaussian process, and improves the accuracy of nonlinear process monitoring through multiple means of improvement.

以下通过附图和具体实施方式对本发明做进一步阐述。The present invention is further described below through the accompanying drawings and specific embodiments.

附图说明:Description of the drawings:

图1为本发明实施例中过程监测方法流程图;FIG1 is a flow chart of a process monitoring method according to an embodiment of the present invention;

图2为使用本发明监测方法的具体示例监测指标结果图。FIG. 2 is a graph showing monitoring index results using a specific example of the monitoring method of the present invention.

具体实施方式:Specific implementation method:

本实施例公开一种基于混合核PCA-CCA及核密度估计的过程监测方法, 主要是面向天然气液化装置上使用,需要将各个传感器(流量传感器、温度 传感器、浓度传感器等)分别安装于天然气液化装置中需要进行监测的过程 输入与输出组件中,用来采集正常工况下过程输入和输出样本数据,具体的 监测方法包括以下步骤(如图1所示):This embodiment discloses a process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation, which is mainly used in natural gas liquefaction devices. It is necessary to install various sensors (flow sensors, temperature sensors, concentration sensors, etc.) in the process input and output components that need to be monitored in the natural gas liquefaction device to collect process input and output sample data under normal working conditions. The specific monitoring method includes the following steps (as shown in Figure 1):

步骤1:采集正常工况下的过程输入和输出样本数据,每一次采样都可以 得到1×m的输入向量uk,以及1×q的输出向量yk,上述参数中的下标k表示采 样时刻,经过n次采样后,可以得到输入数据U=[u1,u2…un]T∈Rn×m以及输出数 据Y=[y1,y2…yn]T∈Rn×q,作为训练数据应当选取液化设备在正常运行状态下的 采样数据。Step 1: Collect process input and output sample data under normal operating conditions. Each sampling can obtain a 1×m input vector uk and a 1×q output vector yk . The subscript k in the above parameters represents the sampling time. After n samplings, the input data U=[u 1 ,u 2un ] T ∈R n×m and the output data Y=[y 1 ,y 2yn ] T ∈R n×q can be obtained. The sampling data of the liquefaction equipment under normal operating conditions should be selected as training data.

步骤2:将上述输入数据U和输出数据Y分别采用混合核映射到高维特征 空间,得到输入混合核矩阵Ku和输出混合核矩阵Ky,此处的混合核是由高斯 核与径向基组合而成。其中,高斯核表示如下:Step 2: Use a mixed kernel to map the above input data U and output data Y to a high-dimensional feature space, respectively, to obtain an input mixed kernel matrix Ku and an output mixed kernel matrix Ky . Here, the mixed kernel is a combination of a Gaussian kernel and a radial basis. The Gaussian kernel is represented as follows:

Figure BDA0002361161430000061
n》q或m,其中,
Figure BDA0002361161430000062
Figure BDA0002361161430000063
c1和c2均为高斯核参数;
Figure BDA0002361161430000061
n》q or m, where
Figure BDA0002361161430000062
Figure BDA0002361161430000063
c 1 and c 2 are Gaussian kernel parameters;

径向基核表示如下:The radial basis kernel is expressed as follows:

Figure BDA0002361161430000064
其中,
Figure BDA0002361161430000065
d1和d2均为径向基核参数。
Figure BDA0002361161430000064
in,
Figure BDA0002361161430000065
d1 and d2 are radial basis kernel parameters.

通过将上述高斯核函数与径向基函数整合,可得:

Figure BDA0002361161430000066
Figure BDA0002361161430000067
为系数,用于权衡核函数的分配。By integrating the above Gaussian kernel function with the radial basis function, we can get:
Figure BDA0002361161430000066
Figure BDA0002361161430000067
is a coefficient used to weigh the distribution of the kernel function.

步骤3:根据如下给出的目标函数建立基于过程输入与输出的混合核 PCA-CCA模型,并计算Ku的加权矩阵J以及Ky的加权矩阵L,然后根据加权 矩阵J和L获得残差r;其中,混合核PCA-CCA模型根据如下目标函数建立:Step 3: According to the objective function given below, a hybrid kernel PCA-CCA model based on process input and output is established, and the weight matrix J of Ku and the weight matrix L of Ky are calculated, and then the residual r is obtained according to the weight matrices J and L; wherein the hybrid kernel PCA-CCA model is established according to the following objective function:

Figure BDA0002361161430000068
Figure BDA0002361161430000068

其中,

Figure BDA0002361161430000069
表示输入的协方差;
Figure BDA00023611614300000610
表示输出的协方差;
Figure BDA00023611614300000611
表示交叉协方差;in,
Figure BDA0002361161430000069
represents the covariance of the input;
Figure BDA00023611614300000610
represents the covariance of the output;
Figure BDA00023611614300000611
represents the cross covariance;

公式3中的目标函数通过对Ψ进行奇异值分解求得,Ψ表达式如下:The objective function in formula 3 is obtained by performing singular value decomposition on Ψ, and the expression of Ψ is as follows:

Ψ=∑U 1/2UYY 1/2=ΓΛΔT (公式4)Ψ=∑ U 1/2UYY 1/2 =ΓΛΔ T (Formula 4)

上式中,Γ为包含左奇异向量的数据矩阵,Δ为包含右奇异向量的数据矩阵, Λ为奇异值矩阵;In the above formula, Γ is the data matrix containing left singular vectors, Δ is the data matrix containing right singular vectors, and Λ is the singular value matrix;

加权矩阵J和L按下式计算:J=∑U 1/2Γ,L=∑Y 1/2Δ;残差r=JTKu-ΛLTKyThe weighting matrices J and L are calculated as follows: J = ∑ U 1/2 Γ, L = ∑ Y 1/2 Δ; residual r = J T K u - Λ L T K y .

步骤4:计算T2统计量,T2=rT(I-Λ2)r,其中I为单位矩阵。Step 4: Calculate the T 2 statistic, T 2 = r T (I-Λ 2 )r, where I is the identity matrix.

步骤5:采用核密度估计方法计算统计量阈值

Figure BDA0002361161430000071
用下式计算:Step 5: Calculate the statistical threshold using the kernel density estimation method
Figure BDA0002361161430000071
Use the following formula to calculate:

Figure BDA0002361161430000072
Figure BDA0002361161430000072

上式中,

Figure BDA0002361161430000073
表示
Figure BDA0002361161430000074
的概率,p(T2)表示T2统计量的概率密度,α为 给定置信度,其中,p(T2)按照下式计算:In the above formula,
Figure BDA0002361161430000073
express
Figure BDA0002361161430000074
The probability of T 2 , p(T 2 ) represents the probability density of T 2 statistic, α is the given confidence level, where p(T 2 ) is calculated as follows:

Figure BDA0002361161430000075
Figure BDA0002361161430000075

上式中,N为统计量样本数,h为核函数宽度,K()为核密度函数,令

Figure BDA0002361161430000076
In the above formula, N is the number of statistical samples, h is the kernel function width, K() is the kernel density function, let
Figure BDA0002361161430000076

步骤6:采集在线实时输入数据和输出数据,并对采集到的实时数据进行 标准化处理,得到实时输入数据向量unew和实时输出数据向量ynew,参照上述 步骤2的方法将unew和ynew分别采用混合核映射到高维特征空间,得到实时输 入数据核向量

Figure BDA0002361161430000077
和实时输出数据核向量
Figure BDA0002361161430000078
混合核是由高斯核与径向基组 合而成。Step 6: Collect online real-time input data and output data, and standardize the collected real-time data to obtain the real-time input data vector u new and the real-time output data vector y new . Referring to the method in step 2 above, u new and y new are respectively mapped to the high-dimensional feature space using a hybrid kernel to obtain the real-time input data kernel vector
Figure BDA0002361161430000077
and real-time output data kernel vector
Figure BDA0002361161430000078
The hybrid kernel is a combination of a Gaussian kernel and a radial basis.

步骤7:基于步骤3中求得的加权矩阵J和L,以及利用步骤3训练好的 混合核PCA-CCA模型,计算新的实时数据残差变量rnew,并计算实时监测统 计量

Figure BDA00023611614300000710
其中I为单位矩阵。Step 7: Based on the weighted matrices J and L obtained in step 3 and the hybrid kernel PCA-CCA model trained in step 3, calculate the new real-time data residual variable r new and calculate the real-time monitoring statistics
Figure BDA00023611614300000710
Where I is the identity matrix.

步骤8:实时判断设备的运行状态,即:实时比较

Figure BDA0002361161430000081
是否小于阈值
Figure BDA0002361161430000082
若小于阈值则判断设备运行正常无需维护,若大于阈值则判断设备发生故障 需要维护。Step 8: Real-time judgment of the operating status of the equipment, that is, real-time comparison
Figure BDA0002361161430000081
Is it less than the threshold?
Figure BDA0002361161430000082
If it is less than the threshold, it is judged that the equipment is operating normally and does not need maintenance. If it is greater than the threshold, it is judged that the equipment has failed and needs maintenance.

为了验证本发明所公开的监测方法的监测效果,利用本发明的方法在置 信水平α=0.001的条件下,采用250个正常数据作为训练样本建立的模型与 阈值,并对其后的480个时刻的实时数据进行监测(故障在80个样本之后人 为注入),其监测指标如图2所示,图2中的虚线表示统计量阈值

Figure BDA0002361161430000083
实线 表示实时统计量
Figure BDA0002361161430000084
从图2中的结果显示可以看出,本发明所提供的监测方 法可以快速、准确的捕捉到故障的发生,能够为天然气液化装置的稳定工作 保驾护航。In order to verify the monitoring effect of the monitoring method disclosed in the present invention, the method of the present invention is used under the condition of confidence level α=0.001, 250 normal data are used as training samples to establish the model and threshold, and the real-time data of the subsequent 480 moments are monitored (the fault is artificially injected after 80 samples). The monitoring indicators are shown in Figure 2, and the dotted line in Figure 2 represents the statistical threshold
Figure BDA0002361161430000083
Solid lines represent real-time statistics
Figure BDA0002361161430000084
It can be seen from the results shown in FIG2 that the monitoring method provided by the present invention can quickly and accurately capture the occurrence of faults and can ensure the stable operation of the natural gas liquefaction device.

以上实施例仅用以说明本发明的技术方案而非限制,本领域普通技术人 员对本发明的技术方案所做的其他修改或者等同替换,只要不脱离本发明技 术方案的精神和范围,均应涵盖在本发明的权利要求范围中。The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Other modifications or equivalent substitutions made to the technical solution of the present invention by ordinary technicians in this field should be included in the scope of the claims of the present invention as long as they do not depart from the spirit and scope of the technical solution of the present invention.

Claims (5)

1.基于混合核PCA-CCA及核密度估计的过程监测方法,其特征在于:包括以下步骤:1. A process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation, characterized in that it comprises the following steps: 步骤1:采集正常工况下的过程输入和输出样本数据,得到采样时刻k时的1×m输入向量uk以及1×q输出向量yk,经过n次采样后,得到输入数据U=[u1,u2…un]T∈Rn×m以及输出数据Y=[y1,y2…yn]T∈Rn×qStep 1: Collect process input and output sample data under normal working conditions, obtain the 1×m input vector u k and the 1×q output vector y k at sampling time k, and after n samplings, obtain input data U = [u 1 ,u 2un ] T ∈R n×m and output data Y = [y 1 ,y 2 …y n ] T ∈R n×q ; 步骤2:将输入数据U和输出数据Y分别采用混合核映射到高维特征空间,得到输入混合核矩阵Ku和输出混合核矩阵Ky,所述混合核是由高斯核与径向基组合而成;Step 2: Map the input data U and the output data Y to the high-dimensional feature space using a hybrid kernel, respectively, to obtain an input hybrid kernel matrix Ku and an output hybrid kernel matrix Ky , wherein the hybrid kernel is composed of a Gaussian kernel and a radial basis; 步骤3:建立混合核PCA-CCA模型,计算Ku的加权矩阵J以及Ky的加权矩阵L,根据加权矩阵J和L获得残差r;Step 3: Establish a hybrid kernel PCA-CCA model, calculate the weighted matrix J of Ku and the weighted matrix L of Ky , and obtain the residual r according to the weighted matrices J and L; 步骤4:计算T2统计量;Step 4: Calculate the T2 statistic; 步骤5:采用核密度估计方法计算统计量阈值
Figure FDA0002361161420000011
Figure FDA0002361161420000012
用下式计算:
Step 5: Calculate the statistical threshold using the kernel density estimation method
Figure FDA0002361161420000011
Figure FDA0002361161420000012
Use the following formula to calculate:
Figure FDA0002361161420000013
Figure FDA0002361161420000013
上式中,
Figure FDA0002361161420000014
表示
Figure FDA0002361161420000015
的概率,p(T2)表示T2统计量的概率密度,α为给定置信度,其中,p(T2)按照下式计算:
In the above formula,
Figure FDA0002361161420000014
express
Figure FDA0002361161420000015
The probability of T 2 , p(T 2 ) represents the probability density of T 2 statistic, α is the given confidence level, where p(T 2 ) is calculated as follows:
Figure FDA0002361161420000016
Figure FDA0002361161420000016
上式中,N为统计量样本数,h为核函数宽度,K()为核密度函数,令
Figure FDA0002361161420000017
In the above formula, N is the number of statistical samples, h is the kernel function width, K() is the kernel density function, let
Figure FDA0002361161420000017
步骤6:采集在线实时输入数据和输出数据,并对采集到的实时数据进行标准化处理,得到实时输入数据向量unew和实时输出数据向量ynew,将unew和ynew分别采用混合核映射到高维特征空间,得到实时输入数据核向量
Figure FDA0002361161420000021
和实时输出数据核向量
Figure FDA0002361161420000022
所述混合核是由高斯核与径向基组合而成;
Step 6: Collect online real-time input data and output data, and standardize the collected real-time data to obtain the real-time input data vector u new and the real-time output data vector y new . Use hybrid kernels to map u new and y new to the high-dimensional feature space to obtain the real-time input data kernel vector
Figure FDA0002361161420000021
and real-time output data kernel vector
Figure FDA0002361161420000022
The hybrid kernel is composed of a Gaussian kernel and a radial basis;
步骤7:基于步骤3中求得的加权矩阵J和L,以及利用步骤3训练好的混合核PCA-CCA模型,计算新的实时数据残差变量rnew,并计算实时监测统计量
Figure FDA0002361161420000023
Step 7: Based on the weighted matrices J and L obtained in step 3 and the hybrid kernel PCA-CCA model trained in step 3, calculate the new real-time data residual variable r new and calculate the real-time monitoring statistics
Figure FDA0002361161420000023
步骤8:实时比较
Figure FDA0002361161420000024
是否小于阈值
Figure FDA0002361161420000025
若小于阈值则判断设备运行正常无需维护,若大于阈值则判断设备发生故障需要维护。
Step 8: Real-time comparison
Figure FDA0002361161420000024
Is it less than the threshold?
Figure FDA0002361161420000025
If it is less than the threshold, it is judged that the equipment is operating normally and does not need maintenance. If it is greater than the threshold, it is judged that the equipment has failed and needs maintenance.
2.根据权利要求1所述的基于混合核PCA-CCA及核密度估计的过程监测方法,其特征在于:所述步骤2中的高斯核表示如下:2. The process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation according to claim 1, characterized in that: the Gaussian kernel in step 2 is expressed as follows:
Figure FDA0002361161420000026
n>>q或m,其中,
Figure FDA0002361161420000027
Figure FDA0002361161420000028
c1和c2均为高斯核参数;
Figure FDA0002361161420000026
n>>q or m, where
Figure FDA0002361161420000027
Figure FDA0002361161420000028
c 1 and c 2 are Gaussian kernel parameters;
步骤2中的径向基核表示如下:The radial basis kernel in step 2 is expressed as follows:
Figure FDA0002361161420000029
其中,
Figure FDA00023611614200000210
d1和d2均为径向基核参数;
Figure FDA0002361161420000029
in,
Figure FDA00023611614200000210
d 1 and d 2 are radial basis kernel parameters;
通过将高斯核函数与径向基函数整合,可得:
Figure FDA00023611614200000211
Figure FDA00023611614200000212
Figure FDA00023611614200000213
为系数,用于权衡核函数的分配。
By integrating the Gaussian kernel function with the radial basis function, we can get:
Figure FDA00023611614200000211
Figure FDA00023611614200000212
Figure FDA00023611614200000213
is a coefficient used to weigh the distribution of the kernel function.
3.根据权利要求1所述的基于混合核PCA-CCA及核密度估计的过程监测方法,其特征在于:所述步骤3中的混合核PCA-CCA模型根据如下目标函数建立:3. The process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation according to claim 1 is characterized in that: the hybrid kernel PCA-CCA model in step 3 is established according to the following objective function:
Figure FDA0002361161420000031
Figure FDA0002361161420000031
其中,
Figure FDA0002361161420000032
表示输入的协方差;
Figure FDA0002361161420000033
表示输出的协方差;
Figure FDA0002361161420000034
表示交叉协方差;
in,
Figure FDA0002361161420000032
represents the covariance of the input;
Figure FDA0002361161420000033
represents the covariance of the output;
Figure FDA0002361161420000034
represents the cross covariance;
公式3中的目标函数通过对Ψ进行奇异值分解求得,Ψ表达式如下:The objective function in formula 3 is obtained by performing singular value decomposition on Ψ, and the expression of Ψ is as follows: Ψ=∑U 1/2UYY 1/2=ΓΛΔT (公式4)Ψ=∑ U 1/2UYY 1/2 =ΓΛΔ T (Formula 4) 上式中,Γ为包含左奇异向量的数据矩阵,Δ为包含右奇异向量的数据矩阵,Λ为奇异值矩阵;In the above formula, Γ is the data matrix containing left singular vectors, Δ is the data matrix containing right singular vectors, and Λ is the singular value matrix; 加权矩阵J和L按下式计算:J=∑U 1/2Γ,L=∑Y 1/2Δ;残差r=JTKu-ΛLTKyThe weighting matrices J and L are calculated as follows: J = ∑ U 1/2 Γ, L = ∑ Y 1/2 Δ; residual r = J T K u - Λ L T K y .
4.根据权利要求3所述的基于混合核PCA-CCA及核密度估计的过程监测方法,其特征在于:所述步骤4中T2=rT(I-Λ2)r,其中I为单位矩阵。4 . The process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation according to claim 3 , characterized in that: in step 4 , T 2 =r T (I-Λ 2 )r, wherein I is a unit matrix. 5.根据权利要求3所述的基于混合核PCA-CCA及核密度估计的过程监测方法,其特征在于:所述步骤7中
Figure FDA0002361161420000035
其中I为单位矩阵。
5. The process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation according to claim 3, characterized in that: in step 7
Figure FDA0002361161420000035
Where I is the identity matrix.
CN202010022040.1A 2020-01-09 2020-01-09 Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation Active CN111209973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010022040.1A CN111209973B (en) 2020-01-09 2020-01-09 Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010022040.1A CN111209973B (en) 2020-01-09 2020-01-09 Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation

Publications (2)

Publication Number Publication Date
CN111209973A CN111209973A (en) 2020-05-29
CN111209973B true CN111209973B (en) 2023-04-07

Family

ID=70789562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010022040.1A Active CN111209973B (en) 2020-01-09 2020-01-09 Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation

Country Status (1)

Country Link
CN (1) CN111209973B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114065645A (en) * 2021-11-24 2022-02-18 杭州哲达科技股份有限公司 Industrial equipment monitoring method and device and computer readable storage medium
CN114419424B (en) * 2022-02-25 2025-06-06 中国农业银行股份有限公司 Remote sensing feature extraction method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012040916A1 (en) * 2010-09-29 2012-04-05 东北大学 Fault monitoring method of continuous annealing process based on recursive kernel principal component analysis
CN107357275A (en) * 2017-07-27 2017-11-17 中南大学 Non-gaussian industrial process fault detection method and system
CN107632592A (en) * 2017-09-01 2018-01-26 南通大学 Nonlinear time-varying procedure fault monitoring method based on efficient recursion core pivot element analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012040916A1 (en) * 2010-09-29 2012-04-05 东北大学 Fault monitoring method of continuous annealing process based on recursive kernel principal component analysis
CN107357275A (en) * 2017-07-27 2017-11-17 中南大学 Non-gaussian industrial process fault detection method and system
CN107632592A (en) * 2017-09-01 2018-01-26 南通大学 Nonlinear time-varying procedure fault monitoring method based on efficient recursion core pivot element analysis

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
任嵬 ; 索寒生 ; 蒋白桦 ; 贾贵金 ; .基于核典型相关分析的故障检测方法.控制工程.2019,(第04期),全文. *
许仙珍 ; 谢磊 ; 王树青.基于PCA混合模型的多工况过程监控.化工学报.2011,第62卷(第3期),全文. *

Also Published As

Publication number Publication date
CN111209973A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN111444940A (en) Fault diagnosis method for critical parts of fan
CN110262450B (en) A Fault Prediction Method for Cooperative Analysis of Multiple Fault Characteristics for Steam Turbines
CN106201897B (en) Software defect based on principal component distribution function predicts unbalanced data processing method
CN115187832A (en) Energy system fault diagnosis method based on deep learning and gram angular field image
CN105893700A (en) Chemical production on-line fault detection and diagnosis technique based on physical-large data hybrid model
CN111259523B (en) Process monitoring method based on KPCA-CVA model and random algorithm
CN111209973B (en) Process monitoring method based on mixed kernel PCA-CCA and kernel density estimation
CN101446827A (en) Process fault analysis device of process industry system and method therefor
CN106529124A (en) A transformer insulation state assessment method based on principal component analysis and support vector machines
CN104699050A (en) Leaf-shred preparation segment on-line monitoring and fault diagnosing method for cigarette filament treatment driven by data
CN110794797A (en) PCA fault monitoring method based on mutual information and multi-block information extraction
CN112598144A (en) CNN-LSTM burst fault early warning method based on correlation analysis
CN107133632A (en) A kind of wind power equipment fault diagnosis method and system
CN104714537A (en) Fault prediction method based on joint relative change analysis and autoregression model
CN112231971B (en) Blast furnace fault diagnosis method based on relative integral trend diffusion fault sample generation
CN112149750A (en) Water supply network pipe burst identification data driving method
CN104793606A (en) Industrial fault diagnosis method based on improved KPCA (kernel principal component analysis) and hidden Markov model
CN106021757A (en) Diagnosis method of self-adapting performance of pneumatic components of hybrid gas turbine based on combination of gray correlation theory and thermodynamic model
CN108830006B (en) Linear-nonlinear industrial process fault detection method based on linear evaluation factor
CN108334674A (en) A kind of steam turbine high-pressure cylinder method for monitoring operation states based on parameter association intellectual analysis
CN118859800A (en) A smart manufacturing monitoring method and system based on big data
CN111983994B (en) A V-PCA Fault Diagnosis Method Based on Complex Industrial Chemical Process
CN111126801A (en) Hierarchical analysis and evaluation system based on information entropy for equipment guarantee capability
CN102880151A (en) Double-layer data model-driven plant-level chemical process monitoring method
Ren et al. Prediction of wind turbine blade icing based on lstm-svm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200529

Assignee: Zhejiang Henuo Machinery Co.,Ltd.

Assignor: ZHEJIANG SCI-TECH University

Contract record no.: X2025980004041

Denomination of invention: Process monitoring method based on hybrid kernel PCA-CCA and kernel density estimation

Granted publication date: 20230407

License type: Common License

Record date: 20250221

EE01 Entry into force of recordation of patent licensing contract