CN113742936A - Complex manufacturing process modeling and predicting method based on functional state space model - Google Patents

Complex manufacturing process modeling and predicting method based on functional state space model Download PDF

Info

Publication number
CN113742936A
CN113742936A CN202111073156.9A CN202111073156A CN113742936A CN 113742936 A CN113742936 A CN 113742936A CN 202111073156 A CN202111073156 A CN 202111073156A CN 113742936 A CN113742936 A CN 113742936A
Authority
CN
China
Prior art keywords
function
state
state space
matrix
data
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.)
Granted
Application number
CN202111073156.9A
Other languages
Chinese (zh)
Other versions
CN113742936B (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.)
Guizhou University
Original Assignee
Guizhou University
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 Guizhou University filed Critical Guizhou University
Priority to CN202111073156.9A priority Critical patent/CN113742936B/en
Publication of CN113742936A publication Critical patent/CN113742936A/en
Application granted granted Critical
Publication of CN113742936B publication Critical patent/CN113742936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/10Noise analysis or noise optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Complex Calculations (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a complex manufacturing process modeling and predicting method based on a functional state space model, which comprises the following steps: expressing the observed quantity of the function time sequence as a basis function with an implicit variable by using basis function extension; establishing a state space model for the function time sequence; and estimating unknown parameters in the state space equation by using an EM algorithm and a Kalman filtering algorithm, establishing a complete function state space equation based on FSSM estimation, and calculating the advanced prediction error of the previous step. The method does not need to perform dimensionality reduction processing on the data, so that the loss of information is reduced; completely describing a system containing function data by using a past and present minimum information form; the parameters needing to be estimated are fewer, the analytic solution of the problem can be obtained, and the estimation accuracy is higher; the FSSM not only depicts the internal state of the system, but also can reveal the direct connection between the internal state of the system and the external output variables, which is reflected more comprehensively.

Description

Complex manufacturing process modeling and predicting method based on functional state space model
Technical Field
The invention belongs to the technical field of complex manufacturing process modeling and prediction, and relates to a complex manufacturing process modeling and prediction method based on a functional state space model.
Background
In recent years, multi-channel profile data has become increasingly popular and important in a variety of applications, particularly in complex manufacturing processes, where it is widely used to assess the temporal or spatial performance of a system. One of the challenges of multi-channel profile data is the need to consider the interrelationship between channels, especially for profile data streams in complex manufacturing processes. This correlation exists in more and more application scenarios, and is very different from typical data, and therefore cannot be handled well with traditional methods. More appropriate modeling of multi-channel contour data to extract valuable information has become an increasingly prominent problem in manufacturing. For this reason, it is crucial to develop a more efficient multi-channel contour modeling method.
Conventional modeling schemes are based on the basic assumption that process observations are statistically independent of each other. In real-world production, the multi-channel profiles of complex manufacturing processes do not always satisfy assumptions that are statistically independent of each other. Due to some uncontrollable or unknown factors, the observations of the previous epoch tend to have an effect on the observations of the subsequent epoch, which makes the observations appear to be interrelated. Such a process is called an autocorrelation process, or a sequential correlation process. Many scholars have studied multichannel autocorrelation data in the manufacturing process. Bhowmik (Bahrami, H., Niaki, S.T.A., & Khedmati, M. (2019). Monitoring multivariable profiles in multistage processes.communication in Statistics-Simulation and calculation, 1-29, translation Bhowmik et al, 2019. by using recursive singular spectroscopy to perform real-time unified single-channel and multi-channel structural damage detection.structural health Monitoring, 18(2) & 563-589. https:// doi.org/10.1177/1475921718760483) using recursive singular spectroscopy in combination with a time varying autoregressive model for continuous online damage detection of multi-degree-of-freedom vibrating structures, when applied to streaming data without any baseline data, facilitates online damage detection. Wang (Wang, T., Lu, G., & Yan, P. (2019); Multi-sensors based conditioning monitoring of robot mechanics: An advance of Multi-dimensional time-series analysis. measurement,134,326-33) proposes a novel Multi-sensor based modeling strategy, which can be used to detect changes in machine operating conditions during continuous operation. The method is based on automatic change detection, and is realized by combining multidimensional time series analysis (MultiDTSA) with an extended autoregressive integrated moving average (ARIMA) regression process. Wang (Wang, X., Zhu, Z., & Lu, G. (2020), Multiple regression analysis for change detection in Multiple-sensor monitoring data with application to induction motor speed condition monitoring, measurement Science and Technology,31(9) and 95103, translation X.Wang., 2020, application of Multiple regression analysis for Multiple sensory monitoring data change detection and induction motor speed condition monitoring, measurement Science and Technology,31(9) and 95103) propose a framework of an asynchronous motor on-line monitoring system based on Multiple Regression Analysis (MRA) that is capable of detecting speed changes in motor operation. An MRA-based predictive model is established using the collaborative information of the multi-sensor state data. The model defines the residual between the model output and the sensor observation as a dynamic stability indicator characterizing the motor operating state. These articles above all consider the autocorrelation of multi-channel data, but they are only for vectors or scalars, while the modeling of complex manufacturing process autoregressive multi-channel profiles is rarely discussed. Except for the correlation between each channel data. In addition, in these manufacturing systems, there are also an unequal number of hidden variables that affect the profile data, but are often difficult to find directly.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a complex manufacturing process modeling and prediction method based on a functional state space model is provided to solve the technical problems in the prior art.
The technical scheme adopted by the invention is as follows: the complex manufacturing process modeling and predicting method based on the functional state space model comprises the following steps:
(1) expressing the observed quantity of the function time sequence as a basis function with an implicit variable by using basis function extension;
(2) establishing a state space model for the function time sequence;
(3) estimating unknown parameters in the state space equation by using an EM algorithm and a Kalman filtering algorithm, and establishing a complete function state space equation;
(4) based on the estimation of the FSSM, a step (the step is that the process is iterative, the step is equivalent to a time section, and the prediction step is that the error of the actual data and the predicted data of the next time section is predicted) is calculated to lead the prediction error, so that the prediction of the autoregressive profile data of the complex manufacturing process is realized.
The method for setting the basis function with the hidden variable in the step (1) comprises the following steps:
assuming that N identical cycles or identical types of equipment are monitored within a pre-specified time frame, Y is set for each equipmentiThere are readings from P different or partially identical sensors at T time points; the reading of the sensors in the same time period forms profile data, and the observation times and the observation time are different due to different equipment or different periods, so the length of the profile can be different; the goal of the prediction problem is to learn the mathematical mapping from the observed variable Y to the implied variable X;
basis function expansion of multi-channel profile data: the main method for converting the original discrete data into the smooth function is to use the linear combination of the known basis functions to represent each function, and assume that N independent and identically distributed multi-channel contour samples are provided; each sample containing the P-channel profile is a square integrable random process, denoted as Yi(t),{i=1,2,…,N}
Figure BDA0003261137310000041
Definition of X ═ X1,...,xK]′∈RK×T,{xkK is the decomposition matrix (non observable state variables) for the ith sample, where x is 1kIs a T-dimensional row vector;
then let there be a set of K basis functions C ═ C1,c2,...,cK]1, …, K, where c is a P-dimensional column vector;
then the basis function for the ith sample is expanded as:
Figure BDA0003261137310000042
the matrix is expressed in the form of
Figure BDA0003261137310000043
The method for establishing the state space model in the step (2) comprises the following steps:
constructing a new Functional State Space Model (FSSM) based on the extension of the basis function obtained in the step (1):
Figure BDA0003261137310000044
wherein
Figure BDA0003261137310000045
C∈P×K,X∈RK×T,ε∈Rp×T,A∈RK×K,ω∈RK×T;C=[c1,c2,...,cK]K1, …, K is a combination of K basis functions, i 1,2, N is the sample number, j 1, P is the profile of the jth channel, T1, T represents the data at the time of the tth sample, ei~N(0,R),R∈RP×TIs the error matrix of the observed quantity, omegai~N(0,Q),Q∈RK×TIs the error matrix of the system;
y in the equationi(t) is the profile data of the ith sample, Xi(t) is the hidden state matrix of the sample that is not observable, and the parameter set to be estimated is Θ ═ a, Q, R, epsilonii]。
The state space equation evaluation method in the step (3) comprises the following steps: for a function state space model, an EM algorithm and Kalman filtering are combined, two steps in an evaluation algorithm are respectively realized, and the method comprises an E step and an M step, wherein the E step is to realize the estimation of the expectation of a state X by utilizing the Kalman filtering and the Kalman smoothing algorithm, and the M step is to realize the estimation of parameters and noise covariance by maximizing the expectation of a log-likelihood function;
a state space set is established for each single channel as follows:
Figure BDA0003261137310000051
wherein, yi,j={yi,1,yi,2,…,yi,PThe j channel profile data of the ith sample is obtained, and the total number of the j channel profile data is P;
xi,j(t)={x1,x2,…,xNthe j contour of the ith sample is an observable state vector, and the total number of the observable state vectors is N;
p is an observed variable yi,jK is the state variable xi,jDimension (d);
q is the system noise omegai,jIs the observation noise epsiloni,jThe covariance matrix of (2).
The step E is as follows: assume that the initial state is θ0={A0,R,Q,x0,j,V0,jThe state space parameter to be estimated is Θ ═ a, Q, R, epsilonii];
The assumed model is shown as formula (5), εi,jAnd ωi,jAll obey a Gaussian distribution, thenThe following relationships exist:
Figure BDA0003261137310000052
Figure BDA0003261137310000053
yi,jthe j-th channel profile data for the i-th sample has a length of N, i.e. { y }1,y2,…,yN};
xi,j(t) is the non-observable state vector for the jth profile of the ith sample, which is also N in length, i.e. { x }1,x2,…,xN};
Q is system noise omegai,jCovariance matrix, R is the observation noise εi,jA covariance matrix;
according to the characteristics of the Markov process, there is the following relationship:
Figure BDA0003261137310000061
setting the probability density function of the initial state as:
Figure BDA0003261137310000062
the corresponding log-likelihood function is then:
Figure BDA0003261137310000063
in step E, the expectation of the log-likelihood function needs to be calculated, namely:
Q=E[lnP({x},{y})|{y}] (11)
this expectation is iteratively maximized as a function of θ until convergence;
this process can be decomposed into the calculation of E [ x ]i,j|{y}],E[xi,jxi,j|{y}]E[xi,jxi-1,j|{y}];
Is defined as follows:
Figure BDA0003261137310000064
Pi,j=E[xi,jx′i,j|{y}],P(i,i-1),j=E[xi,jx′i-1,j|{y}];
the above expectation is calculated by the kalman filter method, resulting in:
Figure BDA0003261137310000065
Figure BDA0003261137310000066
Figure BDA0003261137310000067
Figure BDA0003261137310000068
Figure BDA0003261137310000069
wherein,
Figure BDA0003261137310000071
a is a state transition matrix, and C is an observation matrix;
as can be obtained by the above calculation,
Figure BDA0003261137310000072
and Pi,jI.e. by
Figure BDA0003261137310000073
Pi,jObtained by means of a kalman smoothing method:
Figure BDA0003261137310000074
Figure BDA0003261137310000075
Figure BDA0003261137310000076
substituting the 3 expected estimated values obtained by calculation, and maximizing a log-likelihood function to obtain parameter estimation and noise covariance estimation;
observation noise covariance matrix R:
Figure BDA0003261137310000077
to obtain
Figure BDA0003261137310000078
For state transition matrix A:
Figure BDA0003261137310000079
to obtain
Figure BDA00032611373100000710
For the process noise covariance matrix Q:
Figure BDA00032611373100000711
to obtain
Figure BDA00032611373100000712
Initial state estimate pi1
Figure BDA0003261137310000081
Then the
Figure BDA0003261137310000082
Initial state covariance V1,j
Figure BDA0003261137310000083
Namely:
Figure BDA0003261137310000084
the M steps are as follows: the steps for obtaining the maximum likelihood estimate using the EM algorithm are as follows:
first, setting an initial value θ0={A0,R,Q,x0,j,V0,jAnd x is obtained using formulae (20) to (24)k,jAnd Vk,jAn estimated value of (d); then three conditional expectations were obtained
Figure BDA0003261137310000085
Pi,j=E[xi,jx′i,j|{y}]And P(i,i-1),j=E[xi,jx′i-1,j|{y}];
Secondly, calculating a condition expected value shown in a formula;
thirdly, maximizing the conditional expectation value of the log-likelihood function and obtaining A, R, Q and x by using formulas (20) to (24)0.j,V0,jAn estimated value of (d);
and step four, substituting the parameters obtained in the step three into the step one, and repeating the process until the log-likelihood function converges or reaches the set times.
The invention has the beneficial effects that: compared with the prior art, the invention has the following effects:
(1) compared with FPCA, the invention does not need to carry out dimensionality reduction processing on the data, thus reducing the loss of information;
(2) the method of B-spline smoothing and basis function expansion is combined with a state space model based on contour data, and a system containing function data can be completely described by using the past and present minimum information forms;
(3) compared with SSM, the method has the advantages that the number of parameters needing to be estimated is small, the analytic solution of the problem can be obtained, and the estimation accuracy is higher;
(4) the FSSM not only depicts the internal state of the system, but also can reveal the direct connection between the internal state of the system and the external output variables, which is reflected more comprehensively.
Drawings
FIG. 1 is a flow chart of a complex manufacturing process modeling and prediction based on a functional state space model;
FIG. 2 is a graph of the look-ahead one-step prediction results for FSSM and SSM of three models;
FIG. 3 is a MSE plot of FSSM and SSM for three models;
FIG. 4 is a graph of observed variations of milling machine data;
FIG. 5 is a diagram of a one step advance prediction of FSSM and SSM for milling machine data;
FIG. 6 is a diagram of predictions 1-100 for FSSM and SSM of milling machine data one step ahead.
FIG. 7 is a diagram of a one-step-ahead prediction 4401-4500 of FSSM and SSM of milling machine data;
FIG. 8 is a diagram of a one step-ahead prediction 8901-9000 of FSSM and SSM of milling machine data.
Detailed Description
The invention is further described with reference to the accompanying drawings and specific embodiments.
Example 1: 1-8, a method for modeling and predicting a complex manufacturing process based on a functional state space model, the method comprising the steps of:
(1) expressing the observed quantity of the function time sequence as a basis function with an implicit variable by using basis function extension;
(2) establishing a state space model for the function time sequence;
(3) estimating unknown parameters in the state space equation by using an EM algorithm and a Kalman filtering algorithm, and establishing a complete function state space equation;
(4) based on the estimation of FSSM, the advanced prediction error of one step (the error between the actual data and the predicted data in the next period) is calculated, and the prediction of the autoregressive profile data in the complex manufacturing process is realized.
The method for setting the basis function with the hidden variable in the step (1) comprises the following steps:
assuming that N identical cycles or identical types of equipment are monitored within a pre-specified time frame, Y is set for each equipmentiThere are readings from P different or partially identical sensors at T time points; the reading of the sensors in the same time period forms profile data, and the observation times and the observation time are different due to different equipment or different periods, so the length of the profile can be different; the goal of the prediction problem is to learn the mathematical mapping from the observed variable Y to the implied variable X;
basis function expansion of multi-channel profile data: the main method for converting the original discrete data into the smooth function is to use the linear combination of the known basis functions to represent each function, and assume that N independent and identically distributed multi-channel contour samples are provided; each sample containing the P-channel profile is a square integrable random process, denoted as Yi(t),{i=1,2,…,N}
Figure BDA0003261137310000101
Definition of X ═ X1,...,xK]′∈RK×T,{xkK is the ith oneDecomposition matrix (non observable state variable) of the sample, where xkIs a T-dimensional row vector;
then let there be a set of K basis functions C ═ C1,c2,...,cK]1, …, K, where c is a P-dimensional column vector;
then the basis function for the ith sample is expanded as:
Figure BDA0003261137310000102
the matrix is expressed in the form of
Figure BDA0003261137310000103
The method for establishing the state space model in the step (2) comprises the following steps:
constructing a new Functional State Space Model (FSSM) based on the extension of the basis function obtained in the step (1):
Figure BDA0003261137310000111
wherein
Figure BDA0003261137310000112
C∈P×K,X∈RK×T,ε∈Rp×T,A∈RK×K,ω∈RK×T;C=[c1,c2,...,cK]K1, …, K is a combination of K basis functions, i 1,2, N is the sample number, j 1, P is the profile of the jth channel, T1, T represents the data at the time of the tth sample, ei~N(0,R),R∈RP×TIs the error matrix of the observed quantity, omegai~N(0,Q),Q∈RK×TIs the error matrix of the system;
y in the equationi(t) is the profile data of the ith sample, Xi(t) is the non-observable hidden state matrix of the samples, and the parameter set to be estimated is Θ=[A,Q,R,εii]。
The state space equation evaluation method in the step (3) comprises the following steps: for a function state space model, an EM algorithm and Kalman filtering are combined, two steps in an evaluation algorithm are respectively realized, and the method comprises an E step and an M step, wherein the E step is to realize the estimation of the expectation of a state X by utilizing the Kalman filtering and the Kalman smoothing algorithm, and the M step is to realize the estimation of parameters and noise covariance by maximizing the expectation of a log-likelihood function;
a state space set is established for each single channel as follows:
Figure BDA0003261137310000113
wherein, yi,j={yi,1,yi,2,…,yi,PThe j channel profile data of the ith sample is obtained, and the total number of the j channel profile data is P;
xi,j(t)={x1,x2,…,xNthe j contour of the ith sample is an observable state vector, and the total number of the observable state vectors is N;
p is an observed variable yi,jK is the state variable xi,jDimension (d);
q is the system noise omegai,jIs the observation noise epsiloni,jThe covariance matrix of (2).
The step E is as follows: assume that the initial state is θ0={A0,R,Q,x0,j,V0,jThe state space parameter to be estimated is Θ ═ a, Q, R, epsilonii];
The assumed model is shown as formula (5), εi,jAnd ωi,jObey the gaussian distribution, the following relationships exist:
Figure BDA0003261137310000121
Figure BDA0003261137310000122
yi,jthe j-th channel profile data for the i-th sample has a length of N, i.e. { y }1,y2,…,yN};
xi,j(t) is the non-observable state vector for the jth profile of the ith sample, which is also N in length, i.e. { x }1,x2,…,xN};
Q is system noise omegai,jCovariance matrix, R is the observation noise εi,jA covariance matrix;
according to the characteristics of the Markov process, there is the following relationship:
Figure BDA0003261137310000123
setting the probability density function of the initial state as:
Figure BDA0003261137310000124
the corresponding log-likelihood function is then:
Figure BDA0003261137310000125
in step E, the expectation of the log-likelihood function needs to be calculated, namely:
Q=E[lnP({x},{y})|{y}] (11)
this expectation is iteratively maximized as a function of θ until convergence;
this process can be decomposed into the calculation of E [ x ]i,j|{y}],E[xi,jxi,j|{y}]E[xi,jxi-1,j|{y}];
Is defined as follows:
Figure BDA0003261137310000131
Pi,j=E[xi,jx′i,j|{y}],P(i,i-1),j=E[xi,jx′i-1,j|{y}];
the above expectation is calculated by the kalman filter method, resulting in:
Figure BDA0003261137310000132
Figure BDA0003261137310000133
Figure BDA0003261137310000134
Figure BDA0003261137310000135
Figure BDA0003261137310000136
wherein,
Figure BDA0003261137310000137
a is a state transition matrix, and C is an observation matrix;
as can be obtained by the above calculation,
Figure BDA0003261137310000138
and Pi,jI.e. by
Figure BDA0003261137310000139
Pi,jObtained by means of a kalman smoothing method:
Figure BDA00032611373100001310
Figure BDA00032611373100001311
Figure BDA00032611373100001312
substituting the 3 expected estimated values obtained by calculation, and maximizing a log-likelihood function to obtain parameter estimation and noise covariance estimation;
observation noise covariance matrix R:
Figure BDA00032611373100001313
to obtain
Figure BDA00032611373100001314
For state transition matrix A:
Figure BDA00032611373100001315
to obtain
Figure BDA0003261137310000141
For the process noise covariance matrix Q:
Figure BDA0003261137310000142
to obtain
Figure BDA0003261137310000143
Initial state estimate pi1
Figure BDA0003261137310000144
Then the
Figure BDA0003261137310000145
Initial state covariance V1,j
Figure BDA0003261137310000146
Namely:
Figure BDA0003261137310000147
the M steps are as follows: the steps for obtaining the maximum likelihood estimate using the EM algorithm are as follows:
first, setting an initial value θ0={A0,R,Q,x0,j,V0,jAnd x is obtained using formulae (20) to (24)k,jAnd Vk,jAn estimated value of (d); then three conditional expectations were obtained
Figure BDA0003261137310000148
Pi,j=E[xi,jx′i,j|{y}]And P(i,i-1),j=E[xi,jx′i-1,j|{y}];
Secondly, calculating a condition expected value shown in a formula;
thirdly, maximizing the conditional expectation value of the log-likelihood function and obtaining A, R, Q and x by using formulas (20) to (24)0.j,V0,jAn estimated value of (d);
and step four, substituting the parameters obtained in the step three into the step one, and repeating the process until the log-likelihood function converges or reaches the set times.
The invention adopts a function state space model of an autoregressive curve, which can not only flexibly describe the cross correlation and autocorrelation structure of function data through the combination of basis functions, but also simplify the calculation of parameter estimation, and make the modeling easier.
To illustrate the effects of the present invention, the following simulation studies were conducted: the performance of FSSM methods was thoroughly evaluated by several numerical studies and compared with some of the most advanced methods. In particular, the following three different models are considered.
i) Model (I): exist of
Figure BDA0003261137310000151
Satisfy the requirement of
Figure BDA0003261137310000152
Wherein v isk(k 1.., 8) are 1, 4, 7, 10, 13, 16, 19, and 22B-spline basis functions of order 3 at [0,1 ]]With a grid of 10 equidistant nodes. t is tl(l ═ 1.. times, n) (where n ═ 10) is at the same position as the junction, ξik(k 1.. 8) is set as a sparse vector whose ith component is represented by ξkl=βklL(βklI > 1.5), where L (·) is an index function that equals L when its condition is true, and 0 otherwise. Here betak=[βk1,...,βk50]Follow a 50-dimensional multivariate normal distribution with mean b k0, covariance matrix of Bk. Setting (B)k)lh=(0.5)l-h,l,h=1,...,50,
Figure BDA0003261137310000153
For noise, each component follows a mean of 0 and a variance of σ20.04, wherein mu0 is [1,0.75,0.5, -1,1, -0.5, -0.75,1]';P0=eye(M)*1-4;Q=eye(M)*1-4;R=eye(N)*1-5。
II) model (II): exist of
Figure BDA0003261137310000154
Satisfy the requirement of
Figure BDA0003261137310000155
Wherein v isk(k ═ 1.., 8.) is the first 8 Vaidyanathan wavelet bases at [0,1 ·,1 @]Grid with 16 equidistant nodes in it, ξik(k 1.. 8) is a sparse vector whose ith component is represented by ξkl=βklL(|βklI > 1.5) is generated. Here betak=[βk1,...,βk60]Follow a 60-dimensional multivariate normal distribution, mean b k0 and covariance matrix Bk. Setting (B)k)lh=(0.5)l-h,l,h=1,...,120,
Figure BDA0003261137310000156
Is generated in the same manner as model (I).
III) model (III): exist of
Figure BDA0003261137310000161
Satisfy the requirement of
Figure BDA0003261137310000162
Wherein v isk(k 1.., 6) is a B-spline basis function of 1 st, 4 th, 7 th, 10 th, 13 th, 16 th order with a grid of [0,1 th]6 equidistant nodes. t is tl(l ═ 1.., n) (where n ═ 6) is at the same position as the junction.
Figure BDA0003261137310000163
Wherein v isk(k 7.., 12) is the first 6 non-constant fourier bases, e.g., νk=cos(kt+kπ),νkCos (kt + k pi), at [0,2 pi]Grid with 50 equidistant nodes in it, ξik(k ═ 1.., 6) and eiGenerated in the same manner as model (I).
In the present invention, to better evaluate the performance of the FSSM method, the maximum likelihood estimates Q and R from the models (20) and (22) are used for YiGiven Yi-1Is a reaction of YiNormalized by the one-step prediction error (OSFEs) of (1), expressed as ei~N(0,Sj) The definition is as follows.
Figure BDA0003261137310000164
Si=var(ei)=CVi i-1C′+R (26)
Table I MSE for different methods of the three models
Figure BDA0003261137310000165
Figure BDA0003261137310000171
Fig. 3 shows modeling predictions for these three models by FSSM. It can be seen that in general the FSSM predicted contours are very close (almost overlapping) to the real data, demonstrating the accuracy of the proposed estimation procedure. FSSM has relatively accurate prediction results regardless of whether the model consists of B-spline or wavelet basis alone, or mixed basis functions. Meanwhile, as can be seen from the comparison between MES of the two methods based on the state space model in fig. 5, the prediction effect of FSSM is significantly better than that of the conventional SSM method.
Table 1 shows the MSE of the different methods for the smoothed autoregressive curve. The prediction gap for the S1 channel was slightly larger relative to the other channels due to the larger variation between each sample of the raw S1 data. Taken together, the MSE for FSSM and SSM methods is significantly smaller than other methods. This shows that the SSM-based prediction method shows certain advantages compared to the PCA-based method.
Actual case study: in many real-world manufacturing systems, various sensors are installed in equipment to monitor key process variables in the production process, such as motion, vibration, pressure, temperature, voltage, etc. For each sensor, a large amount of high dimensional data is collected, which can be viewed as function data for each manufacturing cycle. Based on historical function data, changes of the process variables are effectively predicted, so that a more accurate reference basis can be provided for state monitoring, and early warning detection can be performed on abnormal conditions in a more timely manner.
In this example, the FSSM method was applied to a real case of a manufacturing system for milling machine process state monitoring to demonstrate the effectiveness of FSSM based autoregressive models. The performance of FSSM was compared to various state-of-the-art methods of function analysis, including SSM, SMFPCA, mfcca, VPCA, and others. Experimental results show that the proposed FSSM method is clearly superior to all these alternative methods.
This set of data represents experiments run on a milling machine under different operating conditions. In particular, tool wear was investigated in conventional cutting as well as in-cut and out-cut. Data are collected at multiple locations by three different types of sensors (acoustic emission sensors, vibration sensors, current sensors).
In this study, there were six sets of data from different sensors representing the six process variables monitored during the manufacturing process for each product sample. These sensor variables are referred to as S1 through S6. Fig. 4 shows an overview of these six sensor variables. It should be noted that under different operating conditions, the profile variation for each process variable is different due to the complex relationships of the variables within the manufacturing system. In the present invention, only profile variations under a single working condition are considered for the study. Figures 5-8 show the predicted results of FSSM compared to the actual profile.
The overall data is first estimated and predicted. Then, in order to fully explain the prediction effect of the method on different stages of the production process, three parts of data are respectively extracted for prediction, and the data come from the early stage, the middle stage and the later stage of the monitoring process. The results are shown in FIG. 6.
Table II illustrates the predicted results of the FSSM model at different stages of the milling process. It can be seen that the predicted MSE at the later stage is quite small, since the state values at the later stage generally tend to decrease, but the periodic fluctuations are still large, and FSSM is sensitive in capturing peak-to-valley variations. The prediction results of 6 different channels are comprehensively analyzed, and the fact that the predicted MSE of S1 is larger in any period is found, because the operation mode of S1 is obviously different from that of other channels, the upper and lower changes are larger, and accurate prediction is more difficult. However, combining several methods, FSSM remains the best method to predict the operating state of S1. Fig. 6-8 show the fit of the two best performing methods FSSM and SSM to the raw data. It can be seen that FSSM is, in general, more accurate in predicting the trend changes of the operating state.
Table II RMSE of different methods in different datasets
Figure BDA0003261137310000191
In connection with this real example it can be seen that the predictive power of other methods is in most cases not comparable to FSSM. Notably, the overall performance of the SSM method is the second best. Since its model structure is the same as FSSM. Despite the superiority and flexibility of the non-basis function extension of SSM, the state space model still captures the characteristics of some sensors to some extent. Therefore, the predictive ability of this method is not poor. As for the other four PCA methods, they are poorly predictive and unstable because their models cannot describe the variable changes implied by the data. For channels with little fluctuation in state values, the performance of FSSM is similar to the SSM method. This is because for channels whose operating conditions are relatively stable, the features between them are very similar, so the implicit variables learned by SSM separately for each channel are very close to the implicit variables learned by FSSM jointly for all three channels. In other words, the channels may be collectively regarded as one channel. In this case, the predictive power of the base spread monitoring will be similar to the detection power of the monitoring alone. Furthermore, it should be noted that UMPCA performs the worst, as it has the inherent disadvantage of being able to extract only a limited number of features. In summary, these baseline methods are somewhat unable to extract different features from different contours, and therefore are unable to detect changes in features.
And (4) simulation conclusion: functional Data Analysis (FDA) has originated in the field of statistics and is under development. More and more manufacturing systems and industrial processes are generating this type of structured data. Functional regression, consisting of regression methods involving functional responses or predictions, is one of the most interesting areas in functional data analysis in industrial applications and process development. The key to FDA is the need to combine information across functions and internally, and is also the key to the functional regression method. Despite extensive research in the literature on prediction and regression of functional data, the challenge of how to design a reasonable prediction method to estimate a multi-channel autoregressive curve remains to be solved. In the invention, a monitoring scheme based on FSSM is provided to fill the research gap. In particular, each contour is treated as a state and the FSSM is proposed by adding different basis function extensions to the state space equation. Basis functions are key components of the method and determine how the model draws intensity from the observation curves when performing regression. In this way, FSSM allows for the combination of basis functions for each hidden variable, thereby enabling the modeling of multi-channel autoregressive curves with different characteristics. Numerical studies and case studies demonstrate the effectiveness and applicability of the proposed method. By researching cases of different manufacturing systems and selecting and establishing different basis functions according to different conditions, a suitable FSSM is constructed, the purposes of prediction and monitoring are achieved, a reliable basis is provided for decision making of the manufacturing industry, and superiority of a function data analysis method in the research of the manufacturing industry is truly embodied.
There are several benefits to using the complex manufacturing process modeling and prediction method of the present invention. Firstly, compared with FPCA, the method has the advantages that the data does not need to be subjected to dimensionality reduction, and the loss of information is reduced; second, combining spline smoothing and radix expansion methods with a state space model based on contour data, a complete description of the system containing functional data can be made using past and present forms of minimal information. Secondly, compared with SSM, the parameters needing to be estimated are fewer, the analytic solution of the problem can be obtained, and the estimation accuracy is higher; finally, the FSSM not only depicts the internal state of the system, but also can reveal the direct connection between the internal state of the system and the external output variables, which is reflected more comprehensively. However, a limitation of this approach is that SSM is generally based on markov properties, i.e. given the current state of the system, the future of the system is independent of its past. If the system does not satisfy the Markov property, it is not appropriate to use the state space model.
With this research approach, there are several potentially valuable extensions. First, it is contemplated that the model of the FSSM can be included in the monitoring to make it more accurate in predicting abnormal situations. Second, a more efficient optimization algorithm can be explored, taking into account the selection and setting of basis functions in the joint estimation FSSM. Finally, the proposed modeling technique can also be combined with neural networks for exploring the impact of different characteristics on the desired index. In summary, there are still many areas to be investigated for the application of FSSM methods in the field of manufacturing.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and therefore, the scope of the present invention should be determined by the scope of the claims.

Claims (6)

1. The complex manufacturing process modeling and predicting method based on the functional state space model is characterized in that: the method comprises the following steps:
(1) expressing the observed quantity of the function time sequence as a basis function with an implicit variable by using basis function extension;
(2) establishing a state space model for the function time sequence;
(3) estimating unknown parameters in the state space equation by using an EM algorithm and a Kalman filtering algorithm, and establishing a complete function state space equation;
(4) and calculating a one-step advanced prediction error based on the estimation of the FSSM to realize the prediction of the autoregressive profile data in the complex manufacturing process.
2. The method of claim 1, wherein the method comprises: the method for setting the basis function with the hidden variable in the step (1) comprises the following steps:
assuming that N identical cycles or identical types of equipment are monitored within a pre-specified time frame, Y is set for each equipmentiThere are readings from P different or partially identical sensors at T time points; the sensor readings in the same time period form a profile data; the goal of the prediction problem is to learn the mathematical mapping from the observed variable Y to the implied variable X;
basis function expansion of multi-channel profile data: the main method for converting the original discrete data into the smooth function is to use the linear combination of the known basis functions to represent each function, and assume that N independent and identically distributed multi-channel contour samples are provided; each sample containing the P-channel profile is a square integrable random process, denoted as Yi(t),{i=1,2,…,N}
Figure FDA0003261137300000011
Definition of X ═ X1,...,xK]′∈RK×T,{xkK is the decomposition matrix (non observable state variables) for the ith sample, where x is 1kIs a T-dimensional row vector;
then let there be a set of K basis functions C ═ C1,c2,...,cK]1, …, K, where c is a P-dimensional column vector;
then the basis function for the ith sample is expanded as:
Figure FDA0003261137300000021
the matrix is expressed in the form of
Figure FDA0003261137300000022
3. The method of claim 2, wherein the method comprises: the method for establishing the state space model in the step (2) comprises the following steps:
constructing a new Functional State Space Model (FSSM) based on the extension of the basis function obtained in the step (1):
Figure FDA0003261137300000023
wherein
Figure FDA0003261137300000024
ω∈RK×T;C=[c1,c2,...,cK]K1, …, K is a combination of K basis functions, i 1,2, N is the sample number, j 1, P is the profile of the jth channel, T1, T represents the data at the time of the tth sample, ei~N(0,R),R∈RP×TIs the error matrix of the observed quantity, omegai~N(0,Q),Q∈RK×TIs the error matrix of the system;
y in the equationi(t) is the profile data of the ith sample, Xi(t) is the hidden state matrix of the sample that is not observable, and the parameter set to be estimated is Θ ═ a, Q, R, epsilonii]。
4. The method of claim 3, wherein the method comprises: the state space equation evaluation method in the step (3) comprises the following steps: for a function state space model, an EM algorithm and Kalman filtering are combined, two steps in an evaluation algorithm are respectively realized, and the method comprises an E step and an M step, wherein the E step is to realize the estimation of the expectation of a state X by utilizing the Kalman filtering and the Kalman smoothing algorithm, and the M step is to realize the estimation of parameters and noise covariance by maximizing the expectation of a log-likelihood function;
a state space set is established for each single channel as follows:
Figure FDA0003261137300000031
wherein, yi,j={yi,1,yi,2,…,yi,PThe j channel profile data of the ith sample is obtained, and the total number of the j channel profile data is P;
xi,j(t)={x1,x2,…,xNthe j contour of the ith sample is an observable state vector, and the total number of the observable state vectors is N;
p is an observed variable yi,jK is the state variable xi,jDimension (d);
q is the system noise omegai,jIs the observation noise epsiloni,jThe covariance matrix of (2).
5. The method of claim 4, wherein the method comprises: the step E is as follows: assume that the initial state is θ0={A0,R,Q,x0,j,V0,jThe state space parameter to be estimated is Θ ═ a, Q, R, epsilonii];
The assumed model is shown as formula (5), εi,jAnd ωi,jObey the gaussian distribution, the following relationships exist:
Figure FDA0003261137300000032
Figure FDA0003261137300000033
yi,jthe j-th channel profile data for the i-th sample has a length of N, i.e. { y }1,y2,…,yN};
xi,j(t) is the non-observable state vector for the jth profile of the ith sample, which is also N in length, i.e. { x }1,x2,…,xN};
Q is system noise omegai,jCovariance matrix, R is the observation noise εi,jA covariance matrix;
according to the characteristics of the Markov process, there is the following relationship:
Figure FDA0003261137300000041
setting the probability density function of the initial state as:
Figure FDA0003261137300000042
the corresponding log-likelihood function is then:
Figure FDA0003261137300000043
in step E, the expectation of the log-likelihood function needs to be calculated, namely:
Q=E[lnP({x},{y})|{y}] (11)
continuously iterating and maximizing the expectation of the log-likelihood function as a function of theta until convergence;
this process decomposes into computing E [ x ]i,j|{y}],E[xi,jxi,j|{y}]E[xi,jxi-1,j|{y}];
Is defined as follows:
Figure FDA0003261137300000044
Pi,j=E[xi,jx′i,j|{y}],P(i,i-1),j=E[xi,jx′i-1,j|{y}];
calculating the above expectation by Kalman Filter method
Figure FDA00032611373000000414
Pi,j=E[xi,jx′i,j|{y}],P(i,i-1),j=E[xi,jx′i-1,j|{y}]Obtaining:
Figure FDA0003261137300000046
Figure FDA0003261137300000047
Figure FDA0003261137300000048
Figure FDA0003261137300000049
Figure FDA00032611373000000410
wherein,
Figure FDA00032611373000000411
a is a state transition matrix, and C is an observation matrix;
as can be obtained by the above calculation,
Figure FDA00032611373000000412
and Pi,jI.e. by
Figure FDA00032611373000000413
Pi,jObtained by means of a kalman smoothing method:
Figure FDA0003261137300000051
Figure FDA0003261137300000052
Figure FDA0003261137300000053
substituting the 3 expected estimated values obtained by calculation, and maximizing a log-likelihood function to obtain parameter estimation and noise covariance estimation;
observation noise covariance matrix R:
Figure FDA0003261137300000054
to obtain
Figure FDA0003261137300000055
For state transition matrix A:
Figure FDA0003261137300000056
to obtain
Figure FDA0003261137300000057
For the process noise covariance matrix Q:
Figure FDA0003261137300000058
to obtain
Figure FDA0003261137300000059
Initial state estimate pi1
Figure FDA00032611373000000510
Then the
Figure FDA00032611373000000511
Initial state covariance V1,j
Figure FDA0003261137300000061
Namely:
Figure FDA0003261137300000062
6. the method of claim 6, wherein the method comprises: the M steps are as follows: the steps for obtaining the maximum likelihood estimate using the EM algorithm are as follows:
first, setting an initial value θ0={A0,R,Q,x0,j,V0,jAnd x is obtained using formulae (20) to (24)k,jAnd Vk,jAn estimated value of (d); then three conditional expectations were obtained
Figure FDA0003261137300000063
Pi,j=E[xi,jx′i,j|{y}]And P(i,i-1),j=E[xi, jx′i-1,j|{y}];
Secondly, calculating a condition expected value shown in a formula;
thirdly, maximizing the conditional expectation value of the log-likelihood function and obtaining A, R, Q and x by using formulas (20) to (24)0.j,V0,jAn estimated value of (d);
and step four, substituting the parameters obtained in the step three into the step one, and repeating the process until the log-likelihood function converges or reaches the set times.
CN202111073156.9A 2021-09-14 2021-09-14 Complex manufacturing process modeling and predicting method based on functional state space model Active CN113742936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111073156.9A CN113742936B (en) 2021-09-14 2021-09-14 Complex manufacturing process modeling and predicting method based on functional state space model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111073156.9A CN113742936B (en) 2021-09-14 2021-09-14 Complex manufacturing process modeling and predicting method based on functional state space model

Publications (2)

Publication Number Publication Date
CN113742936A true CN113742936A (en) 2021-12-03
CN113742936B CN113742936B (en) 2024-04-30

Family

ID=78738605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111073156.9A Active CN113742936B (en) 2021-09-14 2021-09-14 Complex manufacturing process modeling and predicting method based on functional state space model

Country Status (1)

Country Link
CN (1) CN113742936B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172135A (en) * 2023-11-02 2023-12-05 山东省科霖检测有限公司 Intelligent noise monitoring management method and system
CN117291445A (en) * 2023-11-27 2023-12-26 国网安徽省电力有限公司电力科学研究院 Multi-target prediction method based on state transition under comprehensive energy system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110054863A1 (en) * 2009-09-03 2011-03-03 Adaptics, Inc. Method and system for empirical modeling of time-varying, parameter-varying, and nonlinear systems via iterative linear subspace computation
US20140278303A1 (en) * 2013-03-15 2014-09-18 Wallace LARIMORE Method and system of dynamic model identification for monitoring and control of dynamic machines with variable structure or variable operation conditions
JP2015052491A (en) * 2013-09-06 2015-03-19 沖電気工業株式会社 Signal processing apparatus, signal processing method and computer program
KR101907589B1 (en) * 2018-01-22 2018-10-12 연세대학교 산학협력단 Structural system identification using extended kalman filter and genetic algorithm
CN112507611A (en) * 2020-11-24 2021-03-16 华南理工大学 Reactor state transition probability real-time estimation method based on ensemble learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110054863A1 (en) * 2009-09-03 2011-03-03 Adaptics, Inc. Method and system for empirical modeling of time-varying, parameter-varying, and nonlinear systems via iterative linear subspace computation
US20140278303A1 (en) * 2013-03-15 2014-09-18 Wallace LARIMORE Method and system of dynamic model identification for monitoring and control of dynamic machines with variable structure or variable operation conditions
JP2015052491A (en) * 2013-09-06 2015-03-19 沖電気工業株式会社 Signal processing apparatus, signal processing method and computer program
KR101907589B1 (en) * 2018-01-22 2018-10-12 연세대학교 산학협력단 Structural system identification using extended kalman filter and genetic algorithm
CN112507611A (en) * 2020-11-24 2021-03-16 华南理工大学 Reactor state transition probability real-time estimation method based on ensemble learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
金亮;王飞;杨庆新;汪冬梅;寇晓斐;: "永磁同步电机性能分析的典型深度学习模型与训练方法", 电工技术学报, no. 1 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172135A (en) * 2023-11-02 2023-12-05 山东省科霖检测有限公司 Intelligent noise monitoring management method and system
CN117172135B (en) * 2023-11-02 2024-02-06 山东省科霖检测有限公司 Intelligent noise monitoring management method and system
CN117291445A (en) * 2023-11-27 2023-12-26 国网安徽省电力有限公司电力科学研究院 Multi-target prediction method based on state transition under comprehensive energy system
CN117291445B (en) * 2023-11-27 2024-02-13 国网安徽省电力有限公司电力科学研究院 Multi-target prediction method based on state transition under comprehensive energy system

Also Published As

Publication number Publication date
CN113742936B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
He et al. A generic energy prediction model of machine tools using deep learning algorithms
Cheng et al. Intelligent tool wear monitoring and multi-step prediction based on deep learning model
Wang et al. Random forest-bayesian optimization for product quality prediction with large-scale dimensions in process industrial cyber–physical systems
CN113742936A (en) Complex manufacturing process modeling and predicting method based on functional state space model
Li et al. Deep spatial-temporal feature extraction and lightweight feature fusion for tool condition monitoring
Ma et al. A novel hierarchical detection and isolation framework for quality-related multiple faults in large-scale processes
CN107423503B (en) Method for predicting butane concentration at bottom of debutanizer by Gaussian process regression modeling based on nuclear slow characteristic analysis and time-lag estimation
Fujiwara et al. Development of correlation-based pattern recognition algorithm and adaptive soft-sensor design
CN110377942B (en) Multi-model space-time modeling method based on finite Gaussian mixture model
Niu et al. Remaining useful life prediction of machining tools by 1D-CNN LSTM network
Niaki et al. A hybrid method of artificial neural networks and simulated annealing in monitoring auto-correlated multi-attribute processes
Yongxiang et al. A data-driven prognostics approach for RUL based on principle component and instance learning
Dong et al. Quality monitoring and root cause diagnosis for industrial processes based on Lasso-SAE-CCA
Hao et al. Pyramid LSTM auto-encoder for tool wear monitoring
Dong et al. A simple approach to multivariate monitoring of production processes with non-Gaussian data
Liu et al. An accurate prediction method of multiple deterioration forms of tool based on multitask learning with low rank tensor constraint
Lara de Leon et al. Tool condition monitoring methods applicable in the metalworking process
CN116821828A (en) Multi-dimensional time sequence prediction method based on industrial data
CN115062764B (en) Intelligent illuminance adjustment and environmental parameter Internet of things big data system
CN111324852B (en) Method of CSTR reactor time delay system based on state filtering and parameter estimation
Gonzalez et al. Time series modelling of a radial-axial ring rolling system
CN114527731A (en) Industrial process running state evaluation method based on supervision probability slow characteristic analysis
Serra et al. Fuzzy instrumental variable approach for nonlinear discrete-time systems identification in a noisy environment
Hu et al. Research on quality fluctuation evaluation based on state information network entropy in intelligent manufacturing process
Ogunniran et al. A review of change point estimation methods for process monitoring

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