CN101887239A - Adaptive industrial process optimal control system and method - Google Patents

Adaptive industrial process optimal control system and method Download PDF

Info

Publication number
CN101887239A
CN101887239A CN2010102138836A CN201010213883A CN101887239A CN 101887239 A CN101887239 A CN 101887239A CN 2010102138836 A CN2010102138836 A CN 2010102138836A CN 201010213883 A CN201010213883 A CN 201010213883A CN 101887239 A CN101887239 A CN 101887239A
Authority
CN
China
Prior art keywords
variable
value
iteration
module
state variable
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.)
Pending
Application number
CN2010102138836A
Other languages
Chinese (zh)
Inventor
刘兴高
陈珑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN2010102138836A priority Critical patent/CN101887239A/en
Publication of CN101887239A publication Critical patent/CN101887239A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Complex Calculations (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention relates to an adaptive industrial process optimal control system, which comprises an intelligent detecting instrument, a DCS system and a host computer, wherein the intelligent detecting instrument is connected with an industrial process object; the industrial process object, the intelligent detecting instrument, the DCS system and the host computer are connected with one another in turn; and the host computer comprises an information acquisition module, an initialization module, a constraint conversion module, an adaptive solution module, an iterative optimization module, a convergence judgment module and a result output module. The invention also provides an adaptive industrial process optimal control method. The system and the method can accurately and stably find the optimal solution for a non-linear industrial process optimal control problem, have high optimization solution efficiency, and are the optimal control system and method having extensive applicability.

Description

A kind of adaptive industrial process optimal control system and method
Technical field
The present invention relates to industrial process optimum control field, especially a kind of adaptive industrial process optimal control system.
Background technology
Any one industrial process is said from the strict sense, all is dynamic processes, promptly describes status of processes variable (as flow, temperature, pressure, liquid level etc.) evolution in time, the transfer in space and changes.Dynamic process is described by the differential equation or difference equation, is called dynamic model.Optimum control is exactly that the performance variable in the dynamic model is implemented control, makes the performance index of process reach optimum.
Some present optimal control problem method for solving, though can find separating of industrial process optimal control problem, but the slow and instability problem of convergence often appears, also may be absorbed in local optimum, be difficult to both guarantee global optimum's property that gained is separated, make finding the solution of optimal control problem stable, quick again.
Summary of the invention
Be difficult to not only accurately but also find apace optimum solution, deficiency poor for applicability in order to overcome existing industrial process optimal control system and method, the invention provides and a kind ofly can accurately find globally optimal solution and find the solution efficient, that applicability is wide adaptive industrial process optimal control system and method.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of adaptive industrial process optimal control system, comprise the field intelligent instrument, DCS system and the host computer that are connected with industrial process object, described industrial process object, intelligent detecting instrument, DCS system link to each other successively with host computer, and described host computer comprises:
Initialization module is used for the setting of initial parameter, discretize and the initial assignment of optimization variable z (t), and concrete steps are as follows:
(3.1) with time domain [t 0, t f] be divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n],
T wherein n=t fThe length of each time period is h=(t f-t 0)/n, wherein t 0Represent the initial moment, t fExpression stops constantly;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, z (t) is replaced with by n segmentation often be worth the variable z that forms, and choose the initial value z of arbitrary constant as decision variable 0
(3.3) the convergence precision value ζ that judges whether iteration optimization stops is set,, stops iteration when optimization target values iteration error during less than ζ; Getting iterations k initial value is 0;
(3.4) the initial step length α 0 of iterative search is set;
The constraint modular converter is used for handling by intermediate variable the control variable boundary constraint of optimizing process, adopts following transfer equation:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
To have boundary constraint u Min≤ u (t) u MaxControl variable u (t) trigonometric function that replaces with the intermediate variable z (t) that is not subjected to boundary constraint express formula, wherein subscript m in, max represent minimum value and maximal value, u respectively Min, u MaxDistinguish the lower bound and the upper bound of corresponding control variable, and z (t) is found the solution as optimization variable;
Self-adaptation is found the solution module, be used to find the solution the ordinary differential equation group of industrial process optimal control problem, for the gradient calculation of iteration optimizing module provides state variable and association's state variable information, also judging for the condition of convergence of convergence judge module provides objective function information, takes following steps to finish:
(4.1) find the solution the state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0(i=1,2,...,m) (2)
Wherein f represents the differentiation function variable, and x (t) is the variable that m state variable formed, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value;
(4.2) find the solution the co-state equation group:
d λ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , ( z ) t , t ] ∂ x i ,
Figure BDA0000022891340000023
i=1,2,...,m
(3)
Wherein, ψ is respectively given objective function Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) for assisting state variable λ iAt terminal juncture t fValue;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure BDA0000022891340000032
Iteration optimizing module makes the decision variable z of objective function J optimum in order to search *, take following steps to finish, subscript k all represents iterations, initial assignment is zero:
(5.1) call self-adaptation and find the solution module, preserve state variable, association's state variable and the target function value of gained, described target function value is current target value J k
(5.2) calculate current gradient g k, subscript T represents variable or transpose of a matrix, i.e. the direction of search of iteration optimization:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ] ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, determine step factor l with current point of iteration and more preceding information k:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k = min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein, D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to self-adaptation and find the solution module to calculate new target function value J K+1, enter the convergence judge module then;
Convergence judge module: be used to judge whether the objective result of iteration optimizing module gained satisfies the condition of convergence:
|J k-J k+1|≤ζ (11)
Wherein, J kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains, if following formula (11) is set up, show that the Error Absolute Value of a desired value that current iteration obtains and a preceding iteration gained desired value is no more than the convergence precision ζ of setting, then stop iteration optimization and calculate z K+1Be exactly optimizing decision variable z *(=z K+1), J K+1Be exactly optimal objective value J *(=J K+1), with z *, J *And corresponding iterations (k+1) is saved in output module as a result; If following formula (11) is false, then preserve desired value J K+1, get k=k+1, return the iterative that iteration optimizing module is carried out a new round then.
As preferred a kind of scheme: described host computer also comprises information acquisition module, is used to set the sampling time, gathers the multidate information of the industrial process object of being uploaded by field intelligent instrument.
Further, described host computer also comprises output module as a result, is used for the optimizing decision path z that iteration optimizing module is obtained *(t) through type (1) is converted into optimum control path u *(t), optimizing decision path z *(t) by variable z *Expression at times is then with u *(t) be transferred to the DCS system, and in the DCS system, show resulting optimization object information.
A kind of adaptive industrial process method for optimally controlling, described method for optimally controlling may further comprise the steps:
1) in the DCS system, specifies state variable and control variable, according to the up-and-down boundary u of the condition enactment control variable of the condition of actual production environment and performance constraint Max, u MinWith the sampling period of DCS, and with the historical data of corresponding each variable in the DCS database, control variable up-and-down boundary value u Max, u MinSend host computer to;
2) by the control variable boundary constraint in the intermediate variable processing optimizing process, adopt following transfer equation:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
To have boundary constraint u Min≤ u (t)≤u MaxControl variable u (t) trigonometric function that replaces with the intermediate variable z (t) that is not subjected to boundary constraint express formula, wherein subscript m in, max represent minimum value and maximal value, u respectively Min, u MaxDistinguish the lower bound and the upper bound of corresponding control variable, and z (t) is found the solution as optimization variable;
3) the module initial parameter is provided with, and the data of DCS system input is carried out initialization process, finish according to following steps:
(3.1) with time domain [t 0, t f] be divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n], t wherein n=t fThe length of each time period is h=(t f-t 0)/n, wherein t 0Represent the initial moment, t fExpression stops constantly;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, z (t) is replaced with by n segmentation often be worth the variable z that forms, and choose the initial value z of arbitrary constant as decision variable 0
(3.3) the convergence precision value ζ that judges whether iteration optimization stops is set,, stops iteration when optimization target values iteration error during less than ζ; Getting iterations k initial value is 0;
(3.4) the initial step length α 0>0 of iterative search is set;
4) with the optimization variable z=z of current iteration step kThe substitution self-adaptation is found the solution module, and iterations k is 0 o'clock, z=z 0, obtain current state variable, association's state variable, and draw corresponding current target value J k, performing step is as follows:
(4.1) find the solution the state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0(i=1,2,...,m) (2)
Wherein f represents the differentiation function variable, and x (t) is the variable that m state variable formed, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value;
(4.2) find the solution the co-state equation group:
d λ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , ( z ) t , t ] ∂ x i ,
Figure BDA0000022891340000053
i=1,2,...,m
(3)
Wherein,
Figure BDA0000022891340000061
ψ is respectively given objective function Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) for assisting state variable λ iAt terminal juncture t fValue;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure BDA0000022891340000063
5) find the solution state variable and the association's state variable information that module draws by self-adaptation, calculate the direction of search and the step-length of iteration optimization, find the solution the decision variable z that makes the more approaching optimum of objective function J, the step of implementing the iteration optimizing is as follows, subscript k all represents iterations, and initial assignment is zero:
(5.1) invocation step 4) result of calculation, preserve state variable, association's state variable and the target function value of gained, described target function value is current target value J k
(5.2) calculate current gradient g k, subscript T represents variable or transpose of a matrix, i.e. the direction of search of iteration optimization:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ] ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, determine step factor l with current point of iteration and more preceding information k:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k = min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein, D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to step (5.4) to calculate new target function value J K+1, enter the convergence judge module then;
6) judge the condition of convergence | J k-J K+1| whether≤ζ satisfies middle J kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains,, then preserve desired value J if do not satisfy K+1, get k=k+1, change step 4) again over to, carry out the iteration optimizing of a new round; If satisfy, then termination of iterations calculates, z K+1Be exactly the optimizing decision variable, J K+1Be exactly the optimal objective value, preserve z *, J *And iterations (k+1) arrives output module as a result.
Further, in the described step 1), the data of the industrial process object that field intelligent instrument is gathered are sent in the real-time data base of DCS system, output to host computer in each sampling period from the latest data that the database of DCS system obtains, and carry out initialization process at the initialization module of host computer.
Further again, in the described step 6), the optimizing decision variable z that obtains *To be converted to optimum control curve u by output module as a result *(t), and on the man-machine interface of host computer show u *(t) and optimal objective value J *Simultaneously, optimum control curve u *(t) will pass to the DCS system by communication interface, and in the DCS system, show resulting optimization object information.
Beneficial effect of the present invention mainly shows: can search out separating of industrial process nonlinear system optimal control problem, and has the very high efficient of finding the solution, the convergence good stability, therefore the every field in industrial process dynamic simulation and optimum control all is with a wide range of applications.
Description of drawings
Fig. 1 is the hardware structure diagram of industrial process optimal control system provided by the present invention;
Fig. 2 is the principle assumption diagram that host computer of the present invention is realized method for optimally controlling.
Embodiment
Specify the present invention below with reference to the accompanying drawings.
Embodiment 1
With reference to Fig. 1, Fig. 2, a kind of adaptive industrial process optimal control system comprises the field intelligent instrument 2, DCS system and the host computer 6 that are connected with industrial process object 1, and described DCS system is made of bus interface 3, active station 4, database 5; Field intelligent instrument 2, DCS system, host computer 6 link to each other successively by fieldbus, and described host computer comprises:
Initialization module 9 is used for the setting of initial parameter, discretize and the initial assignment of optimization variable z (t), and concrete steps are as follows:
(3.1) with time domain [t 0, t f] be divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n], t wherein n=t fThe length of each time period is h=(t f-t 0)/n;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, z (t) is replaced with by n segmentation often be worth the variable z (being decision variable) that forms, and choose the initial value z of arbitrary constant as decision variable 0
(3.3) the convergence precision value ζ that judges iteration optimization and whether stop (when optimization target values iteration error during less than ζ, stopping iteration) is set; Getting iterations k initial value is 0;
(3.4) the initial step length α 0 of iterative search is set;
Constraint modular converter 8:, adopt following transfer equation by the control variable boundary constraint in the intermediate variable processing optimizing process:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
To have boundary constraint u Min≤ u (t)≤u MaxControl variable u (t) trigonometric function that replaces with the intermediate variable z (t) that is not subjected to boundary constraint express formula, wherein subscript m in, max represent minimum value and maximal value, u respectively Min, u MaxDistinguish the lower bound and the upper bound of corresponding control variable, and z (t) is found the solution as optimization variable.
Self-adaptation is found the solution module 10, be used to find the solution the ordinary differential equation group of industrial process optimal control problem, for the gradient calculation of iteration optimizing module 11 provides state variable and association's state variable information, also judging for the condition of convergence of convergence judge module 12 provides objective function information, takes following steps to finish:
(4.1) find the solution the state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0?i=1,2,...,m (2)
Wherein, f represents the differentiation function variable, and x (t) is the variable that m state variable formed, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value, by state variable initial value x I0Obtain state variable at each discrete value x constantly by the forward integration i(t), i=1,2 ..., m;
(4.2) find the solution the co-state equation group:
d λ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , ( z ) t , t ] ∂ x i , i=1,2,...,m
(3)
Wherein,
Figure BDA0000022891340000093
ψ is respectively given objective function
Figure BDA0000022891340000094
Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) for assisting state variable λ iAt terminal juncture t fValue, by the state variable terminal value λ of association i(t f) obtain association's state variable at each discrete value λ constantly by reverse integral i(t), i=1,2 ..., m;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure BDA0000022891340000095
Iteration optimizing module 11 is used to search the decision variable z that makes objective function J optimum *, take following steps to finish, subscript k all represents iterations, initial assignment is zero:
(5.1) call self-adaptation and find the solution module 10, state variable, association's state variable and the target function value of preserving gained (are current target value J k)
(5.2) calculate current gradient g k(subscript T represents variable or transpose of a matrix), the i.e. direction of search of iteration optimization:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ] ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, utilize current point of iteration and more preceding information to determine step factor l k:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k = min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to self-adaptation and find the solution module to calculate new target function value J K+1, enter convergence judge module 12 then;
Convergence judge module 12: be used to judge whether the objective result of iteration optimizing module 11 gained satisfies the condition of convergence:
|J k-J k+1|≤ζ (11)
J wherein kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains.If following formula (11) is set up, show that the desired value that current iteration obtains and the Error Absolute Value of a preceding iteration gained desired value are no more than the convergence precision ζ of setting, then stop iteration optimization calculating, zk+1 is exactly optimizing decision variable z *(=z K+1), J K+1Be exactly optimal objective value J *(=J K+1), with z *, J *And corresponding iterations (k+1) is saved in output module 13 as a result; If following formula (11) is false, then preserve desired value J K+1, get k=k+1, return the iterative that iteration optimizing module 11 is carried out a new round then.
Described host computer also comprises information acquisition module 7, is used to set the sampling time, gathers the multidate information of the industrial process object of being uploaded by field intelligent instrument; And output module 13 as a result, be used for the optimizing decision path z that iteration optimizing module is obtained *(t) (by variable z *Expression at times) through type (1) is converted into optimum control path u *(t), then with u *(t) be transferred to the DCS system, and in the DCS system, show resulting optimization object information.
The system hardware structure figure of the implementation case as shown in Figure 1, described optimal control system core comprises that constraint modular converter 8, initialization module 9, the self-adaptation in the host computer 6 of being with man-machine interface find the solution 5 big functional modules such as module 10, iteration optimizing module 11, convergence judge module 12, comprises in addition: field intelligent instrument 2, DCS system and fieldbus.Described DCS system is made up of bus interface 3, active station 4, database 5; Industrial process object 1, field intelligent instrument 2, DCS system, host computer 6 link to each other successively by fieldbus, realize uploading and assigning of information flow, and host computer and first floor system are in time carried out message exchange, realize the on-line optimization of system.
Embodiment 2
See figures.1.and.2, a kind of adaptive industrial process method for optimally controlling, described method for optimally controlling is implemented according to following steps:
1) in the DCS system, specifies state variable and control variable, according to the up-and-down boundary u of the condition enactment control variable of the condition of actual production environment and performance constraint Max, u MinWith the sampling period of DCS, and with the historical data of corresponding each variable in the DCS database 5, control variable up-and-down boundary value u Max, u MinSend host computer 6 to.
2) in the constraint modular converter 8 of host computer,, control variable u (t) ∈ [u of boundary constraint will be subjected to by the trigonometric function replacement Min, u Max] be converted into the function expression of another unrestricted variable z (t), that is:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
Then, z (t) is optimized as optimization variable finds the solution, the z that finally tries to achieve (t) substitution (1) formula promptly obtains corresponding u (t).
3) in the initialization module 9 of host computer, each module initial parameter of host computer is provided with, and the data of DCS system input are carried out initialization process, finish according to following steps:
(3.1) time domain [t of optimum control is set 0, t f], and time slice counts n, time domain is divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n], the length of each time period is h=(t f-t 0)/n;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, use often is worth the variable z (being decision variable) that forms by n segmentation and represents z (t), and chooses the initial value z of decision variable 0, can be taken as simple constant;
(3.3) at the convergence judge module 12 of host computer, require convergence precision ζ value is set according to the solving precision of reality, generally be taken as 10 -6Can meet the demands.It is 0 that optimization iterations k initial count is set;
(3.4) the initial step length α 0>0 of iterative search is set;
4) with the optimization variable z=z of current iteration step k(iterations k is 0 o'clock, z=z 0) the substitution self-adaptation finds the solution module, obtain current state variable, association's state variable, and draw corresponding current target value J kPerforming step is as follows:
(4.1) numerical solution state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0?i=1,2,...,m (2)
Wherein, f represents the differentiation function variable, and x (t) is m dimension state variable, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value;
(4.2) find the solution the co-state equation group:
d λ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , ( z ) t , t ] ∂ x i ,
Figure BDA0000022891340000123
i=1,2,...,m (3)
Wherein,
Figure BDA0000022891340000124
ψ is respectively given objective function
Figure BDA0000022891340000125
Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) be i the state variable λ of association iAt terminal juncture t fValue;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure BDA0000022891340000126
5) find the solution state variable and the association's state variable information that module 10 draws by self-adaptation, calculate the direction of search and the step-length of iteration optimization, make the decision variable z of objective function J optimum in order to search *, take following steps to finish, subscript k all represents iterations, initial assignment is zero:
(5.1) invocation step 4) result of calculation, preserve state variable, association's state variable and the target function value of gained, described target function value is current target value J k
(5.2) calculate current gradient g k, promptly the direction of search of iteration optimization (wherein, x (t) and λ (t) are respectively and find the solution the current state variable that draws and association's state variable, and subscript T represents variable or transpose of a matrix:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ] ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, utilize current point of iteration and more preceding information to determine step factor l k:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k = min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein, D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to self-adaptation and find the solution module 10, by step (5.4) to calculate new target function value J K+1, enter convergence judge module 12 then;
6) convergence judge module 12 is judged the condition of convergence | J k-J K+1|≤whether satisfied (J wherein kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains), if do not satisfy, then preserve desired value J K+1, get k=k+1, change step 4) again over to, carry out the iteration optimizing of a new round; If satisfy, then termination of iterations calculates, z K+1Be exactly that the optimizing decision variable (is expressed as z *=z K+1), J K+1Be exactly that the optimal objective value (is expressed as J *=J K+1), preserve z *, J *And iterations (k+1) arrives output module 13 as a result.
System puts into operation
A. utilize timer, set the time interval of each Data Detection and collection;
B. field intelligent instrument 2 detects the data of industrial process object 1 and is sent in the real-time data base 5 of DCS system, obtains up-to-date variable data;
C. in the constraint modular converter 8 of host computer 6, boundary constraint is handled to control variable, with the result that the handles input as initialization module 9;
D. in the initialization module 9 of host computer 6, each module correlation parameter and variable are carried out initialization process, with the result that handles input as iteration optimizing module 11 according to actual production demand and performance constraint condition;
E. the self-adaptation of host computer 6 is found the solution module 10, finds the solution according to the initial decision variable or the iteration decision variable of 11 inputs of iteration optimizing module, and the state variable of gained, association's state variable and desired value are passed iteration optimizing module 11 again back;
F. the iteration optimizing module 11 of host computer 6, find the solution the variable information that module 10 draws according to the substitution of variable relation of constraint modular converter 8 and self-adaptation and carry out gradient calculation, and according to the result of determination enforcement iteration optimization that restrains judge module 12, the result of optimization passes to output module 13 as a result;
G. the convergence judge module 12 of host computer 6 is judged whether termination of iterations optimization according to the condition of convergence, and the result of gained passes to iteration optimizing module 11 and output module 13 as a result.
The object information of display industry process optimum control on the man-machine interface of host computer 6, host computer 6 is passed to the DCS system with resulting optimum control curve, and show resulting optimization object information at the active station 4 of DCS system, by DCS system and fieldbus resulting optimization object information is transferred to the work on the spot station simultaneously and shows, and carry out optimum operation by the work on the spot station.
The foregoing description is used for the present invention that explains, rather than limits the invention, and in the protection domain of spirit of the present invention and claim, any modification and change to the present invention makes all fall into protection scope of the present invention.

Claims (6)

1. adaptive industrial process optimal control system, comprise the field intelligent instrument, DCS system and the host computer that are connected with industrial process object, described industrial process object, intelligent detecting instrument, DCS system link to each other successively with host computer, it is characterized in that: described host computer comprises:
Initialization module is used for the setting of initial parameter, discretize and the initial assignment of optimization variable z (t), and concrete steps are as follows:
(3.1) with time domain [t 0, t f] be divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n], t wherein n=t fThe length of each time period is h=(t f-t 0)/n, wherein t 0Represent the initial moment, t fExpression stops constantly;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, z (t) is replaced with by n segmentation often be worth the variable z that forms, and choose the initial value z of arbitrary constant as decision variable 0
(3.3) the convergence precision value ζ that judges whether iteration optimization stops is set,, stops iteration when optimization target values iteration error during less than ζ; Getting iterations k initial value is 0;
(3.4) the initial step length α 0 of iterative search is set;
The constraint modular converter is used for handling by intermediate variable the control variable boundary constraint of optimizing process, adopts following transfer equation:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
To have boundary constraint u Min≤ u (t)≤u MaxControl variable u (t) trigonometric function that replaces with the intermediate variable z (t) that is not subjected to boundary constraint express formula, wherein subscript m in, max represent minimum value and maximal value, u respectively Min, u MaxDistinguish the lower bound and the upper bound of corresponding control variable, and z (t) is found the solution as optimization variable;
Self-adaptation is found the solution module, be used to find the solution the ordinary differential equation group of industrial process optimal control problem, for the gradient calculation of iteration optimizing module provides state variable and association's state variable information, also judging for the condition of convergence of convergence judge module provides objective function information, takes following steps to finish:
(4.1) find the solution the state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0(i=1,2,,m) (2)
Wherein f represents the differentiation function variable, and x (t) is the variable that m state variable formed, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value;
(4.2) find the solution the co-state equation group:
dλ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , z ( t ) , t ] ∂ x i ,
Figure FDA0000022891330000022
i=1,2,...,m
(3)
Wherein,
Figure FDA0000022891330000023
ψ is respectively given objective function
Figure FDA0000022891330000024
Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) for assisting state variable λ iAt terminal juncture t fValue;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure FDA0000022891330000025
Iteration optimizing module makes the decision variable z of objective function J optimum in order to search *, take following steps to finish, subscript k all represents iterations, initial assignment is zero:
(5.1) call self-adaptation and find the solution module, preserve state variable, association's state variable and the target function value of gained, described target function value is current target value J k
(5.2) calculate current gradient g k, subscript T represents variable or transpose of a matrix, i.e. the direction of search of iteration optimization:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, determine step factor l with current point of iteration and more preceding information k:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k = min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein, D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to self-adaptation and find the solution module to calculate new target letter
Numerical value J K+1, enter the convergence judge module then;
Convergence judge module: be used to judge whether the objective result of iteration optimizing module gained satisfies the condition of convergence:
|J k-J k+1|≤ζ (11)
Wherein, J kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains, if following formula (11) is set up, show that the Error Absolute Value of a desired value that current iteration obtains and a preceding iteration gained desired value is no more than the convergence precision ζ of setting, then stop iteration optimization and calculate z K+1Be exactly optimizing decision variable z *(=z K+1), J K+1Be exactly optimal objective value J *(=J K+1), with z *, J *And corresponding iterations (k+1) is saved in output module as a result; If following formula (11) is false, then preserve desired value J K+1, get k=k+1, return the iterative that iteration optimizing module is carried out a new round then.
2. a kind of adaptive industrial process optimal control system according to claim 1, it is characterized in that: described host computer also comprises information acquisition module, be used to set the sampling time, gather the multidate information of the industrial process object of uploading by field intelligent instrument.
3. a kind of adaptive industrial process optimal control system according to claim 1 and 2, it is characterized in that: described host computer also comprises output module as a result, is used for the optimizing decision path z that iteration optimizing module is obtained *(t) through type (1) is converted into optimum control path u *(t), optimizing decision path z *(t) by variable z *Expression at times is then with u *(t) be transferred to the DCS system, and in the DCS system, show resulting optimization object information.
4. method for optimally controlling that a kind of adaptive industrial process optimal control system as claimed in claim 1 is realized, it is characterized in that: described method for optimally controlling may further comprise the steps:
1) in the DCS system, specifies state variable and control variable, according to the up-and-down boundary u of the condition enactment control variable of the condition of actual production environment and performance constraint Max, u MinWith the sampling period of DCS, and with the historical data of corresponding each variable in the DCS database, control variable up-and-down boundary value u Max, u MinSend host computer to;
2) by the control variable boundary constraint in the intermediate variable processing optimizing process, adopt following transfer equation:
u(t)=0.5(u max-u min)×{cos[z(t)]+1}+u min (1)
To have boundary constraint u Min≤ u (t)≤u MaxControl variable u (t) trigonometric function that replaces with the intermediate variable z (t) that is not subjected to boundary constraint express formula, wherein subscript m in, max represent minimum value and maximal value, u respectively Min, u MaxDistinguish the lower bound and the upper bound of corresponding control variable, and z (t) is found the solution as optimization variable;
3) the module initial parameter is provided with, and the data of DCS system input is carried out initialization process, finish according to following steps:
(3.1) with time domain [t 0, t f] be divided into the n segment: [t 0, t 1], [t 1, t 2] ..., [t N-1, t n], t wherein n=t fThe length of each time period is h=(t f-t 0)/n, wherein t 0Represent the initial moment, t fExpression stops constantly;
(3.2) optimization variable z (t) is carried out discretize on (3.1) described time slice, z (t) is replaced with by n segmentation often be worth the variable z that forms, and choose the initial value z of arbitrary constant as decision variable 0
(3.3) the convergence precision value ζ that judges whether iteration optimization stops is set,, stops iteration when optimization target values iteration error during less than ζ; Getting iterations k initial value is 0;
(3.4) the initial step length α 0>0 of iterative search is set;
4) with the optimization variable z=z of current iteration step kThe substitution self-adaptation is found the solution module, and iterations k is 0 o'clock, z=z 0, obtain current state variable, association's state variable, and draw corresponding current target value J k, performing step is as follows:
(4.1) find the solution the state equation group:
dx ( t ) dt = f [ x ( t ) , z ( t ) , t ] , x i(t 0)=x i0(i=1,2,...,m) (2)
Wherein f represents the differentiation function variable, and x (t) is the variable that m state variable formed, x i(t) i state variable of expression, x I0Be state variable x iAt initial time t 0Value;
(4.2) find the solution the co-state equation group:
dλ i ( t ) dt = - ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ x i - λ i ( t ) · ∂ f [ x ( t ) , z ( t ) , t ] ∂ x i , i=1,2,...,m
(3)
Wherein,
Figure FDA0000022891330000044
ψ is respectively given objective function
Figure FDA0000022891330000045
Non-integral and constant volume subitem, λ i(t) be i association's state variable, λ (t) is m the variable that association's state variable is formed, λ i(t f) for assisting state variable λ iAt terminal juncture t fValue;
(4.3) state variable and the decision variable by gained calculates target function value:
Figure FDA0000022891330000046
5) find the solution state variable and the association's state variable information that module draws by self-adaptation, calculate the direction of search and the step-length of iteration optimization, find the solution the decision variable z that makes the more approaching optimum of objective function J, the step of implementing the iteration optimizing is as follows, subscript k all represents iterations, and initial assignment is zero:
(5.1) invocation step 4) result of calculation, preserve state variable, association's state variable and the target function value of gained, described target function value is current target value J k
(5.2) calculate current gradient g k, subscript T represents variable or transpose of a matrix, i.e. the direction of search of iteration optimization:
g k = { ∂ ψ [ x ( t ) , z ( t ) , t ] ∂ z ( t ) + λ ( t ) T · ∂ f [ x ( t ) , z ( t ) , t ∂ z ( t ) } | z ( t ) = z k , t = t j , j=0,1,2,...,n (5)
(5.3) preserve current iteration point z kAnd gradient information g k
(5.4) if k=0, then step-size in search α kBe taken as initial value, i.e. α k=α 0, changes step (5.6);
Otherwise, determine step factor lk with current point of iteration and more preceding information:
l k = ( s k - 1 ) T · y k - 1 | | y k - 1 | | 2 - - - ( 6 )
Wherein, s K-1The error of expression current iteration point and last iteration point, calculating formula is:
s k-1=z k-z k-1 (7)
y K-1The gradient error of expression current iteration point and last iteration point, calculating formula is:
y k-1=g k-g k-1 (8)
(5.5) get optimum stepsize α k min ( π D · max ( g k ) , l k ) - - - ( 9 )
Wherein, D is that coefficient rounds numerical value;
(5.6) calculate next iteration point:
z k+1=z kk·g k (10)
(5.7) new iteration point z K+1Pass to step (5.4) to calculate new target function value J K+1, enter the convergence judge module then;
6) judge the condition of convergence | J k-J K+1| whether≤ζ satisfies middle J kAnd J K+1Represent respectively the k time and target function value that the k+1 time iterative computation obtains,, then preserve desired value J if do not satisfy K+1, get k=k+1, change step 4) again over to, carry out the iteration optimizing of a new round; If satisfy, then termination of iterations calculates, z K+1Be exactly the optimizing decision variable, J K+1Be exactly the optimal objective value, preserve z *, J *And iterations (k+1) arrives output module as a result.
5. method for optimally controlling as claimed in claim 4, it is characterized in that: in the described step 1), the data of the industrial process object that field intelligent instrument is gathered are sent in the real-time data base of DCS system, output to host computer in each sampling period from the latest data that the database of DCS system obtains, and carry out initialization process at the initialization module of host computer.
6. as claim 4 or 5 described method for optimally controlling, it is characterized in that: in the described step 6), the optimizing decision variable z that obtains *To be converted to optimum control curve u by output module as a result *(t), and on the man-machine interface of host computer show u *(t) and optimal objective value J *Simultaneously, optimum control curve u *(t) will pass to the DCS system by communication interface, and in the DCS system, show resulting optimization object information.
CN2010102138836A 2010-06-30 2010-06-30 Adaptive industrial process optimal control system and method Pending CN101887239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102138836A CN101887239A (en) 2010-06-30 2010-06-30 Adaptive industrial process optimal control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102138836A CN101887239A (en) 2010-06-30 2010-06-30 Adaptive industrial process optimal control system and method

Publications (1)

Publication Number Publication Date
CN101887239A true CN101887239A (en) 2010-11-17

Family

ID=43073195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102138836A Pending CN101887239A (en) 2010-06-30 2010-06-30 Adaptive industrial process optimal control system and method

Country Status (1)

Country Link
CN (1) CN101887239A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487376A (en) * 2015-12-30 2016-04-13 南京航空航天大学 Optimal control method based on data-driven single network structure
CN105589332A (en) * 2016-01-20 2016-05-18 中国矿业大学 Method for balancing ball-beam system based on SFLA fuzzy controller
CN107656439A (en) * 2017-11-13 2018-02-02 浙江大学 A kind of moon detector in flexible landing optimal control system based on Self Adaptive Control grid
CN107703759A (en) * 2017-11-13 2018-02-16 浙江大学 A kind of moon detector in flexible landing optimal control system based on adaptive congestion control algorithm grid
CN107765554A (en) * 2017-11-13 2018-03-06 浙江大学 A kind of moon detector in flexible landing optimal control system based on Self Adaptive Control node
CN107807528A (en) * 2017-11-13 2018-03-16 浙江大学 A kind of plug flow tubular reactor optimal control system based on adaptive congestion control algorithm node
CN107831664A (en) * 2017-11-13 2018-03-23 浙江大学 A kind of batch reactor optimal control system based on Self Adaptive Control grid
CN107831663A (en) * 2017-11-13 2018-03-23 浙江大学 A kind of batch reactor optimal control system based on adaptive congestion control algorithm node
CN107844056A (en) * 2017-11-13 2018-03-27 浙江大学 A kind of plug flow tubular reactor optimal control system based on adaptive congestion control algorithm grid
CN107942661A (en) * 2017-11-13 2018-04-20 浙江大学 A kind of moon detector in flexible landing optimal control system based on adaptive congestion control algorithm node
CN108710299A (en) * 2018-05-30 2018-10-26 重庆邮电大学 A kind of continuous stirred tank reactor catalyst feed supplement optimal control system and method
CN113430333A (en) * 2021-07-13 2021-09-24 北京科技大学 Intelligent stable smelting control method for ladle refining furnace

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487376A (en) * 2015-12-30 2016-04-13 南京航空航天大学 Optimal control method based on data-driven single network structure
CN105487376B (en) * 2015-12-30 2018-05-08 南京航空航天大学 A kind of method for optimally controlling based on data-driven list network structure
CN105589332A (en) * 2016-01-20 2016-05-18 中国矿业大学 Method for balancing ball-beam system based on SFLA fuzzy controller
CN105589332B (en) * 2016-01-20 2019-03-29 中国矿业大学 A kind of balance ball-beam system method based on SFLA fuzzy controller
CN107765554A (en) * 2017-11-13 2018-03-06 浙江大学 A kind of moon detector in flexible landing optimal control system based on Self Adaptive Control node
CN107807528A (en) * 2017-11-13 2018-03-16 浙江大学 A kind of plug flow tubular reactor optimal control system based on adaptive congestion control algorithm node
CN107831664A (en) * 2017-11-13 2018-03-23 浙江大学 A kind of batch reactor optimal control system based on Self Adaptive Control grid
CN107831663A (en) * 2017-11-13 2018-03-23 浙江大学 A kind of batch reactor optimal control system based on adaptive congestion control algorithm node
CN107844056A (en) * 2017-11-13 2018-03-27 浙江大学 A kind of plug flow tubular reactor optimal control system based on adaptive congestion control algorithm grid
CN107942661A (en) * 2017-11-13 2018-04-20 浙江大学 A kind of moon detector in flexible landing optimal control system based on adaptive congestion control algorithm node
CN107703759A (en) * 2017-11-13 2018-02-16 浙江大学 A kind of moon detector in flexible landing optimal control system based on adaptive congestion control algorithm grid
CN107656439A (en) * 2017-11-13 2018-02-02 浙江大学 A kind of moon detector in flexible landing optimal control system based on Self Adaptive Control grid
CN107765554B (en) * 2017-11-13 2020-03-03 浙江大学 Adaptive control node-based lunar probe soft landing optimal control system
CN108710299A (en) * 2018-05-30 2018-10-26 重庆邮电大学 A kind of continuous stirred tank reactor catalyst feed supplement optimal control system and method
CN113430333A (en) * 2021-07-13 2021-09-24 北京科技大学 Intelligent stable smelting control method for ladle refining furnace
CN113430333B (en) * 2021-07-13 2022-04-12 北京科技大学 Intelligent stable smelting control method for ladle refining furnace

Similar Documents

Publication Publication Date Title
CN101887239A (en) Adaptive industrial process optimal control system and method
CN101763087B (en) Industrial process dynamic optimization system and method based on nonlinear conjugate gradient method
CN101763083A (en) An effective industrial process dynamic optimization system and method capable of controlling variable parameterization
CN101976842B (en) Method for automatically acquiring key sections based on electrical partitioning
CN103268069B (en) Based on the adaptive prediction control method of Hammerstein model
CN114626643A (en) Smart city government power supply regulation and control method, Internet of things system, device and medium
CN114527661B (en) Collaborative formation method for cluster intelligent system
CN102830446A (en) Intelligent meteorological station system capable of forecasting meteorological data
CN104698842A (en) Interior point algorithm based LPV (Linear Parameter Varying) model nonlinear predicating control method
CN105425583A (en) Control method of penicillin production process based on cooperative training local weighted partial least squares (LWPLS)
CN100461037C (en) IDP based industrial process dynamic optimization system and method
CN106527125A (en) Model-free control method in intelligent control
CN103996071A (en) Wind power plant wind speed prediction method based on Markov theory
CN101364277B (en) Model building system based on T-S fuzzy model of interval type-2 fuzzy set
CN101887260A (en) Industrial process optimal control system and method for adaptive synchronization policy
CN104131847A (en) Automatic optimization control system and method of rated sliding pressure of steam turbine unit
CN117155845B (en) Internet of things data interaction method and system
CN101763082B (en) Effective industrial process dynamic optimization system and method based on two-point step size gradient method
CN110275868A (en) A kind of multi-modal pretreated method of manufaturing data in intelligent plant
CN108154299B (en) Multi-tide-station long-channel ship tide taking safety analysis system
CN101776892A (en) Constraint-prioritized dynamic industrial process optimization system and method
CN105844058B (en) A kind of distributed Extended Kalman filter method for estimating state of sewage disposal process
CN109146145A (en) BP neural network building energy consumption prediction technique based on MapReduce
CN104133369A (en) Control method for dynamic characteristics of proton exchange membrane fuel cell
CN105608638B (en) A kind of method and its system of the table code data synchronous regime determining intelligent terminal and electric energy meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20101117