REAL-TIME PREDICTION AND REGULATION METHODS AND SYSTEMS OF PRODUCT QUALITY BASED ON PROCESS DYNAMIC PATTERN

Information

  • Patent Application
  • 20240028016
  • Publication Number
    20240028016
  • Date Filed
    February 06, 2023
    a year ago
  • Date Published
    January 25, 2024
    4 months ago
Abstract
The invention provides real-time prediction and regulation methods and systems of product quality based on a process dynamic pattern. The prediction method includes: constructing a state space probability model of quality pattern dynamic motion equation; calculating a probability density function distribution of a quality pattern according to the probability model; performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality-pattern dynamic motion equation; and performing online prediction on product quality indicators based on the optimized state space probability model. The invention can implement online prediction of product quality, and perform online regulation on product quality by using the analytical relationship between the control input and the quality pattern, to ensure that the product quality remains at an optimal level.
Description
FIELD OF THE INVENTION

The present invention belongs to the field of product quality management and control technologies, and specifically to real-time prediction and regulation methods and systems of product quality based on a process dynamic pattern.


DESCRIPTION OF THE RELATED ART

To vigorously develop industry, Germany has proposed “Industry 4.0” and China has proposed the strategy of “Made in China 2025”, clearly proposing to adhere to the unity of intelligent manufacturing and improving product quality. In the context of rapid global development and high-speed competition, product quality determines the life of products and is directly related to the comprehensive economic benefits of factories. High-level product quality has become the foundation of enterprises in foreign markets and the basis of development.


In actual production, real-time access to product quality helps production personnel to adjust process variables in time and better control production processes to ensure product quality. However, since product quality cannot be detected online, it is often necessary to predict product quality by modeling. Currently, modeling methods mainly include mechanistic modeling and data-driven modeling. A mechanistic model can reflect the dynamic characteristic relationship between product quality and process variables in industrial processes well and has strong interpretability. However, mechanistic modeling is costly and difficult, it is difficult to guarantee accuracy and reliability, and there are often problems such as low model accuracy and easy mismatch. Data-driven models do not need to focus on the inner mechanism of processes, have strong applicability, and can better reflect changes in product quality in actual processes. However, existing data-driven models are inadequate to portray the dynamic change characteristics of product quality and the stochastic characteristics of processes, are only applicable to open-loop systems, and cannot consider the influence of control inputs on changes in product quality.


SUMMARY OF THE INVENTION

Embodiments of the present invention provide real-time prediction and regulation methods and systems of product quality based on a process dynamic pattern, to resolve the problem in the prior art that existing data-driven models are inadequate to portray the dynamic change characteristics of product quality and the stochastic characteristics of processes, are only applicable to open-loop systems, and cannot consider the influence of control inputs on changes in product quality.


Embodiments of the present invention provide a real-time prediction method of product quality based on a process dynamic pattern. The method includes:

    • S1: constructing a state space probability model of quality pattern dynamic motion equation;
    • S2: calculating a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation;
    • S3: performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation; and
    • S4: performing online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation, where the performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation specifically includes the following steps:
    • S31: calculating an expectation of a maximum likelihood function according to a probability density function distribution of the quality pattern in a Gaussian distribution;
    • S32: calculating the optimal model parameters by using an expectation maximum likelihood algorithm; and
    • S33: introducing the optimal model parameters into the constructed state space probability model of quality pattern dynamic motion equation, to obtain the optimized state space probability model of quality pattern dynamic motion equation.


Preferably, the state space probability model of quality pattern dynamic motion equation constructed in step S1 is a linear time-invariant system or a nonlinear time-variant system.


Preferably, a method for constructing a state space probability model of quality mode dynamic motion equation in step S1 includes:

    • establishing an analytical relationship between the process pattern and the control input, a static mapping relationship between the process pattern and the process variables, and a static mapping relationship between product quality and the process pattern by using a temporal dynamic relationship of the process pattern, to obtain the state space probability model of quality pattern dynamic motion equation, specifically denoted as follows:






t
k
=At
k−1
+Bu
k−1
+w
k,






x
k
=Qt
k
+e
k, and






y
k
=Ct
kk,


where tk is the process pattern, xk is the process variable, yk is the product quality, uk is the control input, A, B, Q, and C are the model parameters requiring optimized learning, wk, ek, and εk denote noise, and k=0, 1, 2, . . . , N, denoting different sampling moments.


Preferably, a type of the noise wk, ek, and εk in the state space probability model of quality pattern dynamic motion equation is selected from independent and identically distributed Gaussian noise, Poisson noise, multiplicative noise, salt-and-pepper noise, and gamma distribution noise.


Preferably, the calculating a probability density function distribution of a quality pattern in step S2 specifically includes the following steps:

    • S21: setting a probability density function distribution of an initial process pattern t0 to:








p

(

t
0

)

=


1


det

(

2

π


H
0


)



×
exp


{


-

1
2





(


t
0

-

h
0


)

T




H
0

-
1


(


t
0

-

h
0


)


}



;






    • S22: calculating a conditional probability density function of the quality pattern by using a transform property of the Gaussian distribution, that is:











p

(



t
k



t

k
-
1



,

u

k
-
1



)

=


1


det

(

2

π


Φ
w


)



×
exp


{


-

1
2





(


t
k

-

At

k
-
1


-

Bu

k
-
1



)

T




Φ
w

-
1


(


t
k

-

At

k
-
1


-

Bu

k
-
1



)


}



,











p

(


x
k



t
k


)

=


1


det

(

2

π


Φ
e


)



×
exp


{


-

1
2





(


x
k

-

Qt
k


)

T




Φ
e

-
1


(


x
k

-

Qt
k


)


}



,
and







p

(


y
k



t
k


)

=


1


det

(

2

π


Φ
ε


)



×
exp


{


-

1
2





(


y
k

-

Ct
k


)

T




Φ
ε

-
1


(


y
k

-

Ct
k


)


}



,








    • where h0 is a mean value of the Gaussian distribution, H0 is a variance of the Gaussian distribution, tk is the process pattern, xk is a process variable, yk is product quality, uk is a control input, A, B, Q, and C are the model parameters requiring optimized learning, wk, ek, and εk denote noises, independent and identically distributed Gaussian noises with a mean value being zero and variances being respectively Φw, Φe, and ΦE are chosen here, and k=0, 1, 2, . . . , N, denoting different sampling moments.





Preferably, a method of the optimized learning in step S3 is selected from an expectation maximum likelihood algorithm, a genetic algorithm, a particle swarm optimization algorithm, a simulated annealing algorithm, a greedy algorithm, and a neighborhood search algorithm.


Preferably, a method for performing online prediction on product quality indicators in step S4 is selected from a Kalman filter method, an iterative least squares method, a maximum a posteriori estimation method, a polynomial interpolation method, and a finite impulse response method.


Preferably, the performing online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation in step S4 specifically includes the following steps:

    • S41: designing a real-time prediction method of the product quality indicators, where the online prediction of the product quality indicators includes:






p(tknew|x0:knew,u0:knew)=N(ĝkk),






ĝ
k
=A
new
g

k−1

{circumflex over ( )}
+B
new
u
k−1
new
+{circumflex over (K)}[x
k
new
−Q
new(Anewgk−1{circumflex over ( )}+Bnewuk−1new)],






Ĝ
k=(I−{circumflex over (K)}Qnew)(AnewĜk−1AnewTwnew),






{circumflex over (K)}=(AnewĜk−1AnewTw)QnewT[Qnew(AnewGk−1AnewTwnew)QnewTenew]−1,






ĝ
0
=h
0
new
+H
0
new
Q
newT(QnewH0newQnewTenew)−1(x0new−Qnewh0new), and






Ĝ
0
=H
0
new
−H
0
new
Q
newT(QnewH0newQnewTenew)−1QnewH0new; and

    • S42: performing the online prediction on the product quality indicators, where online predicted values of the product quality indicators are:






y
k
new
=C
new
t
k
new,


where h0new is an optimized mean value of the Gaussian distribution, H0new is an optimized variance of the Gaussian distribution, tknew is an optimized process pattern, xknew is an optimized process variable, uknew is an optimized control input, Anew, Bnew, Qnew, and Cnew are the optimized model parameters, Φwnew, Φenew, and Φεnew, are optimized variances of Gaussian noises wk, ek, and εk, gk is a mean value of tknew, Gk is a variance of tknew, K is a filter gain, I is an identity matrix, and k=0, 1, 2, . . . , N, denoting different sampling moments.


The embodiments of the present invention further provide an online regulation method of product quality based on a process dynamic pattern. The method includes the real-time prediction method of product quality based on a process dynamic pattern, and performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation.


Preferably, any one of pattern feedback control, PID control, fuzzy control, adaptive control, prediction control, and robust control is used in the online regulation method.


Preferably, the performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation specifically includes the following steps:

    • step 1: calculating an optimal reference input r(ykopt) according to expected product quality indicators;
    • step 2: designing a quality pattern control strategy as follows:






u
k
new
=
custom-character
t
k
new
+r(ykopt);

    • step 3: introducing the quality pattern control strategy into the optimized state space probability model of quality pattern dynamic motion equation, to obtain a closed-loop motion equation of a process pattern:






t
k
new=(Anew+Bnewcustom-character)tk−1new+Bnewr(yk−1opt)+wknew; and

    • step 4: calculating a control strategy gain custom-character ensuring that the closed-loop motion equation is stable, to implement online regulation of product quality indicators, where r(ykopt) is the optimal reference input, tknew is an optimized process pattern, uknew is an optimized control input, Anew and Bnew are optimized model parameters, custom-character is the control strategy gain, wknew is optimized Gaussian noise, and k=0, 1, 2, . . . N, denoting different sampling moments.


The embodiments of the present invention provide a real-time prediction system of product quality based on a process dynamic pattern. The system includes:

    • a motion equation construction module, configured to construct a state space probability model of quality pattern dynamic motion equation;
    • an optimized learning module, configured to calculate a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation; and perform optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation; and
    • an online prediction module, configured to perform online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation.


Compared with the prior art, the present invention has the following beneficial effects:


Embodiments of the present invention provide real-time prediction and regulation methods and systems of product quality based on a process dynamic pattern. In the present invention, by means of a Bayesian network, a quality pattern dynamic online prediction method under supervised learning is proposed from the perspective of probability, and a probability dynamic timing motion equation between a quality pattern and process variables and control inputs is established, so that online prediction of product quality can be implemented, and online regulation can be performed on the product quality by using an analytical relationship between the control input and the quality pattern, to ensure that the product quality remains at an optimal level.





BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the accompanying drawings that need to be used in the embodiments are briefly described below. The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. A person of ordinary skill in the art can obtain other accompanying drawings without creative efforts based on these accompanying drawings. Where:



FIG. 1 is a flowchart of a real-time prediction method of product quality based on a process dynamic pattern according to an embodiment of the present invention;



FIG. 2 is a diagram of errors in quality prediction according to an embodiment of the present invention;



FIG. 3 is a diagram of errors in quality control according to an embodiment of the present invention; and



FIG. 4 is a block diagram of a real-time prediction system of product quality based on a process dynamic pattern according to an embodiment of the present invention;





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in embodiments of the present invention with reference to the accompanying drawings in embodiments of the present invention. Apparently, the described embodiments are some rather than all of the embodiments of the present invention.


All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.


Embodiment 1

As shown in FIG. 1, a real-time prediction method of product quality based on a process dynamic pattern provided in embodiments of the present invention includes the following steps.

    • S101: Construct a state space probability model of quality pattern dynamic motion equation.
    • S102: Calculate a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation.
    • S103: Perform optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation.
    • S104: Perform online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation.


The performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation specifically includes the following steps.

    • S1031: Calculate an expectation of a maximum likelihood function according to a probability density function distribution of the quality pattern in a Gaussian distribution.
    • S1032: Calculate the optimal model parameters by using an expectation maximum likelihood algorithm.
    • S1033: Introduce the optimal model parameters into the constructed state space probability model of quality pattern dynamic motion equation, to obtain the optimized state space probability model of quality pattern dynamic motion equation.


The present invention constructs a probability dynamic timing motion equation between a quality pattern and process variables and control inputs, can implement online prediction of product quality, and can perform online regulation on the product quality by using an analytical relationship between the control input and the quality pattern, to ensure that the product quality remains at an optimal level.


Further, the state space probability model of quality pattern dynamic motion equation constructed in step S101 is a linear time-invariant system or a nonlinear time-variant system.


A method for constructing a state space probability model of quality pattern dynamic motion equation in step S101 is:

    • establishing an analytical relationship between the process pattern and the control input, a static mapping relationship between the process pattern and the process variables, and a static mapping relationship between product quality and the process pattern by using a temporal dynamic relationship of the process pattern, to obtain the state space probability model of quality pattern dynamic motion equation, specifically denoted as follows:






t
k
=At
k−1
+Bu
k−1
+w
k,






x
k
=Qt
k
+e
k, and






y
k
=Ct
kk,

    • where tk is the process pattern, xk is the process variable, y is the product quality, uk is the control input, A, B, Q, and C are the model parameters requiring optimized learning, wk, ek, and εk denote noise, and k=0, 1, 2, . . . , N, denoting different sampling moments.


A type of the noise wk, ek, and εk in the state space probability model of quality pattern dynamic motion equation is selected from independent and identically distributed Gaussian noise, Poisson noise, multiplicative noise, salt-and-pepper noise, and gamma distribution noise.


Further, the calculating a probability density function distribution of a quality pattern in step S102 specifically includes the following steps.

    • S1021: Set a probability density function distribution of an initial process pattern t0 to:







p

(

t
0

)

=


1


det

(

2

π


H
0


)



×
exp



{


-

1
2





(


t
0

-

h
0


)

T




H
0

-
1


(


t
0

-

h
0


)


}

.








    • S1022: Calculate a conditional probability density function of the quality pattern by using a transform property of the Gaussian distribution, that is:











p

(



t
k



t

k
-
1



,

u

k
-
1



)

=


1


det

(

2

π


Φ
w


)



×
exp


{


-

1
2





(


t
k

-

At

k
-
1


-

Bu

k
-
1



)

T




Φ
w

-
1


(


t
k

-

At

k
-
1


-

Bu

k
-
1



)


}



,











p

(


x
k



t
k


)

=


1


det

(

2

π


Φ
e


)



×
exp


{


-

1
2





(


x
k

-

Qt
k


)

T




Φ
e

-
1


(


x
k

-

Qt
k


)


}



,
and







p

(


y
k



t
k


)

=


1


det

(

2

π


Φ
ε


)



×
exp


{


-

1
2





(


y
k

-

Ct
k


)

T




Φ
ε

-
1


(


y
k

-

Ct
k


)


}



,








    • where h0 is a mean value of the Gaussian distribution, H0 is a variance of the Gaussian distribution, tk is the process pattern, xk is a process variable, y is product quality, uk is a control input, A, B, Q, and C are the model parameters requiring optimized learning, wk, ek, and εk denote noises, independent and identically distributed Gaussian noises with a mean value being zero and variances being respectively OW, Φe, and ΦE are chosen here, and k=0, 1, 2, . . . , N, denoting different sampling moments.





Further, a method of the optimized learning in step S103 is selected from an expectation maximum likelihood algorithm, a genetic algorithm, a particle swarm optimization algorithm, a simulated annealing algorithm, a greedy algorithm, and a neighborhood search algorithm.


The performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation in step S103 specifically includes the following steps.

    • S1031: Calculate an expectation of a maximum likelihood function according to a conditional probability density function of the quality pattern in a Gaussian distribution, that is:







E
[

ln


p

(


x

0
:
N


,

y

0
:
N


,

u

0
:
N


,

t

0
:
N



)


]

=


-

1
2




{


ln




"\[LeftBracketingBar]"


H
0



"\[RightBracketingBar]"



+

E

(


t
0
T



H
0

-
1




t
0


)

-













E

(

t
0
T

)



H
0

-
1




h
0


-


h
0
T



H
0

-
1




E

(

t
0

)


+


h
0
T



H
0

-
1




h
0



}

-


1
2



{



(

N
+
1

)


ln




"\[LeftBracketingBar]"


Φ
e



"\[RightBracketingBar]"



+














k
=
0

N


[



x
k
T



Φ
e

-
1




x
k


-


x
k
T



Φ
e

-
1




QE

(

t
k

)


-


E

(

t
k
T

)



Q
T



Φ
e

-
1




x
k


+

E

(


t
k
T



Q
T



Φ
e

-
1




Qt
k


)


]


}

-







1
2



{



(

N
+
1

)


ln




"\[LeftBracketingBar]"


Φ
ε



"\[RightBracketingBar]"



+




k
=
0

N


[



y
k
T



Φ
ε

-
1




y
k


-


y
k
T



Φ
ε

-
1




CE

(

t
k

)


-


E

(

t
k
T

)



C
T



Φ
ε

-
1




y
k


+














E

(


t
k
T



C
T



Φ
ε

-
1




C
k


)

]

}

-


1
2



{


N

ln




"\[LeftBracketingBar]"


Φ
w



"\[RightBracketingBar]"



+




k
=
1

N


[


E

(


t
k
T



Φ
w

-
1




t
k


)

-













E

(


t
k
T



Φ
w

-
1




At

k
-
1



)

-


E

(

t
k
T

)



Φ
w

-
1




Bu

k
-
1



-

E

(


t

k
-
1

T



A
T



Φ
w

-
1




t
k


)

+







E

(


t

k
-
1

T



A
T



Φ
w

-
1




At

k
-
1



)

+


E

(

t

k
-
1

T

)



A
T



Φ
w

-
1




Bu

k
-
1



-


u

k
-
1

T



B
T



Φ
w

-
1




E

(

t
k

)


+











u

k
-
1

T



B
T



Φ
w

-
1




AE

(

t

k
-
1


)


+


u

k
-
1

T



B
T



Φ
w

-
1




Bu

k
-
1




]

}

-


1
2



(

N
+
1

)



(

m
+
n
+
f

)



ln

(

2

π

)








    • S1032: Calculate the optimal model parameters by using an expectation maximum likelihood algorithm, that is:













h
0
new

=

E

(

t
0

)


,




H
0
new

=


E

(


t
0



t
0
T


)

-


E

(

t
0

)



E

(

t
0
T

)




,




A
new

=









k
=
1

N

[


E

(


t
k



t

k
-
1

T


)

-


Bu

k
-
1




E

(

t

k
-
1

T

)



]

[







k
=
1

N



E

(


t

k
-
1




t

k
-
1

T


)


]


-
1



,




B
new

=









k
=
1

N

[



E

(

t
k

)



u

k
-
1

T


-


AE

(

t

k
-
1


)



u

k
-
1

T



]

[







k
=
1

N



u

k
-
1




u

k
-
1

T


]


-
1



,




Q
new

=









k
=
0

N

[


x
k



E

(

t
k
T

)


]

[







k
=
0

N



E

(


t
k



t
k
T


)


]


-
1



,




C
new

=









k
=
0

N

[


y
k



E

(

t
k
T

)


]

[







k
=
0

N



E

(


t
k



t
k
T


)


]


-
1



,









Φ
w
new

=


1
N









k
=
1

N

[


E

(


t
k



t
k
T


)

+


AE

(


T

k
-
1




t

k
-
1

T


)



A
T


+


Bu

k
-
1




u

k
-
1

T



B
T


-


E

(


t
k



t

k
-
1

T


)



A
T


-

AE

(


t

k
-
1




t
k
T


)

-


E

(

t
k

)



u

k
-
1

T



B
T


-


Bu

k
-
1




E

(

t
k
T

)


+


AE

(

t

k
-
1


)



u

k
-
1

T



B
T


+


Bu

k
-
1




E

(

t

k
-
1

T

)



A
T



]



,











Φ
e
new

=


1

N
+
1










k
=
0

N

[



x
k



x
k
T


-


QE

(

t
k

)



x
k
T


-


x
k



E

(

t
k
T

)



Q
T


+


QE

(


t
k



t
k
T


)



Q
T



]



,


and






Φ
ε
new

=


1

N
+
1











k
=
0

N

[



y
k



y
k
T


-


CE

(

t
k

)



y
k
T


-


y
k



E

(

t
k
T

)



C
T


+


CE

(


t
k



t
k
T


)



C
T



]

.










    • S1033: Introduce the optimal model parameters into the constructed state space probability model of quality pattern dynamic motion equation, to obtain the optimized state space probability model of quality pattern dynamic motion equation.

    • where h0 is a mean value of the Gaussian distribution, H0 is a variance of the Gaussian distribution, tk is the process pattern, xk is a process variable, yk is product quality, uk is a control input, A, B, Q, and C are the model parameters requiring optimized learning, Φw, Φe, and ΦE are respectively variances of Gaussian noise wk, ek, and εk, and k=0, 1, 2, . . . , N, denoting different sampling moments. N is a learning duration, n is a quantity of process variables, m is a quantity of process patterns, f is a quantity of product quality, h0new is an optimized mean value of the Gaussian distribution, H0new is an optimized variance of the Gaussian distribution, Anew, Bnew, Qnew, and Cnew are the optimized model parameters, and Φwnew, Φwnew, and Φεnew are optimized variances of Gaussian noise.





Further, it is designed that a method for performing real-time prediction on product quality indicators in step S104 is any one of a Kalman filter method, an iterative least squares method, a maximum a posteriori estimation method, a polynomial interpolation method, and a finite impulse response method.


The performing online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation in step S104 specifically includes the following steps.

    • S1041: Design a real-time prediction method of the product quality indicators, where the online prediction of the product quality indicators includes:






p(tknew|x0:knew,u0:knew)=N(ĝkk),






ĝ
k
=A
new
g

k−1

{circumflex over ( )}
+B
new
u
k−1
new
+{circumflex over (K)}[x
k
new
−Q
new(Anewgk−1{circumflex over ( )}+Bnewuk−1new)],






Ĝ
k=(I−{circumflex over (K)}Qnew)(AnewĜk−1AnewTwnew),






{circumflex over (K)}=(AnewĜk−1AnewTw)QnewT[Qnew(AnewGk−1AnewTwnew)QnewTenew]−1,






ĝ
0
=h
0
new
+H
0
new
Q
newT(QnewH0newQnewTenew)−1(x0new−Qnewh0new), and






Ĝ
0
=H
0
new
−H
0
new
Q
newT(QnewH0newQnewTenew)−1QnewH0new; and

    • S1042: Perform the online prediction on the product quality indicators, where online predicted values of the product quality indicators are:






y
k
new
=C
new
t
k
new,

    • where h0new is an optimized mean value of the Gaussian distribution, H0new is an optimized variance of the Gaussian distribution, tknew is an optimized process pattern, xknew is an optimized process variable, uknew is an optimized control input, Anew, Bnew, Qnew, and Cnew are the optimized model parameters, Φwnew, Φwnew, and Φεnew are optimized variances of Gaussian noises wk, ek, and εk, gk is a mean value of tknew, Gk is a variance of tknew, K is a filter gain, I is an identity matrix, and k=0, 1, 2, . . . , N, denoting different sampling moments.


A diagram of prediction errors of product quality may be obtained through computer simulation, as shown in FIG. 2.


Embodiment 2

The embodiments of the present invention provide an online regulation method of product quality based on a process dynamic pattern. The method includes the foregoing real-time prediction method of product quality based on a process dynamic pattern, and performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation.


Further, any one of pattern feedback control, PID control, fuzzy control, adaptive control, prediction control, and robust control is used in the online regulation method.


Further, the performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation specifically includes the following steps:

    • Step 1: Calculate an optimal reference input r(ykopt) according to expected product quality indicators.
    • Step 2: Design a quality pattern control strategy as follows:






u
k
new
=
custom-character
t
k
new
+r(ykopt);

    • Step 3: Introduce the quality pattern control strategy into the optimized state space probability model of quality pattern dynamic motion equation, to obtain a closed-loop motion equation of a process pattern:






t
k
new=(Anew+Bnewcustom-character)tk−1new+Bnewr(yk−1opt)+wknew

    • Step 4: Calculate a control strategy gain custom-character ensuring that the closed-loop motion equation is stable, to implement online regulation of product quality indicators, where r(ykopt) is the optimal reference input, tknew is an optimized process pattern, uknew is an optimized control input, Anew and Bnew are optimized model parameters, custom-character is the control strategy gain, wknew is optimized Gaussian noise, and k=0, 1, 2, . . . , N, denoting different sampling moments.


A diagram of control errors of product quality may be obtained through computer simulation, as shown in FIG. 3.


Embodiment 3

The embodiments of the present invention provide a real-time prediction system of product quality based on a process dynamic pattern. As shown in FIG. 4, the system includes:

    • a motion equation construction module 401, configured to construct a state space probability model of quality pattern dynamic motion equation;
    • an optimized learning module 402, configured to calculate a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation; and perform optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation; and
    • an online prediction module 403, configured to perform online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation.


The system is configured to implement the real-time prediction method of product quality based on a process dynamic pattern in Embodiment 1 above. To avoid redundancy, details are not described again herein.


It should be noted that, the above description only provides preferred embodiments of the present invention and the employed technical principles. It should be appreciated by those skilled in the art that the present invention is not limited to the particular embodiments described herein. Those skilled in the art may make various obvious changes, readjustments, and replacements without departing from the scope of protection of the present invention. Therefore, while the present invention is illustrated in detail in combination with the above embodiments, the present invention is not only limited to the above embodiments, and can further include more other equivalent embodiments without departing from the concept of the present invention.


The scope of the present invention is defined by the scope of the appended claims.


A person skilled in the art should understand that the embodiments of the present application may be provided as a method, a system or a computer program product.


Therefore, the present application may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware. Moreover, the present application may use a form of a computer program product that is implemented on one or more computer-usable storage media (including but not limited to a disk memory, a CD-ROM, an optical memory, and the like) that include computer usable program code.


The present application is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to the embodiments of the present application. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.


These computer program instructions may be stored in a computer readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.


These computer program instructions may be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or the another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.


Obviously, the foregoing embodiments are merely examples for clear description, rather than a limitation to implementations. For a person of ordinary skill in the art, other changes or variations in different forms may also be made based on the foregoing description. All implementations cannot and do not need to be exhaustively listed herein. Obvious changes or variations that are derived there from still fall within the protection scope of the invention of the present invention.

Claims
  • 1. A real-time prediction method of product quality based on a process dynamic pattern, comprising: S1: constructing a state space probability model of quality pattern dynamic motion equation;S2: calculating a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation;S3: performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation; andS4: performing online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation,wherein the performing optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation specifically comprises steps of:S31: calculating an expectation of a maximum likelihood function according to a probability density function distribution of the quality pattern in a Gaussian distribution;S32: calculating the optimal model parameters by using an expectation maximum likelihood algorithm; andS33: introducing the optimal model parameters into the constructed state space probability model of quality pattern dynamic motion equation, to obtain the optimized state space probability model of quality pattern dynamic motion equation.
  • 2. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein the state space probability model of quality pattern dynamic motion equation constructed in step S1 is a linear time-invariant system or a nonlinear time-variant system.
  • 3. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein a method for constructing a state space probability model of quality pattern dynamic motion equation in step S1 comprises: establishing an analytical relationship between the process pattern and the control input, a static mapping relationship between the process pattern and the process variables, and a static mapping relationship between product quality and the process pattern by using a temporal dynamic relationship of the process pattern, to obtain the state space probability model of quality pattern dynamic motion equation, specifically denoted as follows: tk=Atk−1+Buk−1+wk,xk=Qtk+ek, andyk=Ctk+εk,wherein tk is the process pattern, xk is the process variable, yk is the product quality, ukis the control input, A, B, Q, and C are the model parameters requiring optimized learning, wk, ek, and εk denote noise, and k=0, 1, 2, . . . , N, denoting different sampling moments.
  • 4. The real-time prediction method of product quality based on a process dynamic pattern according to claim 3, wherein a type of the noise wk, ek, and εk in the state space probability model of quality pattern dynamic motion equation is selected from independent and identically distributed Gaussian noise, Poisson noise, multiplicative noise, salt-and-pepper noise, and gamma distribution noise.
  • 5. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein the calculating a probability density function distribution of a quality pattern in step S2 specifically comprises steps of: S21: setting a probability density function distribution of an initial process pattern t0 to:
  • 6. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein a method of the optimized learning in step S3 is selected from an expectation maximum likelihood algorithm, a genetic algorithm, a particle swarm optimization algorithm, a simulated annealing algorithm, a greedy algorithm, and a neighborhood search algorithm.
  • 7. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein a method for performing online prediction on product quality indicators in step S4 is selected from a Kalman filter method, an iterative least square method, a maximum a posteriori estimation method, a polynomial interpolation method, and a finite impulse response method.
  • 8. The real-time prediction method of product quality based on a process dynamic pattern according to claim 1, wherein the performing online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation in step S4 specifically comprises steps of: S41: designing a real-time prediction method of the product quality indicators, wherein the online prediction of the product quality indicators comprises: p(tknew|x0:knew,u0:knew)=N(ĝk,Ĝk),ĝk=Anewgk−1{circumflex over ( )}+Bnewuk−1new+{circumflex over (K)}[xknew−Qnew(Anewgk−1{circumflex over ( )}+Bnewuk−1new)],Ĝk=(I−{circumflex over (K)}Qnew)(AnewĜk−1AnewT+Φwnew),{circumflex over (K)}=(AnewĜk−1AnewT+Φw)QnewT[Qnew(AnewGk−1AnewT+Φwnew)QnewT+Φenew]−1,ĝ0=h0new+H0newQnewT(QnewH0newQnewT+Φenew)−1(x0new−Qnewh0new), andĜ0=H0new−H0newQnewT(QnewH0newQnewT+Φenew)−1QnewH0new; andS42: performing the online prediction on the product quality indicators, wherein online predicted values of the product quality indicators are: yknew=Cnewtknew,wherein h0new is an optimized mean value of the Gaussian distribution, H0new is an optimized variance of the Gaussian distribution, tknew is an optimized process pattern xknew is an optimized process variable, uknew is an optimized control input, Anew, Bnew, Qnew, and Cnew are the optimized model parameters, Φwnew, Φenew, and Φεnew are optimized variances of Gaussian noises wk, ek, and εk, gk is a mean value of tknew, Gk is a variance of tknew, K is a filter gain, I is an identity matrix, and k=0, 1, 2, . . . , N, denoting different sampling moments.
  • 9. An online regulation method of product quality based on a process dynamic pattern, comprising the real-time prediction method of product quality based on a process dynamic pattern according to claim 1, and performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation.
  • 10. The online regulation method of product quality based on a process dynamic pattern according to claim 9, wherein any one of pattern feedback control, PID control, fuzzy control, adaptive control, prediction control, and robust control is used in the online regulation method.
  • 11. The online regulation method of product quality based on a process dynamic pattern according to claim 9, wherein the performing online regulation on product quality indicators based on an optimized state space probability model of quality pattern dynamic motion equation comprises steps of: step 1: calculating an optimal reference input r(ykopt) according to expected product quality indicators;step 2: designing a quality pattern control strategy as follows: uknew=tknew+r(ykopt);step 3: introducing the quality pattern control strategy into the optimized state space probability model of quality pattern dynamic motion equation, to obtain a closed-loop motion equation of a process pattern: tknew=(Anew+Bnew)tk−1new+Bnewr(yk−1opt)+wknew; andstep 4: calculating a control strategy gain ensuring that the closed-loop motion equation is stable, to implement online regulation of product quality indicators,wherein r(ykopt) is the optimal reference input, tknew is an optimized process pattern, uknew is an optimized control input, Anew and Bnew are optimized model parameters, is the control strategy gain, wknew is optimized Gaussian noise, and k=0, 1, 2, . . . , N, denoting different sampling moments.
  • 12. A real-time prediction system of product quality based on a process dynamic pattern, comprising: a motion equation construction module, configured to construct a state space probability model of quality pattern dynamic motion equation;an optimized learning module, configured to calculate a probability density function distribution of a quality pattern according to the state space probability model of quality pattern dynamic motion equation; and perform optimized learning on parameters of the state space probability model of quality pattern dynamic motion equation according to the probability density function distribution, to obtain optimal model parameters and an optimized state space probability model of quality pattern dynamic motion equation; andan online prediction module, configured to perform online prediction on product quality indicators based on the optimized state space probability model of quality pattern dynamic motion equation.
Priority Claims (1)
Number Date Country Kind
202210826869.6 Jul 2022 CN national