CN106406087A - Intelligent control system optimization algorithm based on transformation function and filled function - Google Patents

Intelligent control system optimization algorithm based on transformation function and filled function Download PDF

Info

Publication number
CN106406087A
CN106406087A CN201610533873.8A CN201610533873A CN106406087A CN 106406087 A CN106406087 A CN 106406087A CN 201610533873 A CN201610533873 A CN 201610533873A CN 106406087 A CN106406087 A CN 106406087A
Authority
CN
China
Prior art keywords
function
allbest
centerdot
stuffing
control system
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
CN201610533873.8A
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201610533873.8A priority Critical patent/CN106406087A/en
Publication of CN106406087A publication Critical patent/CN106406087A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an intelligent control system optimization algorithm based on a transformation function and a filled function. The method comprises the following steps: (1) initializing parameters; (2) judging whether to end an algorithm process: k>MN or L>TT; (3) judging whether to enter a filled function: abs(gi(x)-fi(x))<d1, k<=FMN, and fi(x) >=f_allbest; if the conditions are met, entering the filled function, updating an independent variable Xnxd and the values f(X)=[f1, f2...fn] of n subsystems of an objective function after T transformation and going back to step (3); if the conditions are not all met, jumping to step (4); (4) updating the parameters; (5) updating related error terms E, delta(E) and delta<2>(E), adjusting an inertial factor w as well as the parameters ki, kp and kd of a PID algorithm, and jumping to step (2). The innovation of the invention lies in that a transformation function method and a filled function method are adopted in a multi-loop feedback intelligent control system to realize optimization, so that the possibility that the algorithm gets into local optimum is reduced, and the optimization precision and speed are increased.

Description

Intelligence control system optimized algorithm based on transforming function transformation function and stuffing function
Technical field
The present invention proposes a kind of intelligence control system optimized algorithm based on transforming function transformation function and stuffing function, wherein intelligently Control system is multiloop feedback control system, and it makes the control object of each sub-loop is optimised function, by each The feedback of sub-loop and the distribution of many sub-loops, realize control object optimization;Transforming function transformation function simplifies object function, so that it is complete Office's smallest point is separated with other local minimums;Stuffing function has makes intelligence control system jump to separately from local best points The function of one less local best points, so can obtain more accurate globe optimum repeatedly several times.
Background technology
The basic ideas of feedback control system optimized algorithm derive from the feedback thought of single loop control system, specific frame Graph model is illustrated in fig. 5 shown below.Wherein, input set-point R is usually a constant being less than object function minimum of a value;From Fig. 5 not It is difficult to see, feedback control system is mainly passed through output feedback and produced error, controls controlled device (optimised letter through controller Number), thus realizing optimizing, that is, the optimised function as control object passes through feedback so that it is exported less and less with controller.
In Figure 5, f (k) is target function value during kth time iteration;Controller adopt incremental timestamp strategy, single time The iterative formula of road feedback control system optimized algorithm is defined as:
X (k+1)=x (k)+kpΔE(k)+kiE(k)+kdΔ2E(k) (1)
K in above formulap, kiAnd kdIt is tri- self-adaptative adjustment parameters of PID respectively.
The function to some complicated Multi-maximum point for this algorithm, after sometimes up to certain precision, is difficult to find more again Good extreme point, or it is unable to reach target call, for this reason, certain transforming function transformation function is used for simplifying object function (control object) It is allowed to become simple convex function as much as possible.When the value of object function is away from zero, its value is mapped to 1 or -1, and works as mesh The value of scalar functions close to zero when, then its value is mapped to zero as far as possible.Further, since transfer function changes very near zero Greatly, therefore, by functional transformation, the global minima point of object function and other local minimums minute near zero point can be made From.In conjunction with the intelligence control system with the control object being simplified, we can obtain the more accurately complete of object function Office's smallest point.
If function T (x) meets following two properties, the function that we are just called object function f (x) it becomes Change:
1) T (x) (wherein x > 0) is the continuous, one-dimensional functions that can lead and is dull on (0,1) or (- 1,0) 's.
2) | (T (± 10)-T (0)) |/T (∞) >=98%
Note 1:Property 1 ensure that function T (x) after conversion and object function f (x) have identical globe optimum.Property Matter 2 is to provide the valid interval of T (x).
This algorithm faces the test of two problems.First problem is:How to judge current minimum point be the overall situation Figure of merit point;Second Problem is:How to jump out from current local minimum point, shift to the less local minizing point of object function.
Filled Function Methods are a kind of methods that can preferably solve to be absorbed in local minimum point, can be had by constructing stuffing function Jump out local minimum point to effect, find another local minimum point less than it.In order to more fully understand stuffing function, below Provide three hypothesis.
Assume 1:One of function f (x) comprises smallest pointConnected domain B1, set out in its internal any point x, with speed Fall method all converges onBut B1The part arbitrfary point of outside all can not converge onThen B1It is called a basin domain of f (X).
Assume 2:IfIt is the maximum point of f (x), then f (x) comprisesPaddy domain be-f (x) basin domain.
Assume 3:Comprise local minimum pointBasin domain B2It is above comprising local minimumBasin domain B1And if only if
If function P (x, an x*) meeting following four condition, then it is known as f (x) in local minimum point's Stuffing function:
1)It is function P (x, x*) a strict local maximum point.
2) at any one higher than bath in a tub B1F (x) bath in a tub, P (x, x*) there is no smallest point or saddle point.
3) if f (x) has one in local minimum pointsThan basin domain B1Little basin domain B2, then exist 1 point of x ' make P (x, x*) minimum, and itWith x " connecting line on (it isSome neighborhood).
4) for any x, the y belonging to Ω domain, meet WithAnd if only if P (x)≤(<) P (y).
Content of the invention
Present invention aims to the deficiency that prior art exists, one kind is provided to be based on transforming function transformation function and stuffing function Intelligence control system optimized algorithm, its intelligence control system is multiloop feedback control system, and it makes each sub-loop Control object is optimised function, by the feedback of each sub-loop and the distribution of many sub-loops, realizes control object optimization.Cause The majorized function of Multi-maximum point is easily absorbed in Local Extremum, introduces transforming function transformation function simplify control object, makes optimised function Global minima point can be separated with other local minimums near zero point.Transforming function transformation function is dull one-dimensional functions, does not affect mesh The number of the extreme point of scalar functions.Control system is made to jump out current Local Minimum based on the stuffing function of optimised construction of function Point, and can restart to find the local minimum points less than current minimum of a value in new position, thus avoiding making system fall into Enter local minimum points.
For reaching above-mentioned purpose, idea of the invention is that:Intelligence control system adopts multiloop feedback control system, each The control object of individual sub-loop is optimised function, carries out T conversion using transforming function transformation function to control object, makes optimised function Global minima point (close to the minimum of a value of zero point) can separate with other local minimums near zero points, use self-adaptive PID The optimal value of optimised function found by controller.(the quilt after adjacent iteration twice when being judged as being absorbed in local minimum During the difference very little of majorized function value), now enter stuffing function iteration, until jump out local minimum and find one less Smallest point, continues to use self-adaptive PID controller searching system optimal value on this basis.
Conceived according to foregoing invention, the present invention adopts following technical proposals:
The first step:Parameters are initialized:Determine initial point X using random distribution in feasible zonen×dJust Value, wherein n is concurrent control system number, and d is the dimension of actual argument, to parameters local minimum points x_best, the overall situation Smallest point x_allbest, local minimum f_best, global minimum f_allbest, inertial factor w, parameter k of pid algorithmi, kp, kd, [0,2] the constant c between1, c2, random number r1, r2Interval initial value, and determine algorithm global cycle number of times MN, enter stuffing function Maximum times TT of subprogram and maximum times ND of stuffing function inner iteration, make k=1, L=1.m=1;
Second step:Judge whether to terminate algorithm flow:k>MN or L>TT, if so, then exports the global optimum of object function Value f_allbest, EP (end of program);Otherwise, k=k+1, gi(x)=fi(x), i=1,2,3...n;Updated certainly according to following formula (3) Variable Xn×dValue f (X)=[f with the n subsystem of object function after T conversion1,f2...fn] and judge vector x whether beyond can Row domain;
3rd step:Judge whether to enter stuffing function:abs(gi(x)-fi(x)) < d1And m≤ND and fi(x)≥f_ Allbest, if so, then x (i, k)=x (i, k)+d2×(rand(1,1)-0.5)×exp(d3(k-1)/ND)
X (i, k)=x (i, k)+d4×rand(1,1)×exp(d5(k-1)/ND)×(x(i,k)-x_allbest)/||x (i, k)-x_allbest | | enter stuffing function, update f (x), T conversion after n subsystem of object function value f (X)= [f1,f2...fn],gi(x)=fi(x), i=1,2,3...n, then go back to the 3rd step;Otherwise, jump to the 4th step;
4th step:Update x_best, x_allbest, f_best, f_allbest
5th step:Correlated error amount E, Δ E, Δ are updated according to formula (4)2E.Inertial factor w is adjusted according to formula (5), PID calculates Parameter k of methodi, kp, kd, then jump to second step.
In above-mentioned second step, object function f (x) is carried out with the concrete grammar of T conversion:The T of object function f (x) is transformed toHere T transforming function transformation function isUpdate independent variable Xn×dIterative equation formula be:
Wherein x (i, k) represents iterative vectorized, the k of kth time of i-th subsystemi, kp, kdIt is the parameter vector of pid algorithm, w It is inertial factor.r1, r2It is the interval random number of initial value design.c1, c2It is constant, general span is [0,2].x_best I () is i-th subsystem desired positions vector in an iterative process, x_allbest be all systems in iterative process Good position vector.Judge whether vector x exceeds feasible zone:X < s1Or x > s2, if so, then exceed feasible zone, x (i, k+1)= x_allbestK (), updates f (X)=[f1,f2...fn];Otherwise, without departing from feasible zone, with this iteration result x (i, k+1) more New f (X)=[f1,f2...fn], wherein k is used for adding up algorithm cycle-index, and g (x) is used for preserving the value of this f (x), and MN is to calculate The maximum of method cycle-index;L is used for the accumulative number of times entering stuffing function subprogram, and TT allows access into stuffing function subprogram Maximum times;s1, s2Border for independent variable x valid interval.
In above-mentioned 3rd step, judge whether to enter stuffing function, its Rule of judgment is:abs(gi(x)-fi(x)) < d1And m ≤ ND and fiX () >=f_allbest, m are used for being accumulated at the number of times of stuffing function inner iteration, ND is in stuffing function inner iteration Maximum times, d1For being set into the maximum of the absolute value of the difference of the adjacent f (x) twice during stuffing function subprogram.
2., in above-mentioned 4th step, update x_best, x_allbest, f_best, f_allbest:If f (i, k+1) < f_best(i), then x_best(i)=x (i, k+1), f_best(i)=f (i, k+1);If f_allbest(k) > f_best(i, k+1), then x_allbest(k)= x_best(i, k+1), f_allbest(k)=f_best(i, k+1) otherwise jumps to step 5).
In above-mentioned 5th step, correlated error amount E, Δ E, Δ2The more new formula of E and parameter ω, kp、kiAnd kdSelf adaptation Correction formula is as follows:
η is a very little positive number, and R is system input, and f (i, k) represents the kth subsystem output f of i-th subsystem The value of (x).Δ E (i, k) represents kth secondary system error E (i, k) and kth -1 secondary system error E (i, k-1) of i-th subsystem Difference, Δ2E (i, k) represents kth secondary system error E (i, k) and kth -1 secondary system error E (i, k-1) of i-th subsystem The difference of kth -1 secondary system error E (i, k-1) and kth -2 secondary system error E (i, k-2) of difference and i-th subsystem Difference.
The transforming function transformation function used in the present invention:Function T (x) can be clearly seen former from Fig. 7 Value changes near point are very big and domain of definition is interior very gentle away from the regional change of initial point, the new mesh that this explanation is obtained by conversion Scalar functions are cut in the local minimum away from initial point, and the global minimum in initial point vicinity is exaggerated, thus The system of reducing is absorbed in the possibility of local minimum points.In order to verify this point, take an example F1, transforming function transformation function T (x) is processed Curve in front and back is as shown in Fig. 8~9.
The present invention proposes a kind of stuffing function without parameter and provides proof:
Theorem 1:If x1Known local minimum points of f (x), then x1It is P (x, x1) a strict local Maximum point.Prove:If B1It is f (x) in local minimum points x1A s type basin domain, that is, to any x ∈ B1There is f (x) >=f (X1), Then
This shows x1It is P (x, x1) a strict local maximum point.
Theorem 2:Make x1It is known local minimum points of f (x), if x is ∈ S1=x | f (x) >=f (X1),x≠ X1, then P (x, x1) in S1Fixed point free or smallest point in domain.
Prove:Because x is ∈ S1,Then as f (x) > f (X1) and x ≠ X1, haveIf d (x)=(x-x1) and x ≠ X1, thenTherefore d (x) is for any x ∈ S1, P (x, x1) a prompt drop direction.When F (y)=f (X1), haveThen for satisfaction || x-x1|| > || y-x1|| and || x2-x1|| < | | y-x1| | any x, x2∈S1, have Therefore, P (x, x1) in S1Fixed point free or smallest point in domain.
Theorem 3:Make x1It is known local minimum points of f (x), for any x2∈Ω,x2≠x1If, f (x2) ≥f(x1), then x2It is P (x, x1) a continuity point, or x2It is P (x, x1) a hollow grassland point.
Prove:Because x1It is the B of f (x)1Local minimum points in basin domain, so for any x ∈ B1, have f (x) >= f(x1), thenTherefore, P (x, x1) in x1Point is continuous.As Fruit f (x2)≠f(x1) and x2≠x1, i.e. f (x2) < f (x1) or f (x2) > f (x1), thenOrSo there is a neighborhood N (x2, δ), δ > 0 makes for any x ∈ N (x2, δ),I.e. P (x, x1) in x2Point is continuous.If f is (x2)=f (x1) and x2≠x1, thenTherefore x2It is P (x, x1) a hollow grassland point.
Theorem 4:Make x1It is known local minimum points of f (x), x2It is to meet f (x2) < f (x1) another and x1 , then there is 1 point of x' ∈ S in neighbouring local minimum points2={ x, f (x) < f (X1), x ∈ Ω } make P (x, x*) minimum, and itWith x " connecting line on (it isSome neighborhood).
Prove:Because x1It is known local minimum points of f (x), then there is a s type basin domain B1, for any x ∈B1, make f (x) >=f (x1), thus obtain
Similarly, with regard to local minimum points x2, there is s type basin domain B2, for some x3∈B2, have f (x2)≤f(x3) < f (x1), then for x3∈B2, have
Therefore P (x', x1)<P(x3,x1), in addition P (x1,x1)=0, then when x is away from x1When, there are P (x, x1) < 0.Therefore, As f (x) >=f (x1) when, P (x, x1) reduce, otherwise P (x, x1) increase.By theorem 4, then there is 1 point of x' ∈ S2={ x, f (x) < f (X1), x ∈ Ω } make P (x, x*) minimum, and itWith x " connecting line on (it isSome neighborhood).
Theorem 5:Make x1It is known local minimum points of f (x), and d is to meet dT(x-X1) > 0 a side To if f (x) is > f (X1), then d is P (x, x1) in x1One prompt drop direction of point.
Prove:Because f (x) is > f (X1) and dT(x-X1) > 0, then
Therefore d It is P (x, x1) in x1One prompt drop direction of point.
Theorem 6:Make x1It is known local minimum points of f (x), for any x, y ∈ Ω meets
f(x)≥f(X1),f(y)≥f(X1) and | | x-x1||≥||y-x1| | and if only if P (x, x1)≤P(y,x1).
Prove:Because for any x, y ∈ Ω meets f (x) >=f (X1),f(y)≥f(X1), then
BecauseMonotonically increasing function, then for | | x-x1| | > (>=) || y-x1||, there are P (x, x1) < (≤) P(y,x1) or for P (x, x1) < (≤) P (y, x1), have || x-x1|| > (>=) || y-x1||.
Note 1:From theorem 16, it is readily seen P (x, x1) it is a stuffing function, because it meets stuffing function All of definition, as f (x) >=f (x1), P (x, x1) reduce;As f (x) < f (x1), P (x, x1) increase, if d is in a satisfaction dT(x-X1) > 0 P (x, x1) prompt drop direction, then can find by d meeting f (x) < f (x1) the direction of search.
OrderIt is current local minimum point,It is current iteration point, λ and μ is two given constants and 0 < λ < μ, BeThe direction of search, make
Theorem 7:OrderWithIfMeetThen
Here, Ω is the feasible zone of x.
Prove:IfThen
Note 2:From theorem 3 it is easy to see, ifIt is a satisfactionThe direction of search, So when iterations reaches sufficiently large, search is up to the border of Ω or finds and meet f (x) < f (X1) point.In order to Realize
WithWe select? It is exactly
Say,ThereforeThis In, η > 0.When border Ω is very big, η can elect a larger positive number as, otherwise η can elect as one less Positive number.In addition, in order to avoid search reach border it is necessary to using distributivity Learning Step, therefore η can elect as one with The positive number of machine.
Obtain the thinking based on stuffing function algorithm from the definition of stuffing function, calculate first by a kind of local optimum Method obtains a local minimum point of object function f (X)Then existPlace's one stuffing function F (x) of construction,Place's search 1 point of x1, with x1For starting point Local Optimization Algorithm minimization stuffing function F (x), obtain 1 point of x2, have the property of stuffing function Matter understands, point x2One is scheduled on and compares B1In low basin domain, then from now acquired minimal point x2For initial point local optimization methods Minimization object function f (X), obtains another more excellent local minimum point of f (X)Alternately said process will obtain Local minimum point range profit to object function f (X)X*, meetsThus Global minimum to object function.
The intelligence control system optimized algorithm based on transforming function transformation function and stuffing function of the present invention is compared with prior art Have and obviously project substantive distinguishing features and remarkable advantage as follows:
1) intelligence control system is multiloop feedback control system, it make each sub-loop control object be optimised Function, by each sub-loop feedback and many sub-loops distribution, realize control object optimization.
2) optimised function is simplified by functional transformation so as to be cut in and former in the local minimum away from far point Local minimum near point is exaggerated, thus reducing the possibility being absorbed in local minimum points, largely increases Find the possibility of global minimum, improve the accuracy and speed of optimizing.
3) when system has been absorbed in local best points, enter stuffing function iteration, make intelligence control system from a local Optimum point jumps to another less local best points, so repeatedly can obtain more accurate globe optimum several times.
4) the intelligence control system and function conversion of multiloop system parallel computation and the combination of Filled Function Methods, both protected The advantage having stayed the multisystem distributed parallel computing of intelligence control system, and overcome intelligence control system calculation to a certain extent Method is easily trapped into the deficiency of local best points.
Brief description
Fig. 1 algorithm main flow chart;
Fig. 2 algorithm sub-process figure;
Fig. 3 algorithm sub-process figure;
Fig. 4 algorithm sub-process figure;
The model of Fig. 5 single loop feedback control system optimized algorithm
The multiloop system block diagram based on transforming function transformation function and stuffing function for the Fig. 6;
Fig. 7 is the curve of transforming function transformation function T (x);
Fig. 8 is the curve of F1 (x), domain of definition (- 6<x<6);
F1 (x) after Fig. 9 T conversion is the curve of T (F1 (x)), domain of definition (- 6<x<6);
The simulation curve to 5 algorithms of F1 reference function for the Figure 10;
The simulation curve to 5 algorithms of F2 reference function for the Figure 11;
The simulation curve to 5 algorithms of F3 reference function for the Figure 12;
The simulation curve to 5 algorithms of F4 reference function for the Figure 13;
The simulation curve to 5 algorithms of F5 reference function for the Figure 14;
Specific embodiment
It is as follows that the preferred embodiments of the present invention combine detailed description:
Embodiment one:
Reference function:
Hunting zone:-5.12≤xi≤ 5.12 (experiment herein is using 30 dimensions).Global optimum:Min (F1)=F1 (0 ..., 0)=0.Referring to Fig. 1~Fig. 9, this intelligence control system optimized algorithm based on transforming function transformation function and stuffing function, it is special Levy and be that operating procedure is as follows:
1) parameters are initialized:Determine initial point X using random distribution in feasible zone5×30=10.24 × (rand (5,30,1) -0.5), wherein 5 is concurrent control system number, and 30 is the dimension of actual argument, local minimum points x_best=10.24 × (rand (5,30,1) -0.5), global minima point x_allbest=0 × rand (1,30,1), local minimum f_best=2 × 108× rand (5,1,1), global minimum f_allbest=2 × 107, inertial factor w=0.01 × rand (5, 30,1), parameter k of pid algorithmi=kd=1 × 10-8× rand (5,30,1), kp=5 × 10-8× rand (5,30,1), c1= c2=1.5, r1=r2=1.0 × (rand (1,1) -0.5), algorithm global cycle number of times MN=40, enter stuffing function subprogram Maximum times TT=80, and maximum times ND=300 of stuffing function inner iteration, d1=1 × 10-15,d1=1 × 10-7,d3= 5,d4=1, d5=3, k=1, L=1, m=1;
2) judge whether to terminate algorithm flow:k>40 or L>80, if so, then export the global optimum of object function f_allbest, EP (end of program);Otherwise, k=k+1, gi(x)=fi(x), i=1,2,3,4,5;Update independent variable X5×30After T conversion 5 subsystems of object function value f (X)=[f1,f2...f5] and judge whether vector x exceeds feasible zone;
3) judge whether to enter stuffing function:abs(gi(x)-fi(x)) < 1 × 10-15And m≤300 and fi(x)≥f_ Allbest, if so, then x (i, k)=x (i, k)+1 × 10-7×(rand(1,1)-0.5)×exp(5×(k-1)/300)
X (i, k)=x (i, k)+1 × rand (1,1) × exp (3 × (k-1)/300) × (x (i, k)-x_allbest)/| | X (i, k)-x_allbest | | enter stuffing function, update f (x), T conversion after 5 subsystems of object function value f (X)= [f1,f2...f5],gi(x)=fi(x), i=1,2,3,4,5, then go back to step 3);Otherwise, jump to step 4);
4) update x_best, x_allbest, f_best, f_allbest
5) correlated error amount E, Δ E, Δ are updated2E;Adjustment inertial factor w, parameter k of pid algorithmi, kp, kd, then jump Go to step 2).
Embodiment two:
The present embodiment is essentially identical with embodiment one, is particular in that as follows:
Described operating procedure 2) in, object function f (x) is carried out with the concrete grammar of T conversion:The T of object function f (x) becomes It is changed toHere T transforming function transformation function isUpdate independent variable Xn×dIterative equation Formula is:
Wherein x (i, k) represents that the kth time of i-th subsystem is iterative vectorized, and x_best (i) is i-th subsystem in iteration During desired positions vector, x_allbest is all systems in the desired positions vector of iterative process;Judge x (i, k+1) Whether exceed feasible zone:X < -5.12 or x > 5.12, if so, then exceeds feasible zone, x (i, k+1)=x_allbestK (), updates f (X)=[f1,f2...f5];Otherwise, without departing from feasible zone, f (X)=[f is updated with this iteration result x (i, k+1)1, f2...f5].
Described operating procedure 3) judge whether to enter stuffing function:Rule of judgment is abs (gi(x)-fi(x)) < 1 × 10-15 And m≤300 and fi(x) >=f_allbest, if so, then x (i, k)=x (i, k)+1 × 10-7×(rand(1,1)-0.5)×exp (5×(k-1)/300)
X (i, k)=x (i, k)+1 × rand (1,1) × exp (3 × (k-1)/300) × (x (i, k)-x_allbest)/| | X (i, k)-x_allbest | | enter stuffing function, see if fall out feasible zone, then update f (X)=[f1,f2...f5], T conversion is carried out to f (x).
Described operating procedure 4) update x_best, x_allbest, f_best, f_allbest:If f (i, k+1) < f_best(i), then x_best(i)=x (i, k+1), f_best(i)=f (i, k+1);If f_allbest(k) > f_best(i, k+1), then x_allbest(k)= x_best(i, k+1), f_allbest(k)=f_best(i, k+1) otherwise jumps to step 5).
Described operating procedure 5), correlated error amount E, Δ E, Δ2The more new formula of E and parameter ω, kp、kiAnd kdAdaptive Answer correction formula as follows:
Here η=1 × 10-11, system input R=-20, initialization f (X)=0 × rand (5,1,1).
Embodiment three:
Fig. 1 is algorithm main flow chart, by Fig. 1, F1 is initialized first, then judges whether to terminate algorithm, if not tying Bundle algorithm is pressed Fig. 2 and is updated independent variable X, judges whether X exceeds feasible zone, updates f (x);Then judge whether to enter filling by Fig. 3 Function, judges whether X exceeds feasible zone, updates f (x), carries out T conversion to f (x);Then press Fig. 4 and update x_best, x_allbest, f_best, f_allbest;Then press Fig. 1 and update correlated error amount E, Δ E, Δ2The more new formula of E and parameter ω, kp、kiAnd kd, circulation Repeatedly above-mentioned steps.Based on single loop feedback control system classical shown in Fig. 5, the present invention adopts shown in Fig. 6 based on filling The multiloop feedback control system of function.Fig. 7 is the transforming function transformation function used in algorithmFigure.Fig. 8 isFigure, as can be seen from Fig., F1 has a lot of local minimum points, be not easy to find letter The global minima point of number.Fig. 9 be to F1 conversion afterFigure, transformed rear globally optimal solution is very Prominent, and the local minimum point at edge is weakened, so that global optimizing is become easier to, more precisely.
Figure 10 to Figure 14 is the simulation result that function is made on the basis of F1~F5.In figure curve 1 is APID algorithm (parameter Self-adaptive PID feedback control system optimized algorithm), curve 2 is that (parameter adaptive multiloop PID/feedback controls system to MAPID algorithm System optimized algorithm), curve 3 is that TAPID algorithm (calculate by the self-adaptive parameter PI D feedback control system optimization based on transforming function transformation function Method), curve 4 is TMAPID algorithm (the parameter adaptive multiloop PID/feedback control system optimized algorithm based on transforming function transformation function), Curve 5 is that (the parameter adaptive multiloop PID/feedback control system based on transforming function transformation function and stuffing function is excellent for FTMAPID algorithm Change algorithm, the algorithm that is, present invention discusses).Abscissa is algorithm iteration number of times, and ordinate is the functional value of f (x).From Figure 10 to Figure 14 can find out that the precision of the control system optimized algorithm convergence wherein based on transforming function transformation function and stuffing function can obtain further Improve, it is more preferable that the speed of convergence also becomes.
Here each test function is repeated to test 30 times, count the maximum (MAX) in 30 times, minimum of a value (MIN), become The mean value (AVG) of work(convergence, confidential interval (Confidence Interval, according to 95% confidence level), convergence times N And the CPU time (CPU-TIME).Finally in order to more intuitively describe the problem, give the imitative of four algorithms in same width in figure True curve carries out Performance comparision to facilitate.In experiment, allowable error is SA, i.e. simulation result and reality in setting iterative steps Error between optimal value is then considered successfully to restrain less than SA, does not otherwise restrain (being represented with "/").
The experimental result of table 1 F1Generalized Griewanks function
The experimental result of table 2 F2Goldstein-Price function
The experimental result of table 3 F3Shubert function
The experimental result of table 4 F4Shekel ' s Family function
The experimental result of table 5 F5weierstrassy function
Data from table 1 to table 5 can be seen that relative with the control system optimized algorithm of stuffing function based on transforming function transformation function In above four kinds of control algolithms, decrease the possibility that algorithm is absorbed in optimal value, complete successfully convergence and convergence precision is all fine.
The intelligence control system of multisystem parallel computation be combined with Filled Function Methods based on transforming function transformation function and stuffing function Control system optimized algorithm, on the one hand, both remained the multisystem parallel computation of intelligence control system and the excellent of team learning Point, and overcome the deficiency that intelligence control system algorithm is easily trapped into local best points to a certain extent.On the other hand, intelligence Control system algorithm has stronger local search ability, and stuffing function rule ensure that the overall situation of intelligence control system algorithm Search, thus substantially increase the low optimization accuracy of intelligence control system algorithm.
It is given below corresponding to Figure 10 to Figure 14, as 5 benchmark test functions of optimised function:
1.Generalized Rastrigin function
Function expression:
Hunting zone:-5.12≤xi≤ 5.12 (experiment herein is using 30 dimensions).
Global optimum:Min (F1)=F1 (0 ..., 0)=0.
2.Kowalik function
Function expression:
Hunting zone:-2≤xi≤ 2 (independent variable 4 is tieed up).
Global optimum:min(F2)≈F2(-0.1928,0.1908,0.1231,0.1358)≈3.0749e-4
3.Shubert function
Function expression:
Hunting zone:-10≤xi≤ 10 (independent variable 2 is tieed up).Global optimum:Min (F3)=- 186.7309.
4.Shekel’s Family
Function expression:
C=[0.1 0.2 0.2 0.4 0.4 0.6 0.3 0.7 0.5 0.5]
Hunting zone:0≤xi≤ 10 (independent variable 4 is tieed up).Global optimum:Min (F4)=F4 (4,4,4,4)=- 10.5364.
5.Weierstrass function
Function expression:
A=0.5, b=3, kmax=20
Hunting zone:-5.12≤xi≤ 5.12 (experiment herein is using 10 dimensions).Global optimum:Min (F5)=F5 (0 ... 0)=0.

Claims (5)

1. a kind of intelligence control system optimized algorithm based on transforming function transformation function and stuffing function it is characterised in that operating procedure such as Under:
1) parameters are initialized:Determine initial point X using random distribution in feasible zonen×dInitial value, wherein n is Concurrent control system number, d is the dimension of actual argument, to parameters local minimum points x_best, global minima point x_allbest, local minimum f_best, global minimum f_allbest, inertial factor w, parameter k of pid algorithmi, kp, kd, [0,2] Between constant c1, c2, random number r1, r2Interval initial value, and determine algorithm global cycle number of times MN, enter the sub- journey of stuffing function Maximum times TT of sequence and maximum times ND of stuffing function inner iteration, given d1,d2,d3,d4,d5. make k=1, L=1, m= 1;
2) judge whether to terminate algorithm flow:k>MN or L>TT, if so, then exports global optimum f of object function_allbest, EP (end of program);Otherwise, k=k+1, gi(x)=fi(x), i=1,2,3...n;Update independent variable Xn×dWith the target letter after T conversion Value f (X)=[f of n subsystem of number1,f2...fn] and judge whether vector x exceeds feasible zone;
3) judge whether to enter stuffing function:abs(gi(x)-fi(x)) < d1And m≤ND and fi(x) >=f_allbest, if so, Then x (i, k)=x (i, k)+d2×(rand(1,1)-0.5)×exp(d3(k-1)/ND) x (i, k)=x (i, k)+d4×rand (1,1)×exp(d5(k-1)/ND) × (x (i, k)-x_allbest)/| | x (i, k)-x_allbest | | entrance stuffing function, Update f (x), value f (X)=[f of the n subsystem of object function after T conversion1,f2...fn],gi(x)=fi(x), i=1,2, 3...n, then go back to step 3);Otherwise, jump to step 4);
4) update x_best, x_allbest, f_best, f_allbest
5) correlated error amount E, Δ E, Δ are updated2E;Adjustment inertial factor w, parameter k of pid algorithmi, kp, kd, then jump to step Rapid 2).
2. the intelligence control system optimized algorithm based on transforming function transformation function and stuffing function according to claim 1, its feature It is:Described operating procedure 2) in, object function f (x) is carried out with the concrete grammar of T conversion:The T of object function f (x) is transformed toHere T transforming function transformation function isUpdate independent variable Xn×dIterative equation formula be:
x ( i , k + 1 ) = w ( i ) &CenterDot; x ( i , k ) + k p ( i ) &CenterDot; &Delta; E ( i , k ) + k i ( i ) &CenterDot; E ( i , j ) + k d ( i ) &CenterDot; &Delta; 2 E ( i , k ) + r 1 ( i ) &CenterDot; c 1 ( i ) &CenterDot; ( x _ b e s t ( i ) - x ( i , k ) ) + r 2 ( i ) &CenterDot; c 2 ( i ) &CenterDot; ( x _ a l l b e s t - x ( i , k ) ) - - - ( 1 )
Wherein x (i, k) represents iterative vectorized, the k of kth time of i-th subsystemi, kp, kdIt is the parameter vector of pid algorithm, w is used Sex factor;r1, r2It is the interval random number of initial value design;c1, c2It is constant, general span is [0,2];X_best (i) is I-th subsystem desired positions vector in an iterative process, x_allbest is the desired positions in iterative process for all systems Vector;Judge whether x (i, k+1) exceeds feasible zone:X < s1Or x > s2, if so, then exceed feasible zone, x (i, k+1)= x_allbestK (), updates f (X)=[f1,f2...fn];Otherwise, without departing from feasible zone, with this iteration result x (i, k+1) more New f (X)=[f1,f2...fn], wherein k is used for adding up algorithm cycle-index, and g (x) is used for preserving the value of this f (x), and MN is to calculate The maximum of method cycle-index;L is used for the accumulative number of times entering stuffing function subprogram, and TT allows access into stuffing function subprogram Maximum times;s1, s2Border for independent variable x valid interval.
3. the intelligence control system optimized algorithm based on transforming function transformation function and stuffing function according to claim 1, its feature It is:Described operating procedure 3) judge whether to enter stuffing function, wherein Rule of judgment is:abs(gi(x)-fi(x)) < d1And m ≤ ND and fiX () >=f_allbest, m are used for being accumulated at the number of times of stuffing function inner iteration, ND is in stuffing function inner iteration Maximum times, d1For being set into the maximum of the absolute value of the difference of the adjacent f (x) twice during stuffing function subprogram.
4. the intelligence control system optimized algorithm based on transforming function transformation function and stuffing function according to claim 1, its feature It is:Described operating procedure 4) update x_best, x_allbest, f_bestAnd f_allbest:If f (i, k+1) < f_best(i), then x_best(i)=x (i, k+1), f_best(i)=f (i, k+1);If f_allbest(k) > f_best(i, k+1), then x_allbest(k)= x_best(i, k+1), f_allbest(k)=f_best(i, k+1) otherwise jumps to step 5).
5. the intelligence control system optimized algorithm based on transforming function transformation function and stuffing function according to claim 1, its feature It is:Described operating procedure 5), correlated error amount E, Δ E, Δ2The more new formula of E and parameter ω, kp、kiAnd kdSelf adaptation repair Positive formula is as follows:
E ( i , k ) = R - f ( i , k - 1 ) &Delta; E ( i , k ) = E ( i , k ) - E ( i , k - 1 ) &Delta; 2 E ( i , k ) = E ( i , k ) - 2 &CenterDot; E ( i , k - 1 ) + E ( i , k - 2 ) - - - ( 2 )
&omega; ( i , k + 1 ) = &omega; ( i , k ) - &eta; &CenterDot; &part; f ( x ) &part; x &CenterDot; x ( i , k ) k p ( i , k + 1 ) = k p ( i , k ) - &eta; &CenterDot; &part; f ( x ) &part; x &CenterDot; &Delta; E ( i , k ) k i ( i , k + 1 ) = k i ( i , k ) - &eta; &CenterDot; &part; f ( x ) &part; x &CenterDot; E ( i , k ) k d ( i , k + 1 ) = k d ( i , k ) - &eta; &CenterDot; &part; f ( x ) &part; x &CenterDot; &Delta; 2 E ( i , k ) - - - ( 3 )
Here η is a very little positive number, and R is system input, and f (i, k) represents the kth subsystem output f of i-th subsystem The value of (x).Δ E (i, k) represents kth secondary system error E (i, k) and kth -1 secondary system error E (i, k-1) of i-th subsystem Difference, Δ2E (i, k) represents kth secondary system error E (i, k) and kth -1 secondary system error E (i, k-1) of i-th subsystem The difference of kth -1 secondary system error E (i, k-1) and kth -2 secondary system error E (i, k-2) of difference and i-th subsystem Difference.
CN201610533873.8A 2016-07-08 2016-07-08 Intelligent control system optimization algorithm based on transformation function and filled function Pending CN106406087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610533873.8A CN106406087A (en) 2016-07-08 2016-07-08 Intelligent control system optimization algorithm based on transformation function and filled function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610533873.8A CN106406087A (en) 2016-07-08 2016-07-08 Intelligent control system optimization algorithm based on transformation function and filled function

Publications (1)

Publication Number Publication Date
CN106406087A true CN106406087A (en) 2017-02-15

Family

ID=58006102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610533873.8A Pending CN106406087A (en) 2016-07-08 2016-07-08 Intelligent control system optimization algorithm based on transformation function and filled function

Country Status (1)

Country Link
CN (1) CN106406087A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259753A (en) * 2015-07-21 2016-01-20 湖南城市学院 Optimization method, parameter update module and controlling apparatus
CN105608267A (en) * 2015-12-21 2016-05-25 许昌学院 Multivariable global optimization algorithm

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259753A (en) * 2015-07-21 2016-01-20 湖南城市学院 Optimization method, parameter update module and controlling apparatus
CN105608267A (en) * 2015-12-21 2016-05-25 许昌学院 Multivariable global optimization algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
武冬冬等: "基于神经元网络的多回路控制系统的全局优化算法", 《工业控制计算机》 *
袁亮等: "用填充函数改进的智能控制系统全局优化算法", 《计算机应用》 *

Similar Documents

Publication Publication Date Title
Lopez et al. Robust adaptive control barrier functions: An adaptive and data-driven approach to safety
CN113193556B (en) Short-term wind power prediction method based on probability prediction model
Kouzoupis et al. A block based ALADIN scheme for highly parallelizable direct optimal control
CN105807634B (en) Based on extended state observer nonlinear system event trigger controller design method
US20150370227A1 (en) Controlling a Target System
Kögel et al. Cooperative distributed MPC using the alternating direction multiplier method
Gallegos et al. Convergence of fractional adaptive systems using gradient approach
CN106292291A (en) A kind of electrical network automatic electricity generation control system controller parameter optimization method
Ma et al. Average-reward reinforcement learning with trust region methods
CN106406087A (en) Intelligent control system optimization algorithm based on transformation function and filled function
Qi et al. A method for stochastic L-BFGS optimization
CN103559541A (en) Back propagation method for out-of-order data stream in big data
Lagrat et al. Fuzzy sliding mode PI controller for nonlinear systems
Cetisli et al. Estimation of adaptive neuro-fuzzy inference system parameters with the expectation maximization algorithm and extended Kalman smoother
Van den Broeck et al. Model predictive control for time-optimal point-to-point motion control
JPH04266101A (en) Estimation controller for multivariable model
Yu et al. A fast, fully distributed nonlinear model predictive control algorithm with parametric sensitivity through Jacobi iteration
Aliskan A novel fuzzy PI control approach for nonlinear processes
Praveen et al. Online partially model-free solution of two-player zero sum differential games
Turki et al. A practical tuning approach for multivariable model predictive control
Brunato et al. A memory-based rash optimizer
Lopez et al. Robust adaptive control barrier functions: An adaptive & data-driven approach to safety (extended version)
Li et al. Robust model predictive control via multi-scenario reference trajectory optimization with closed-loop prediction
CN111103797A (en) Software behavior adjusting method based on multi-variable control
CN108549240A (en) A kind of motor speed Optimization about control parameter method and system based on simplex search

Legal Events

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

Application publication date: 20170215