CN102902203A - Time series prediction and intelligent control combined online parameter adjustment method and system - Google Patents

Time series prediction and intelligent control combined online parameter adjustment method and system Download PDF

Info

Publication number
CN102902203A
CN102902203A CN2012103653142A CN201210365314A CN102902203A CN 102902203 A CN102902203 A CN 102902203A CN 2012103653142 A CN2012103653142 A CN 2012103653142A CN 201210365314 A CN201210365314 A CN 201210365314A CN 102902203 A CN102902203 A CN 102902203A
Authority
CN
China
Prior art keywords
formula
control
prediction
parameter
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103653142A
Other languages
Chinese (zh)
Other versions
CN102902203B (en
Inventor
刘经纬
王普
杨蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
Original Assignee
Beijing University of 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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201210365314.2A priority Critical patent/CN102902203B/en
Publication of CN102902203A publication Critical patent/CN102902203A/en
Application granted granted Critical
Publication of CN102902203B publication Critical patent/CN102902203B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention discloses a time series prediction-based wavelet neural network online PID adjustment method and a system using the same. The method specifically comprises the steps of initiating the parameters, computing the control parameters and rectifying the online adjustment parameters, computing the control amount, computing or acquiring the system output and computing the prediction result; the system specifically comprises a control decision device, an online adjuster, a control executer, a controlled object, an online predictor, a control perturbation source and a prediction perturbation source; the control decision device is used for realizing the parameter initiation; the online adjuster is used for computing the control parameters and rectifying the online adjustment algorithm parameters; the control executer is used for computing the control amount; the online predictor is used for computing the prediction result; and the control decision device is also used for judging whether the algorithm is finished. According to the method, the wavelet neural network and the classic control method are combined to solve the problem of dependence on the parameter configuration work before the system operates in the control field, so that the control system has the effects of prediction, learning, online parameter optimization and self-adaptation.

Description

The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control
The skill technical field
The present invention proposes a kind of time series forecasting the parameter on-line tuning method of being combined with Based Intelligent Control and the system that has adopted the method, can be applicable to the fields such as control and Based Intelligent Control, artificial intelligence and aid decision making.
Background technology
Up to the present, the feature of the control method of control scientific research is: the control method of (1) control system is made of control algolithm and control parameter; (2) control algolithm is described with the rule (model, formula) of determining; (3) there are two kinds of forms in the configuration of control parameter and setting method: (3.1) control parameter is carried out initial configuration, is tentatively adjusted and finally adjust before the control system commencement of commercial operation, the control parameter immobilizes such as proportional integral derivative control method, fuzzy control method etc. after the commencement of commercial operation; (3.2) the control parameter is carried out initialization and is tentatively adjusted before the control system commencement of commercial operation, and control system self is adjusted to the control parameter according to the rule of determining and target after the commencement of commercial operation, for example neural network control method; (4) foundation of control parameter adjustment can be divided into again two kinds of situations: (4.1) can adjust methods such as proportional integral derivative control, fuzzy control, ANN (Artificial Neural Network) Control according to history, the currency of each state of control system; (4.2) can also adjust according to the predicted value of state, for example PREDICTIVE CONTROL.
Feature (1) is determined by Mathematical Modeling Methods and Computer Organization Principles.At present Mathematical Modeling Methods is the effective method of describing objective law, and computing machine is to realize the most effective instrument of control.Therefore be subjected to the restriction of above-mentioned two basic subjects development based on control algolithm and the development of the control method of control parameter model.Breakthrough for feature (1) need to break through above-mentioned two Research foundations.
Feature (2) is subjected to Artificial Intelligence Science development constraint to a great extent, because the artificial intelligence main method is mainly in the field of the methods such as inference system, Neurocomputing Science at present, so the pattern of control algolithm is approximate with intelligent algorithm to a great extent.Be breakthrough to artificial intelligence approach for the breakthrough key of feature (2).
This research improves mainly for feature (3) and feature (4), and final wavelet neural network, time series forecasting technology are carried out combination with classical control method, have created a kind of new algorithm.At first the present Research of the classic algorithm that relates to of feature (3) and feature (4) is introduced:
Proportional integral derivative control is the widest control method of classic applications, the core concept of the method is that the embodiment that will control is divided into three kinds of situations, namely execute continuously control, assault and execute control and delay to execute three kinds of modes of control, thereby solve three category features of control system controlled device, namely reach a certain target need to continue stressed, need to be subjected to energetically when starting or when needing fast response, the stressed excessive system that causes is unstable.The advantage of the method is simple in structure, and it is convenient to implement.The problem of the method is lack of wisdom, can't tackle online the variation that control system occurs, and when for example controlled device changed, control system self can't be adjusted the control parameter, thereby tackles this variation; The method self can't targetedly be attempted the optimal control parameter intelligently according to environmental change in addition.
Fuzzy control method can be in advance with for the control parameter configuration of different situations in control system, when situation changes, the control parameter can change the control parameter according to predefined rule, solved the problem of control system Adaptive change, but three class features that can't as classical proportional integral derivative control, tackle controlled device; Same fuzzy control method self also can't targetedly be attempted the optimal control parameter intelligently according to environmental change.
The characteristics of neural network control method are targetedly to attempt intelligently the optimal control parameter according to environmental change, and the process of adjustment parameter can be nonlinear.This method has had certain intelligent, and its reason one is because the algorithm basis of the method is the biology mathematical model of human brain.The problem of the method is three class features that can't tackle controlled device as classical proportional integral derivative control.
The characteristics of forecast Control Algorithm be the control parameter adjustment according to increased control implemented after result's prediction, therefore control has possessed advanced; But the problem of the method is except tackling three class features of controlled device as classical proportional integral derivative control, also exist the method to the Dependence Problem of plant model, if forecast model is inaccurate, it is inaccurate then can to cause predicting the outcome, Forecasting Methodology is based on the mathematical model of controlled device, and the accuracy that predicts the outcome and reliability lack guarantee;
Summary of the invention
The problem that this present invention mainly solves:
The present invention proposes a kind of time series forecasting the parameter on-line tuning method of being combined with Based Intelligent Control and the system that has adopted the method, can be applicable to the fields such as control and Based Intelligent Control, artificial intelligence and aid decision making.The method has solved the Dependence Problem of control field to the front parameter configuration work of system's operation with wavelet neural network and classical control method combination; Output adopts the vector time series method to process to system, so that control method has had prediction effect, and this prediction has the statistical test assurance; This technical scheme combines wavelet neural network and forecasting techniques simultaneously with classical control method, so that control system has had comparatively senior artificial intelligence, have prediction, study, parameter on-line optimization, adaptive effect.
Innovative point of the present invention is:
(1) the employing wavelet neural network has been realized the control parameter on-line optimization to classical control method;
(2) adopted the vector time series method to realize PREDICTIVE CONTROL to control system;
(3) adopted simultaneously the realization of wavelet neural network and vector time series method with the control parameter on-line optimization of prediction effect;
(4) said method that proposes for the present invention has designed the utility model hardware system that adopts the method; Write complete computer simulation program, can verify every effect of the method and control result's stability; This program and subroutine thereof can directly apply in the utility model hardware system that has adopted the method and go;
The technical scheme that the present invention takes:
To achieve these goals, address the above problem, the present invention has taked following technical scheme:
1. the time series forecasting parameter on-line tuning method of being combined with Based Intelligent Control is characterized in that: comprise following 5 steps, namely step 1.0 is to step 1.5:
Step 1.0 parameter initialization:
This step is that each variable that relates in the computation process is given respectively initial value; Comprise following 12 sub-steps, namely step 1.0.1 is to step 1.0.12:
1.0.1 the current execution number of times of set algorithm t, execution total degree T:
When algorithm moves the situation of limited number of time continuously: establish current execution number of times initial value t=1; The value principle of carrying out and adjust total degree T is: operation 0.8T the rear control result of total degree of assurance system (1300) can be stabilized near the control target (1000); Wherein can stable implication be: after the execution number of times reaches 0.8T, control result (1300) y System(t) with control target (1000) r In(t) error between is in ± 3%, referring to formula 1:
| y system ( t ) - r in ( t ) r in ( t ) | < 3 % Formula 1
The method to set up of carrying out and adjust total degree T is:
Carry out total degree T=5000 1.0.1.1 establish;
1.0.1.2 operational system, and carry out T this method Overall Steps, adjust according to operation result again;
If 1.0.1.3 the operation result display algorithm is carried out after 0.8T time, control result (1300) can't be stable at control target (1000), then T is increased 10%, and jumps to step 1.0.1.2;
If 1.0.1.4 the operation result display algorithm namely reaches before the 0.5T control result (1300) y when carrying out number of times after control result (1300) being converged on control target (1000) for a long time System(t) with control target (1000) r In(t) error between then reduces 10% with T in ± 3%, and jumps to step 1.0.1.2;
The result of above-mentioned steps is: operation 0.8T the rear control result of total degree of system (1300) can be stabilized near the control target (1000), and the so far work that arranges of T is finished;
When algorithm moves situation about never stopping continuously: establish current execution number of times initial value t=1; If carry out total degree T=0, this algorithm constantly circulates when T=0, and algorithm can not stop;
1.0.2 set each control target (1000) value r constantly In(t), r In(t) can be a constant r In, also can be the function take t as independent variable;
Start constantly T of prediction 1.0.3 set Predict, T PredictBe positive integer, according to engineering experience, its span is referenced as: 5%T≤T Predict≤ 10%T;
1.0.4 set the number K of the historical data of online prediction algorithm (401) needs Predict, Kpredict is positive integer, its value determines that by the test of hypothesis statistical indicator of on-line prediction algorithm according to engineering experience, its span is referenced as: 10≤K Predict≤ 5%T;
1.0.5 the setting prediction step is L Predict, L PredictBe positive integer, according to engineering experience, its span is referenced as: 1≤L Predict≤ 10%T;
1.0.6 setup control as a result initial value is zero, i.e. y System(t)=0;
1.0.7 setup control prediction of result value is zero, i.e. y Predict(t)=0;
Initial value is zero 1.0.8 setting predicts the outcome, i.e. y Out(t)=0;
1.0.9 set each layer of wavelet neural network neuronal quantity M, Q, L, span generally is M≤10, M≤Q≤5M, in the positive integer interval in L≤M interval;
Wherein M represents the input layer quantity of wavelet neural network, and namely wavelet neural network is made of M input layer; Q represents the hidden layer neuron quantity of wavelet neural network, and namely wavelet neural network is made of Q hidden layer neuron; L represents the output layer neuronal quantity of wavelet neural network, and namely wavelet neural network is made of L output layer neuron;
1.0.10 set input layer, hidden layer, each the neuronic input variable of output layer in the computation process t=1 time net i ( 1 ) ( t ) ( i = 1,2 , . . . , M ) , net j ( 2 ) ( t ) ( j = 1,2 , . . . , Q ) , net k ( 3 ) ( t ) ( k = 1,2 , &CenterDot; &CenterDot; &CenterDot; , L ) , The connection weight value matrix of input layer and hidden layer
Figure BDA00002197800000054
Each neuronic connection weight value matrix of hidden layer output layer
Figure BDA00002197800000055
The activation functions change of scale parameter matrix a of hidden layer neuron j(t) and b j(t) each element in is the at random decimal in 0 to 1 open interval;
Ground floor---the input layer of the upper right footmark of above-mentioned variable " (1) " expression neural network, hidden layer represents with " (2) ", output layer represents with " (3) ", bottom right footmark " i " expression input layer sequence number, " j " expression hidden layer neuron sequence number, " k " expression output layer neuron sequence number;
1.0.11 set learning rate η and the inertial coefficient α of neural network: wherein the span of η is the decimal in 0.01 to 0.7 closed interval; The span of α is the decimal in the 0.01-0.2 closed interval;
1.0.12 the initial value of setup control amount u (t) and margin of error error (t) and time sequential value are zero: u (t)=0, u (t-1)=0, u (t-2)=0, error (t)=0, error (t-1)=0, error (t-2)=0;
Step 1.1 is calculated the control parameter K cAnd correction on-line tuning algorithm parameter w:
This step is according to control target (1000) r In(t) and (1400) y that predicts the outcome Out(t-1), adopt on-line tuning algorithm (101), calculate control parameter (1100) K cAnd revise on-line tuning algorithm parameter w (t+1) (t); On-line tuning algorithm in the parameter on-line tuning method that on-line tuning algorithm (101) employing time series forecasting is combined with Based Intelligent Control perhaps adopts control parameter on-line tuning method non-time-based sequence prediction or non-neural net method on-line tuning control parameter;
Wherein adopt the on-line tuning algorithm steps in the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control as follows,
1.1.1 calculate the control parameter K c:
1.1.1.1 calculate the input of input layer
Figure BDA00002197800000061
The input of input layer
Figure BDA00002197800000062
Calculating referring to formula 46:
net 1 ( 1 ) ( t ) = r in ( t ) net 2 ( 1 ) ( t ) = y out ( t - 1 ) net 3 ( 1 ) ( t ) = error ( t ) Formula 2
Variable wherein
Figure BDA00002197800000064
3 neuronic inputs of expression input layer; 3 neuronic inputs of input layer are respectively (1400) y that predicts the outcome Out(t-1), control target (1000) r In(t), departure error (t), the calculating of error (t) is referring to formula 47:
Error (t)=y Out(t-1)-r In(t) formula 3
1.1.1.2 calculate the output of input layer
Figure BDA00002197800000065
The output of neural network input layer
Figure BDA00002197800000066
Calculating referring to formula 48:
O i ( 1 ) ( t ) = net i ( 1 ) ( t ) , (i=1,2,3) formula 4
Wherein, variable is used respectively in input layer, hidden layer, each neuronic output of output layer
Figure BDA00002197800000068
( i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , M ) , O j ( 2 ) ( t ) ( j = 1,2 , &CenterDot; &CenterDot; &CenterDot; , Q ) , O k ( 3 ) ( t ) ( k = 1,2 , &CenterDot; &CenterDot; &CenterDot; , L ) Expression;
1.1.1.3 calculate the input of hidden layer
The input of neural network hidden layer
Figure BDA000021978000000613
Calculating referring to formula 49:
net j ( 2 ) ( t ) = &Sigma; i = 1 M w ij ( 2 ) ( t ) &CenterDot; O i ( 1 ) ( t ) , (i=1,2 ..., Q) formula 5
Wherein
Figure BDA000021978000000615
Weighting weights between expression i neuron of input layer and j neuron of hidden layer;
1.1.1.4 calculate the output of hidden layer
Figure BDA000021978000000616
The output of neural network hidden layer Calculating referring to formula 50:
O j ( 2 ) ( t ) = &psi; a , b ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) , (j=1,2 ..., Q) formula 6
ψ wherein A, b(t) be wavelet function, i.e. the activation functions of hidden layer neuron; a j(t), b j(t) be wavelet function change of scale parameter, i.e. the activation functions change of scale parameter of hidden layer neuron; Get the wavelet function ψ that satisfies the framework condition A, bThe computing method of (t), seeing are referring to formula 51:
&psi; a , b ( t ) = cos ( 1.75 t ) &CenterDot; e - t 2 2 Formula 7
ψ A, bThe computing method of a mediation number (t) are referring to formula 52:
&psi; a , b &prime; ( t ) = - 1.75 &CenterDot; sin ( 1.75 t ) &CenterDot; e - t 2 2 - t &CenterDot; cos ( 1.75 t ) &CenterDot; e - t 2 2 Formula 8
Wherein sin (x), cos (x) represent respectively sine function and the cosine function value of x;
1.1.1.5 calculate the input of output layer
Figure BDA00002197800000074
The input of neural network output layer
Figure BDA00002197800000075
Calculating referring to formula 53:
net k ( 3 ) ( t ) = &Sigma; j = 1 Q w jk ( 3 ) ( t ) &CenterDot; O j ( 2 ) ( t ) , (k=1,2 ..., L) formula 9
Wherein
Figure BDA00002197800000077
Weighting weights between expression j neuron of hidden layer and k neuron of output layer;
1.1.1.6 calculate the output of output layer
Figure BDA00002197800000078
The output of neural network output layer
Figure BDA00002197800000079
Calculating referring to formula 54:
O k ( 3 ) ( t ) = g ( net k ( 3 ) ( t ) ) , (k=1,2 ..., L) formula 10
Wherein g (x) gets non-negative Sigmoid function for the neuronic activation functions of output layer, and the calculating of g (x) is referring to formula 55:
g ( x ) = = e x e x + e - x Formula 11
The calculating of its first order derivative of g (x) is referring to formula 56:
g &prime; ( x ) = = 2 ( e x + e - x ) 2 Formula 12
1.1.1.7 calculate control parameter (1100) K p(t), K i(t), K d(t):
Control parameter (1100) K p(t), K i(t), K d(t) calculating is referring to formula 57:
K p ( t ) = O 1 ( 3 ) ( t ) K i ( t ) = O 2 ( 3 ) ( t ) K d ( t ) = O 3 ( 3 ) ( t ) Formula 13
Wherein, K p(t), K i(t), K d(t) be control parameter (1100) K that the neuronic input of output layer corresponds to respectively classical proportional integral derivative control method c(t);
1.1.1.8 control parameter K c(t) calculate end;
1.1.2 revise on-line tuning algorithm parameter w (t):
On-line tuning algorithm parameter w (t) in the on-line tuning algorithm in the online PID setting method of wavelet neural network comprises following four parameters: the weighting weights between i neuron of input layer and j neuron of hidden layer
Figure BDA00002197800000082
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure BDA00002197800000083
Wavelet function change of scale parameter a j(t), b j(t); Namely
Figure BDA00002197800000084
Figure BDA00002197800000085
a j(t), b j(t) };
The step 1.1.2.1 error of calculation and performance index:
The calculating of error e rror (t) is referring to formula 58:
Error (t)=y Out(t-1)-r In(t) formula 14
The calculating of performance index E (t) is referring to formula 59:
E ( t ) = 1 2 error 2 ( t ) = 1 2 ( r in ( t ) - y out ( t - 1 ) ) 2 Formula 15
Step 1.1.2.2 adopts gradient descent method to the weights coefficient between neural network hidden layer and the output layer
Figure BDA00002197800000087
Adjust:
Weights coefficient between hidden layer and the output layer
Figure BDA00002197800000088
Correction
Figure BDA00002197800000089
Calculating referring to formula 60:
&Delta; w jk ( 3 ) ( t ) = &alpha; &CenterDot; &Delta; w jk ( 3 ) ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; w jk ( 3 ) ( t ) Formula 16
In the formula 60, Computing formula referring to formula 61:
&PartialD; E ( t ) &PartialD; w ( t ) jk ( 3 ) ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; w jk ( 3 ) ( t ) Formula 17
In the formula 61,
Figure BDA00002197800000092
Calculating referring to formula 62:
&PartialD; E ( t ) &PartialD; y out ( t ) = error ( t ) &CenterDot; &PartialD; error ( t ) &PartialD; y out ( t ) = error ( t ) Formula 18
In the formula 61, because
Figure BDA00002197800000094
The unknown is with approximate sign function Replace, Calculating referring to formula 63;
&PartialD; yout ( t ) &PartialD; &Delta;u ( t ) = sgn ( &PartialD; yout ( t ) &PartialD; &Delta;u ( t ) ) Formula 19
The sign function value of sgn (x) expression x wherein, if i.e. x>o then sgn (x)=1, if x=o then sgn (x) if=0 x<0 then sgn (x)=-1;
In the formula 61,
Figure BDA00002197800000098
Calculating referring to formula 64:
&PartialD; u ( t ) &PartialD; O 1 ( 3 ) ( t ) = error ( t ) - error ( t - 1 ) &PartialD; u ( t ) &PartialD; O 2 ( 3 ) ( t ) = error ( t ) &PartialD; u ( t ) &PartialD; O 3 ( 3 ) ( t ) = error ( t ) - 2 &CenterDot; error ( t - 1 ) + error ( t - 2 ) Formula 20
In the formula 61,
Figure BDA000021978000000910
Calculating referring to formula 65:
&PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) = g &prime; ( net k ( 3 ) ( t ) ) Formula 21
In the formula 61,
Figure BDA000021978000000912
Calculating referring to formula 66:
&PartialD; net k ( 3 ) ( t ) &PartialD; w jk ( 3 ) ( t ) = O j ( 2 ) ( t ) Formula 22
In sum,
Figure BDA000021978000000914
Computing formula can be expressed as formula 67:
&PartialD; E ( t ) &PartialD; w jk ( 3 ) ( t ) = error ( t ) &CenterDot; sgn ( &PartialD; y ( t ) &PartialD; &Delta;u ( t ) ) &CenterDot; &PartialD; &Delta;u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; g &prime; ( net k ( 3 ) ( t ) ) &CenterDot; O j ( 2 ) ( t ) Formula 23
In sum,
Figure BDA00002197800000102
Computing formula can be expressed as formula 68:
&Delta; w jk ( 3 ) ( t ) = &alpha; &CenterDot; &Delta; w jk ( 3 ) ( t - 1 ) &PlusMinus; &eta; &CenterDot; &delta; k ( 3 ) ( t ) &CenterDot; O j ( 2 ) ( t ) Formula 24
Wherein,
Figure BDA00002197800000104
Calculating referring to formula 69:
&delta; k ( 3 ) ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Formula 25
= error ( t ) &CenterDot; sgn ( &PartialD; y ( t ) &PartialD; u ( t ) ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; g &prime; ( net k ( 3 ) ( t ) ) ( k = 1,2 , 3 )
1.1.2.3 adopt gradient descent method to the weights coefficient between neural network input layer and the hidden layer
Figure BDA00002197800000107
Adjust:
Calculate the weights coefficient between input layer and the hidden layer
Figure BDA00002197800000108
Modified value
Figure BDA00002197800000109
See formula 70:
&Delta; w ij ( 2 ) ( t ) = &alpha; &CenterDot; &Delta; w ij ( 2 ) ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) Formula 26
In the formula 70, Calculating referring to formula 71:
&PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t )
&CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) &CenterDot; &PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t ) Formula 27
= &delta; k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) &CenterDot; &PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t )
In the formula 71, Calculating referring to formula 72:
&PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) = w jk ( 3 ) ( t ) Formula 28
In the formula 71,
Figure BDA00002197800000112
Calculating referring to formula 73:
&PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) = &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; 1 a j ( t ) Formula 29
In the formula 71, Calculating referring to formula 74:
&PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t ) = O i ( 1 ) ( t ) Formula 30
In sum, Computing formula can be expressed as formula 75:
&PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &CenterDot; &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; 1 a j ( t ) &CenterDot; O i ( 1 ) ( t ) Formula 31
In the formula 75
Figure BDA00002197800000118
In formula 69, provide;
1.1.2.3 calculate the activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t):
The activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t) computing formula can be expressed as formula 76:
&Delta;a j ( t ) = &alpha; &CenterDot; &Delta;a j ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; a j ( t ) Formula 32
In the formula 76,
Figure BDA000021978000001110
Calculating referring to formula 77:
&PartialD; E ( t ) &PartialD; a j ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; a j ( t ) Formula 33
In the formula 77, &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Calculating referring to formula 69:
In the formula 77,
Figure BDA00002197800000121
Calculating referring to formula 72:
In the formula 77,
Figure BDA00002197800000122
Calculating referring to formula 78:
&PartialD; O j ( 2 ) &PartialD; a j ( t ) = &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; ( - net j ( 2 ) ( t ) - b j ( t ) a j 2 ( t ) ) Formula 34
In sum,
Figure BDA00002197800000124
Computing formula can be expressed as formula 79:
&PartialD; E ( t ) &PartialD; a j ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &CenterDot; &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; ( - net j ( 2 ) ( t ) - b j ( t ) a j 2 ( t ) ) Formula 35
1.1.2.4 calculate the activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t):
The activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t) computing formula can be expressed as formula 80:
&Delta; b j ( t ) = &alpha; &CenterDot; &Delta; b j ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; b j ( t ) Formula 36
In the formula 80,
Figure BDA00002197800000127
Calculating referring to formula 81:
&PartialD; E ( t ) &PartialD; b j ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; b j ( t ) Formula 37
In the formula 80, &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Calculating referring to formula 69:
In the formula 80,
Figure BDA000021978000001210
Calculating referring to formula 72:
In the formula 80,
Figure BDA000021978000001211
Calculating referring to formula 82:
&PartialD; O j ( 2 ) ( t ) &PartialD; b j ( t ) = &psi; a , b &prime; ( net j p ( t ) - b j ( t ) a j ( t ) ) ( - 1 a j ( t ) ) Formula 38
In sum,
Figure BDA00002197800000131
Computing formula can be expressed as formula 83:
&PartialD; E ( t ) &PartialD; b j ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &CenterDot; &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) ( - 1 a j ( t ) ) Formula 39
Arrive w (t+1) 1.1.2.5 revise on-line tuning algorithm parameter w (t):
The on-line tuning algorithm parameter that current the t time calculating uses is:
Figure BDA00002197800000133
Figure BDA00002197800000134
Aj (t), b j(t) }; Revised result be calculate for the t+1 time the on-line tuning algorithm parameter w (t+1) that will use= { w ij ( 2 ) ( t + 1 ) , w jk ( 3 ) ( t + 1 ) , a j(t+1),b j(t+1)}
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure BDA00002197800000137
Corrected Calculation referring to formula 84:
w jk ( 3 ) ( t + 1 ) = w jk ( 3 ) ( t ) + &Delta; w jk ( 3 ) ( t ) Formula 40
Weighting weights between i neuron of input layer and j neuron of hidden layer
Figure BDA00002197800000139
Corrected Calculation referring to formula 85:
w ij ( 2 ) ( t + 1 ) = w ij ( 2 ) ( t ) + &Delta; w ij ( 2 ) ( t ) Formula 41
The activation functions change of scale parameter a of hidden layer neuron j(t) corrected Calculation is referring to formula 86:
a j(t+1)=a j(t)+Δ a j(t) formula 42
The activation functions change of scale parameter b of hidden layer neuron j(tt) corrected Calculation is referring to formula 87:
b j(t+1)=b j(t)+Δ b j(t) formula 43
Step 1.2 is calculated controlled quentity controlled variable u (t):
This step adopts control algolithm (201), calculates controlled quentity controlled variable (1200) u (t);
Step 1.3 gathers or computing system output y Sjstem(t):
This step calculates control result (1300) y System(t) or directly collect control result (1300) y System(t);
Step 1.4 is calculated the y that predicts the outcome Out(t):
This step adopts on-line prediction algorithm (401), calculates (1400) y that predicts the outcome Out(t);
Whether step 1.5 evaluation algorithm finishes:
Algorithm is unclosed situation still: if T=0, if perhaps T ≠ 0 and t<T, then t=t+1 jumps to step 1.1, has so far finished the t time calculating;
The situation that algorithm finishes: if T ≠ 0 and t 〉=T have so far finished whole T time and calculated;
2. the step 1.2 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control is calculated controlled quentity controlled variable, it is characterized in that:
The input of algorithm is control parameter (1100) K c(t), controlled quentity controlled variable (1200) u (t) and error e rror (t) time sequential value;
The output of algorithm is controlled quentity controlled variable (1200) u (t);
Control algolithm (201) can employing, positional PID control calculation, increment type PID control algolithm, FUZZY ALGORITHMS FOR CONTROL, expert's control algolithm;
When adopting the increment type PID control algolithm, the calculating of u (t) is referring to formula 44:
U (t)=u (t-1)+K p(t) (error (t)-error (t-1)+K i(t) error (t) formula 44
+K d(t)·(error(t)-2error(t-1)+error(t-2))
3. the step 1.3 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control gathers or computing system output, it is characterized in that:
When this system was the situation of Computer Simulation application, controlled device (300) adopted the control system controlled device mathematical model of determining, the input of this mathematical model is controlled quentity controlled variable u (t), and the result who draws by Computer Simulation is as a result y of control System(t); Above-mentioned Computer Simulation namely by controlled device being set up continuous transfer function model, and then adopts z conversion to carry out discretize to this continuous transport function, obtains according to u (t) and y System(t) time sequential value calculates y System(t) computing formula; The z conversion realizes by c2d () function and tfdata () function in Matlab; The specific implementation process sees also embodiment part in the patent specification;
When this system is the situation of true control system: therefore control as a result y System(t) do not obtain by Computer Simulation, but obtain by true control system output is sampled;
4. the step 1.4 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control is calculated and is predicted the outcome, and it is characterized in that:
Judge at first whether current t arrives to start to predict it is to start constantly T of prediction constantly Predict:
If current t is constantly less than starting constantly T of prediction Predict, then do not start prediction, control result (1300) y System(t) directly serve as (1400) y that predicts the outcome Our(t), i.e. y Out(t)=y System(t);
If current t is constantly more than or equal to starting constantly T of prediction Predict, then start prediction, gather control disturbance amount (1500) r of control disturbance source (500) generation of current time Oef(t) and prediction disturbance quantity (1600) r that produces of prediction disturbing source (600) Orf(t);
The input of on-line prediction algorithm (401) is respectively: the time series K of control parameter (1100) c(t), K c(t-1), K c(t-2) ..., K c(t-K Predict), time series u (t), the u (t-1) of controlled quentity controlled variable (1200), u (t-2) ..., u (t-K Predict), control the result (1300) time series y System(t), y System(t-1), y System(t-2) ..., y System(t-K Predict), the time series r of control disturbance amount (1500) Oef(t), r Oef(t-1), r Oef(t-2) ..., r Oef(t-K Predict), the prediction disturbance quantity (1600) time series r Orf(t), r Otf(t-1), r Orf(t-2) ..., r Orf(t-K Predict);
Wherein, control disturbance source (500) be except controlled quentity controlled variable (1200) to other devices in the controling environment of controlled device generation effect; Prediction disturbing source (600) be except control parameter (1100), controlled quentity controlled variable (1200), control the result (1300) to on-line prediction device (400) exert an influence control environment in other devices; Control disturbance amount (1500) is to react on controlled device (300) by what control disturbance source (500) produced with controlled quentity controlled variable (1200), and the input that its output is exerted an influence, in ideal conditions, and control disturbance amount (1500) r Oef(t) can for constant 0, namely ignore; Wherein, prediction disturbance quantity (1600) be produced by prediction disturbing source (600) with control parameter (1100), controlled quentity controlled variable (1200), control result (1300) reacts on on-line prediction device (400), and the input that the output of on-line prediction algorithm (401) is exerted an influence, in the ideal case, namely can ignore in the situation of the disturbing influence of other devices in the control system internal and external environment, control disturbance source (500) and prediction disturbing source (600) can be ignored, namely there are not control disturbance source (500) and prediction disturbing source (600), at this moment control disturbance amount (1500) r Oef(t) and prediction disturbance quantity (1600) r Orf(t) be constant 0;
The output of on-line prediction algorithm (401) is control prediction of result value (1401) y Predict(t);
Current t is constantly more than or equal to starting constantly T of prediction PredictIn this case, will control prediction of result value (1401) y Predict(t) as predicting the outcome (1400) y Our(t), i.e. y Out(t)=y Predict(t);
In sum, (1400) y predicts the outcome Our(t) value is seen formula 45:
y out ( t ) = y system ( t ) , t < T predict y predict ( t ) , t &GreaterEqual; T predict Formula 45
5. on-line prediction algorithm according to claim 4 (401) is characterized in that:
It is VARMA method, neural net prediction method, linear regression Forecasting Methodology, non-linear regression Forecasting Methodology, curvilinear function approximating method that on-line prediction algorithm (401) can adopt classical vector time series Forecasting Methodology, also can adopt satisfied input is that output is the prediction algorithm of control prediction of result value (1401) by time series control parameter (1100), time series controlled quentity controlled variable (1200), time series control result (1300), time series control disturbance amount (1500), time series forecasting disturbance quantity (1600);
When adopting the VARMA algorithm, the span of nAR and nMA parameter is the positive integer in 5 to 10 closed intervals; The VARMA prediction algorithm is realized by vgxset (), vgxvarx (), three functions of vgxpred () in Matlab; The specific implementation process sees also embodiment part in the patent specification;
6. adopted the system of the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control, it is characterized in that: by the 〇 device that---------------on-line prediction device (400), the 5th device---control disturbance source (500) and the 6th device---predict that (600) seven groups of devices of disturbing source form for controlled device (300), the 4th device for control actuator (200), the 3rd device for on-line tuning device (100), the second device for control decision device (0), first device;
1.1 respectively organize the inner formation of device and input, output interface situation:
1.1.0 the 〇 device--control decision device (0) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server or portable terminal;
When the 〇 device---when control decision device (0) adopted computing machine (1), its output interface can be Ethernet interface, by netting twine and the network switching equipment and first device---the input interface of on-line tuning device (100) is connected;
1.1.1 first device---on-line tuning device (100) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server;
When first device---when on-line tuning device (100) adopts computing machine (100), two input interface can be Ethernet interface, by netting twine and the network switching equipment and 〇 device---control decision device (0), the 4th device---output interface of on-line prediction device (400) is connected; Two output interface can be Ethernet interface, and the input interface of on-line prediction device (400) is connected---to control actuator (200), the 4th device---by netting twine and the network switching equipment and the second device; Above-mentioned Ethernet interface can multiplexing same Ethernet interface;
1.1.2 the second device---control actuator (200) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server or PID controller cooperation frequency converter or driver;
When the second device---when control actuator (200) adopts PLC programmable logic controller (PLC) (201) and frequency converter (202), its input interface can be the Ethernet interface of PLC programmable logic controller (PLC) (201), by netting twine and the network switching equipment and first device---and the output interface of on-line tuning device (100) is connected; Its output interface can be that (202) three in frequency converter exchanges output interface, installs with the 3rd by cable---the input interface of controlled device (300) is connected;
The second device---the annexation of control actuator (200) interior arrangement is as follows: between PLC programmable logic controller (PLC) (201) and the frequency converter (202), can be connected by RS485 interface or Ethernet interface or industrial bus interface;
The second device---control actuator (200) is as retransmission unit, realization is from the 6th device, and------connection of on-line prediction device (400) is meticulous with the course of work to be: PLC programmable logic controller (PLC) (201) can receive from the 6th device as input interface by sensor interface---predict the information of disturbing source (600), and install to the 4th by Ethernet interface---, and on-line prediction device (400) is transmitted to predict that disturbing source (600) installs to the 4th;
1.1.3 the 3rd installs---controlled device (300) can be motor or temperature control device or voltage-controlled devices or electromagnetic field or production system or economic system;
When the 3rd device---when controlled device (300) adopts motor (301), load fan (302) and during speed measuring coder (303), one of them input interface can be that three of motor (301) exchange input interface, by cable and the second device---three of control actuator (200) exchange output interface and are connected; Wherein another input is the 5th device that load fan (302) is subject to---the disturbance of the air of the rapid flow of cooling fan (501) output of control disturbance source (500); The input interface of on-line prediction device (400) is connected the 3rd device---RS232 that controlled device (300) output interface can be by speed measuring coder (303) or Ethernet or industrial bus interface and the 4th install---;
The 3rd installs---and the annexation of controlled device (300) interior arrangement is as follows: motor (301) moment of torsion output main shaft is connected by the moment of torsion entering spindle of gearing with load fan (302), motor (301) band dynamic load fan (302) rotates, thereby consists of one group of output and the relation of inputting; The moment of torsion entering spindle of load fan (302) is fixed with again the code-disc of speed measuring coder (303) simultaneously, and fan (302) rotation drives code-disc and rotates, thereby consists of one group of output and the relation of inputting;
Can produce heat in motor (301) course of work, affect the serviceability of motor, and then the result of impact prediction; Therefore can produce heat in motor (301) course of work and can be used as the 4th device---one of input of on-line prediction device (400); This heat dissipation problem solves by cooling fan (501), cooling fan (501) also produces load fan (302) when solving heat dissipation problem and disturbs, and therefore the 5th installs---and the output of control disturbance source (500) also is one of input of load fan (302);
1.1.4 the 4th installs---on-line prediction device (400) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC or computing machine or server;
When the 4th device---when on-line prediction device (400) adopts computing machine (401), two input interface can be Ethernet interface, and the Ethernet output interface of the PLC programmable logic controller (PLC) (201) of---on-line tuning device (100), second device---control actuator (200) is connected by netting twine and the network switching equipment and first device; Be connected by RS232 or Ethernet or industrial bus interface between the speed measuring coder (303) of its another input interface and controlled device (300);
1.1.5 the 5th device---control disturbance source (500) can be the devices that affects the device of Air Flow or affect the device of humidity, the device that affects temperature, barrier, generation interference;
When the 5th device---when control disturbance source (500) adopt cooling fan (501), its fan rotates the moving air that produces motor (301) is lowered the temperature, also can exert an influence to load fan (302) simultaneously, namely as one of input of load fan (302);
1.1.6 the 6th device---prediction disturbing source (600) can be the device that affects the device of Air Flow or affect the device of humidity, the device that affects temperature, barrier, generation interference.
When thinking the 6th device---when one of prediction disturbing source (600) was the thermal value of motor (301), the input of temperature sensor (601) was the temperature of motor (301); The three-wire system connection is adopted in the output of temperature sensor (601) and the second device---the sensor input interface of the PLC programmable logic controller (PLC) (201) of control actuator (200) is connected;
1.2 respectively organize annexation and signal transitive relation between device:
Control decision device (0) is output as control target (1000) r of system InThis control target (1000) is connected with the input of on-line tuning device (100), becomes one of input of on-line tuning device (100); Two of the input of on-line tuning device (100) is (1400) y that predict the outcome OurOn-line controller calculates control parameter (1100) K according to control target (1000) and predict the outcome (1400) by on-line tuning algorithm (101) c, this control parameter (1100) is the input of control actuator (200), is again one of input of on-line prediction device (400); Control actuator (200) calculates controlled quentity controlled variable (1200) u according to the control parameter (1100) of its input by control algolithm, and this controlled quentity controlled variable (1200) is one of input of controlled device (300), be again on-line prediction device (400) input two; Two of the input of controlled device (300) is control disturbance amount (1500) r that control disturbance source (500) produces Oef, controlled device (300) produces control result (1300) y under the acting in conjunction of controlled quentity controlled variable (1200) and these two inputs of control disturbance amount (1500) System, this control result (1300) be on-line prediction device (400) input three; Four of the input of on-line prediction device (400) is prediction disturbance quantity (1600) r that produced by prediction disturbing source (600) Orf, on-line prediction device (400) is according to control parameter (1100), controlled quentity controlled variable (1200), control result (1300), prediction disturbance quantity (1600) r OrfThe time series history value, calculate control prediction of result value (1401) y by on-line prediction algorithm (401) PredictWith (1400) y that predicts the outcome Out, this (1400) input as on-line tuning device (100) that predicts the outcome;
1.3 the course of work after system starts is as follows:
After system starts each installed according to 1.3.0 process 0 to 1.3.5 process 5 these six process operations:
1.3.0 process 0:
〇 device---control decision device (0) is realized step 1.0 parameter initialization of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control ";
1.3.1 process 1:
First device---on-line tuning device (100) is realized the step 1.1 calculating control parameter K of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " cAnd correction on-line tuning algorithm parameter w;
1.3.2 process 2:
The second device---control actuator (200) is realized " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.2 calculating controlled quentity controlled variable u (t);
1.3.3 process 3:
The 3rd device---controlled device (300) realizes that " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.3 gathers or computing system output y System(t);
1.3.4 process 4:
The 4th device---on-line prediction device (400) realization " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.4 is calculated the y that predicts the outcome Out(t);
1.3.5 process 5:
〇 device---control decision device (0) realizes according to parameters, state and the output of current system whether " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.5 evaluation algorithm finishes.
Advantage compared with prior art of the present invention:
The parameter on-line tuning method and system advantage compared with prior art that the time series forecasting that the present invention proposes is combined with Based Intelligent Control is as follows: (1) is compared with the proportional integral derivative control method of classics, the method has the on-line tuning ability, the control parameter can be realized tentatively arranging before control system is moved and control system can be started, system is in operational process, can be according to controlled device and the characteristics that control environment, Automatic Optimal control parameter, realize the more control target of optimization, the control target not only can be control output, also can be the self-defining performance function value of formulating according to control system each several part state value; (2) compare with fuzzy control method, the method has the ability of intelligence learning, need not to provide clear and definite control parameter rule before system's operation, controller can be according to situation and the characteristics of system's operation, on-line study produces the control tuning method, and will be imposed in the computation process of control parameter; (3) compare with neural network control method, the learning functionality of the method has the characteristic that can not be absorbed in local minimum point; (4) compare with PREDICTIVE CONTROL, this algorithm can be broken away from the dependence to the plant model degree of accuracy; (5) compare with existing on-line tuning PID method, the method has more senior intelligence learning ability, need not to provide clear and definite Optimization about control parameter rule before system's operation, controller can be according to situation and the characteristics of system's operation, on-line study produces the Optimization about control parameter rule, and will be imposed in the computation process of control parameter;
Description of drawings
Accompanying drawing 1 has adopted the structural drawing of the system of the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control
The parameter on-line tuning method flow diagram that accompanying drawing 2 time series forecastings are combined with Based Intelligent Control
The device annexation figure of accompanying drawing 3 systems
Embodiment
Provide one embodiment of the present of invention below in conjunction with accompanying drawing 1 to accompanying drawing 3: the disturbance rejection Motor Rotating Speed Control System.The control target of this system is to wish before system's operation, only needs rough configuration control parameter to get final product start-up system.In system's operational process, according to actual working environment and disturbed condition, the online control parameter of adjusting, the load that motor is dragged reaches as early as possible and is stable at rotating speed of target.
(1) lectotype selection:
The model of the computing machine that adopts in the present embodiment as shown in Figure 1, (1), computing machine (101) and computing machine (401) is IBM x3650; The model that the PLC programmable logic controller (PLC) (201) of control actuator (200) adopts is Siemens S7-400, and the model that frequency converter (202) adopts is Siemens MM430; Motor (301) adopts Siemens 1LG0090-4AA21; Load fan (302) and cooling fan (501) all adopt Siemens fan of frequency converter W2D210-EA10-11; Temperature sensor (601) adopts the Pt100 temperature sensor;
(2) equipment connection:
Use netting twine the Ethernet network interface of computing machine (1), computing machine (101) and computing machine (401) and PLC programmable logic controller (PLC) (201) to be connected to each network interface of same switch;
Be connected by the RS485 interface between PLC programmable logic controller (PLC) (201) and the frequency converter (202); Three of frequency converter (202) exchange output interfaces, and three by cable and motor (301) exchange input interface and are connected;
Motor (301) moment of torsion output main shaft is connected by the moment of torsion entering spindle of gearing with load fan (302), and motor (301) band dynamic load fan (302) rotates; The moment of torsion entering spindle of load fan (302) is fixed with again the code-disc of speed measuring coder (303) simultaneously, and fan (302) rotates and drives the code-disc rotation;
The thermal value of motor (301) can exert an influence to motor (301) rotating speed, and temperature sensor (601) is deployed in the upper collecting temperature that is used for of motor (301); The output of temperature sensor (601) adopts the three-wire system connection to be connected with the sensor input interface of PLC programmable logic controller (PLC) (201); PLC programmable logic controller (PLC) (201) receives information from temperature sensor (601) by sensor interface as input interface, and transmits to the computing machine (401) of on-line prediction device (400) by Ethernet interface;
Cooling fan (501) rotates the moving air that produces lowers the temperature to motor (301), also can exert an influence to load fan (302) simultaneously;
Control decision device (0) is used for parameter on-line tuning method step 1.0 parameter initialization that the realization time series forecasting is combined with Based Intelligent Control; On-line tuning device (100) has adopted on-line tuning algorithm (101), is used for implementation method step 1.1 and calculates the control parameter K cAnd correction on-line tuning algorithm parameter w; Control actuator (200) has adopted control algolithm (201), is used for implementation method step 1.2 and calculates controlled quentity controlled variable u (t); Controlled device (300) is reached the control target for generation of control system output, is used for the collection of implementation method step 1.3 or computing system output y System(t); On-line prediction device (400) has adopted on-line prediction algorithm (401), is used for performing step 1.4 and calculates the Yout (t) that predicts the outcome;
(3) course of work after system starts is as follows:
After system starts each installed according to 1.3.0 process 0 to 1.3.5 process 5 these six process operations:
1.3.0 process 0:
〇 device---control decision device (0) is realized step 1.0 parameter initialization of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control ":
Above-mentioned steps 1.0 is given respectively initial value for each variable that relates in the computation process; Comprise following 12 sub-steps, namely step 1.0.1 is to step 1.0.12:
The current execution number of times of step 1.0.1 set algorithm t, execution total degree T:
Present embodiment belongs to algorithm and moves continuously situation about never stopping: establish current execution number of times initial value t=1; If carry out total degree T=0, this algorithm constantly circulates when T=0, can not stop;
Step 1.0.2 sets each control target (1000) value r constantly In(t)=1; Control target implication in this embodiment is the rotating speed of the motor drag object that obtains of expectation, 1000 rev/mins of 1 expressions;
Step 1.0.3 sets and starts constantly T of prediction Predict=51;
Step 1.0.4 sets the number K of the historical data of online prediction algorithm (401) needs Predict=50;
It is L that step 1.0.5 sets prediction step Predict=10;
Step 1.0.6 setup control as a result initial value is zero, i.e. y System(t)=0; y System(t) represent that in this embodiment motor drags the in real time true rotating speed of load;
Step 1.0.7 setup control prediction of result value is zero, i.e. y Predict(t)=0; y Predict(t) represent that in this embodiment motor drags the predicted value of load speed
It is zero that step 1.0.8 sets the initial value that predicts the outcome, i.e. y Out(t)=0, y Out(t) the on-line tuning device that is used for of expression predictive controller output drags load speed as the motor of inputting;
Step 1.0.9 sets each layer of wavelet neural network neuronal quantity M=3, Q=10, L=3;
Wherein M represents the input layer quantity of wavelet neural network, and namely wavelet neural network is made of M input layer; Q represents the hidden layer neuron quantity of wavelet neural network, and namely wavelet neural network is made of Q hidden layer neuron; L represents the output layer neuronal quantity of wavelet neural network, and namely wavelet neural network is made of L output layer neuron;
When wavelet neural network combines with the PID control method, can be with (1400) y that predicts the outcome Out(t-1), control target (1000) r In(t), departure error (t) is as the input of neural network, this moment M=3; Can also with constant 1 also as the input one of, this moment M=4, M=5,6 ... situation by that analogy; Can be with control parameter (1100) K of PID control method c(t) be scale parameter K p(t), integral parameter K i(t), differential parameter K d(t) as the output of neural network, this moment L=3; Can also with constant 1 also as output one of, this moment L=4, L=5,6 ... situation by that analogy; Hidden layer node is counted certain value that Q can be in being made as 8-12, establishes Q=10 herein;
Step 1.0.10 sets input layer, hidden layer, each the neuronic input variable of output layer in the computation process t=1 time net i ( 1 ) ( t ) ( i = 1,2 . . . , M ) net j ( 2 ) ( t ) ( 1,2 . . . , M ) net k ( 3 ) ( t ) ( k = 1,2 , . . . , L ) , The connection weight value matrix of input layer and hidden layer
Figure BDA00002197800000244
Each neuronic connection weight value matrix of hidden layer output layer
Figure BDA00002197800000245
The activation functions change of scale parameter matrix a of hidden layer neuron j(t) and b j(t) each element in is the at random decimal in 0 to 1 open interval;
Ground floor---the input layer of the upper right footmark of above-mentioned variable " (1) " expression neural network, hidden layer represents with " (2) ", output layer represents with " (3) ", bottom right footmark " i " expression input layer sequence number, " j " expression hidden layer neuron sequence number, " k " expression output layer neuron sequence number;
The learning rate η of step 1.0.11 setting neural network=0.2; The inertial coefficient α of setting neural network=0.05;
The initial value of step 1.0.12 setup control amount u (t) and margin of error error (t) and time sequential value are zero: u (t)=0, u (t-1)=0, u (t-2)=0, error (t)=0, error (t-1)=0, error (t-2)=0;
1.3.1 process 1:
First device---on-line tuning device (100) is realized the step 1.1 calculating control parameter K of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " cAnd correction on-line tuning algorithm parameter w:
Above-mentioned steps 1.1 is according to control target (1000) r In(t) and (1400) y that predicts the outcome Our(t-1), adopt on-line tuning algorithm (101), calculate control parameter (1100) K cAnd revise on-line tuning algorithm parameter w (t+1) (t); On-line tuning algorithm in the parameter on-line tuning method that the employing time series forecasting is combined with Based Intelligent Control in the present embodiment:
Step 1.1.1 calculates control parameter K c:
Step 1.1.1.1 calculates the input of input layer
Figure BDA00002197800000251
The input of input layer
Figure BDA00002197800000252
Calculating referring to formula 46:
net 1 ( 1 ) ( t ) = r in ( t ) net 2 ( 1 ) ( t ) = y out ( t - 1 ) net 3 ( 1 ) ( t ) = error ( t ) Formula 46
Variable wherein 3 neuronic inputs of expression input layer; 3 neuronic inputs of input layer are respectively (1400) y that predicts the outcome Our(t-1), control target (1000) r In(t), departure error (t), the calculating of error (t) is referring to formula 47:
Error (t)=y Out(t-1)-r In(t) formula 47
Step 1.1.1.2 calculates the output of input layer
Figure BDA00002197800000255
The output of neural network input layer
Figure BDA00002197800000256
Calculating referring to formula 48:
O i ( 1 ) ( t ) = net i ( 1 ) ( t ) , (i=1,2,3) formula 48
Wherein, variable is used respectively in input layer, hidden layer, each neuronic output of output layer
Figure BDA00002197800000258
( i = 1,2 , . . . , M ) , O j ( 2 ) ( t ) ( j = 1,2 , . . . , Q ) , O k ( 3 ) ( t ) ( k = 1,2 , . . . , L ) Expression;
Step 1.1.1.3 calculates the input of hidden layer
Figure BDA000021978000002512
The input of neural network hidden layer
Figure BDA000021978000002513
Calculating referring to formula 49:
net j ( 2 ) ( t ) = &Sigma; i - 1 M w ij ( 2 ) ( t ) &CenterDot; O i ( 1 ) ( t ) , (j=1,2 ..., Q) formula 49
Wherein
Figure BDA00002197800000261
Weighting weights between expression i neuron of input layer and j neuron of hidden layer;
Step 1.1.1.4 calculates the output of hidden layer
Figure BDA00002197800000262
The output of neural network hidden layer
Figure BDA00002197800000263
Calculating referring to formula 50:
O j ( 2 ) ( t ) = &psi; a , b ( net j ( 2 ) - b j ( t ) a j ( t ) ) , (j=1,2 ..., Q) formula 50
ψ wherein A, b(t) be wavelet function, i.e. the activation functions of hidden layer neuron; a j(t), b j(t) be wavelet function change of scale parameter, i.e. the activation functions change of scale parameter of hidden layer neuron; Get the wavelet function ψ that satisfies the framework condition A,, bThe computing method of (t), seeing are referring to formula 51:
&psi; a , b ( t ) = cos ( 1.75 t ) &CenterDot; e - t 2 2 Formula 51
ψ A,, bThe computing method of a mediation number (t) are referring to formula 52:
&psi; a , b &prime; ( t ) = - 1.75 &CenterDot; sin ( 1.75 t ) &CenterDot; e - t 2 2 - t &CenterDot; cos ( 1.75 t ) &CenterDot; e - t 2 2 Formula 52
Wherein sin (x), cos (x) represent respectively sine function and the cosine function value of x;
Step 1.1.1.5 calculates the input of output layer
Figure BDA00002197800000267
The input of neural network output layer
Figure BDA00002197800000268
Calculating referring to formula 53:
net k ( 3 ) ( t ) = &Sigma; j = 1 Q w jk ( 3 ) ( t ) &CenterDot; O j ( 2 ) ( t ) , (k=1,2 ..., L) formula 53
Wherein
Figure BDA000021978000002610
Weighting weights between expression j neuron of hidden layer and k neuron of output layer;
Step 1.1.1.6 calculates the output of output layer
Figure BDA000021978000002611
The output of neural network output layer
Figure BDA000021978000002612
Calculating referring to formula 54:
O k ( 3 ) ( t ) = g ( net k ( 3 ) ( t ) ) , (k=1,2 ..., L) formula 54
Wherein g (x) gets non-negative Sigmoid function for the neuronic activation functions of output layer, and the calculating of g (x) is referring to formula 55:
g ( x ) = = e x e x + e - x Formula 55
The calculating of its first order derivative of g (x) is referring to formula 56:
g &prime; ( x ) = = 2 ( e x + e - x ) 2 Formula 56
Step 1.1.1.7 calculates control parameter (1100) K p(t), K i(t), K d(t):
Control parameter (1100) K p(t), K i(t), K d(t) calculating is referring to formula 57:
K p ( t ) = O 1 ( 3 ) ( t ) K i ( t ) = O 2 ( 3 ) ( t ) K d ( t ) = O 3 ( 3 ) ( t ) Formula 57
Wherein, K p(t), K i(t), K d(t) be control parameter (1100) K that the neuronic input of output layer corresponds to respectively classical proportional integral derivative control method c(t);
Step 1.1.1.8 controls parameter K c(t) calculate end;
Step 1.1.2 revises on-line tuning algorithm parameter w (t):
On-line tuning algorithm parameter w (t) in the on-line tuning algorithm in the online PID setting method of wavelet neural network comprises following four parameters: the weighting weights between i neuron of input layer and j neuron of hidden layer
Figure BDA00002197800000273
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure BDA00002197800000274
Wavelet function change of scale parameter a j(t), b j(t); Namely
Figure BDA00002197800000275
Figure BDA00002197800000276
a j(t), b j(t) };
The step 1.1.2.1 error of calculation and performance index:
The calculating of error e rror (t) is referring to formula 58:
Error (t)=r In(t)-y Our(t-1) formula 58
The calculating of performance index E (t) is referring to formula 59:
E ( t ) = 1 2 error 2 ( t ) = 1 2 ( r in ( t ) - y out ( t - 1 ) ) 2 Formula 59
Step 1.1.2.2 adopts gradient descent method to the weights coefficient between neural network hidden layer and the output layer
Figure BDA00002197800000278
Adjust:
Weights coefficient between hidden layer and the output layer Correction
Figure BDA000021978000002710
Calculating referring to formula 60:
&Delta; w jk ( 3 ) ( t ) = &alpha; &CenterDot; &Delta; w jk ( 3 ) ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; w jk ( 3 ) ( t ) Formula 60
In the formula 60,
Figure BDA00002197800000281
Computing formula referring to formula 61:
Figure BDA00002197800000282
Formula 61
In the formula 61,
Figure BDA00002197800000283
Calculating referring to formula 62:
Figure BDA00002197800000284
Formula 62
In the formula 61, because
The unknown is with approximate sign function
Figure BDA00002197800000286
Replace, Calculating referring to formula 63;
Figure BDA00002197800000288
Formula 63
The sign function value of sgn (x) expression x wherein, if i.e. x>0 then sgn (x)=1, if x=0 then sgn (x) if=0 x<0 then sgn (x)=-1;
In the formula 61, Calculating referring to formula 64:
Figure BDA000021978000002810
Formula 64
In the formula 61, Calculating referring to formula 65:
Formula 65
In the formula 61, Calculating referring to formula 66:
Figure BDA000021978000002814
Formula 66
In sum, Computing formula can be expressed as formula 67:
&PartialD; E ( t ) &PartialD; w jk ( 3 ) ( t ) = error ( t ) &CenterDot; sgn ( &PartialD; y ( t ) &PartialD; &Delta;u ( t ) ) &CenterDot; &PartialD; &Delta;u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; g &prime; ( net k ( 3 ) ( t ) ) &CenterDot; O j ( 2 ) ( t ) Formula 67
In sum,
Figure BDA00002197800000293
Computing formula can be expressed as formula 68:
&Delta; w jk ( 3 ) ( t ) = &alpha; &CenterDot; &Delta; w jk ( 3 ) ( t - 1 ) &PlusMinus; &eta; &CenterDot; &delta; k ( 3 ) ( t ) &CenterDot; O j ( 2 ) ( t ) Formula 68
Wherein, Calculating referring to formula 69:
&delta; k ( 3 ) ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Formula 69
= error ( t ) &CenterDot; sgn ( &PartialD; y ( t ) &PartialD; u ( t ) ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; g &prime; ( net k ( 3 ) ( t ) ) (k=1,2,3)
Step 1.1.2.3 adopts gradient descent method to the weights coefficient between neural network input layer and the hidden layer
Figure BDA00002197800000298
Adjust:
Calculate the weights coefficient between input layer and the hidden layer
Figure BDA00002197800000299
Modified value See formula 70:
&Delta; w ij ( 2 ) ( t ) = &alpha; &CenterDot; &Delta; w ij ( 2 ) ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) Formula 70
In the formula 70,
Figure BDA000021978000002912
Calculating referring to formula 71:
&PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t )
&CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) &CenterDot; &PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t ) Formula 71
= &delta; k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) &CenterDot; &PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t )
In the formula 71,
Figure BDA00002197800000301
Calculating referring to formula 72:
&PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) = w jk ( 3 ) ( t ) Formula 72
In the formula 71,
Figure BDA00002197800000303
Calculating referring to formula 73:
&PartialD; O j ( 2 ) ( t ) &PartialD; net j ( 2 ) ( t ) = &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; 1 a j ( t ) Formula 73
In the formula 71,
Figure BDA00002197800000305
Calculating referring to formula 74:
&PartialD; net j ( 2 ) ( t ) &PartialD; w ij ( 2 ) ( t ) = O i ( 1 ) ( t ) Formula 74
In sum,
Figure BDA00002197800000307
Computing formula can be expressed as formula 75:
&PartialD; E ( t ) &PartialD; w ij ( 2 ) ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &CenterDot; &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; 1 a j ( t ) &CenterDot; O i ( 1 ) ( t ) Formula 75
In the formula 75
Figure BDA00002197800000309
In formula 69, provide;
Step 1.1.2.3 calculates the activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t):
The activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t) computing formula can be expressed as formula 76:
&Delta; a j ( t ) = &alpha; &CenterDot; &Delta; a j ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; a j ( t ) Formula 76
In the formula 76,
Figure BDA000021978000003011
Calculating referring to formula 77:
&PartialD; E ( t ) &PartialD; a j ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; a j ( t ) Formula 77
In the formula 77, &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Calculating referring to formula 69:
In the formula 77,
Figure BDA00002197800000313
Calculating referring to formula 72:
In the formula 77,
Figure BDA00002197800000314
Calculating referring to formula 78:
&PartialD; O j ( 2 ) ( t ) &PartialD; a j ( t ) = &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; ( - net j ( 2 ) ( t ) - b j ( t ) a j 2 ( t ) ) Formula 78
In sum,
Figure BDA00002197800000316
Computing formula can be expressed as formula 79:
&PartialD; E ( t ) &PartialD; a j ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &CenterDot; &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) &CenterDot; ( net j ( 2 ) ( t ) - b j ( t ) a j 2 ( t ) ) Formula 79
Step 1.1.2.4 calculates the activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t):
The activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t) computing formula can be expressed as formula 80:
&Delta;b j ( t ) = &alpha; &CenterDot; &Delta;b j ( t - 1 ) - &eta; &CenterDot; &PartialD; E ( t ) &PartialD; b j ( t ) Formula 80
In the formula 80,
Figure BDA00002197800000319
Calculating referring to formula 81:
&PartialD; E ( t ) &PartialD; b j ( t ) = &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) &CenterDot; &PartialD; net k ( 3 ) ( t ) &PartialD; O j ( 2 ) ( t ) &CenterDot; &PartialD; O j ( 2 ) ( t ) &PartialD; b j ( t ) Formula 81
In the formula 80, &PartialD; E ( t ) &PartialD; yout ( t ) &CenterDot; &PartialD; yout ( t ) &PartialD; u ( t ) &CenterDot; &PartialD; u ( t ) &PartialD; O k ( 3 ) ( t ) &CenterDot; &PartialD; O k ( 3 ) ( t ) &PartialD; net k ( 3 ) ( t ) Calculating referring to formula 69:
In the formula 80,
Figure BDA00002197800000321
Calculating referring to formula 72:
In the formula 80,
Figure BDA00002197800000322
Calculating referring to formula 82:
&PartialD; O j ( 2 ) ( t ) &PartialD; b j ( t ) = &psi; a , b &prime; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) ( - 1 a j ( t ) ) Formula 82
In sum,
Figure BDA00002197800000324
Computing formula can be expressed as formula 83:
&PartialD; E ( t ) &PartialD; b j ( t ) = &Sigma; k = 1 L &delta; k ( 3 ) ( t ) &CenterDot; w jk ( 3 ) ( t ) &psi; a , b &prime; &CenterDot; ( net j ( 2 ) ( t ) - b j ( t ) a j ( t ) ) ( - 1 a j ( t ) ) Formula 83
Step 1.1.2.5 revises on-line tuning algorithm parameter w (t) and arrives w (t+1):
The on-line tuning algorithm parameter that current the t time calculating uses is:
Figure BDA00002197800000327
a j(t), b j(t) }; Revised result be calculate for the t+1 time the on-line tuning algorithm parameter w (t+1) that will use= { w ij ( 2 ) ( t + 1 ) , w jk ( 3 ) ( t + 1 ) , a j(t+1),b j(t+1)}
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure BDA000021978000003210
Corrected Calculation referring to formula 84:
w jk ( 3 ) ( t + 1 ) = w jk ( 3 ) ( t ) + &Delta;w jk ( 3 ) ( t ) Formula 84
Weighting weights between i neuron of input layer and j neuron of hidden layer
Figure BDA000021978000003212
Corrected Calculation referring to formula 85:
w ij ( 2 ) ( t + 1 ) = w ij ( 2 ) ( t ) + &Delta;w ij ( 2 ) ( t ) Formula 85
The activation functions change of scale parameter a of hidden layer neuron j(t) corrected Calculation is referring to formula 86:
a j(t+1)=a j(t)+Δ a j(t) formula 86
The activation functions change of scale parameter b of hidden layer neuron j(t) corrected Calculation is referring to formula 87:
b j(t+1)=b j(t)+Δ b j(t) formula 87
1.3.2 process 2:
The second device---control actuator (200) is realized " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.2 calculating controlled quentity controlled variable u (t);
Above-mentioned steps 1.2 adopts control algolithm (201), calculates controlled quentity controlled variable (1200) u (t); The input of algorithm is control parameter (1100) K c(t), controlled quentity controlled variable (1200) u (t) and error e rror (t) time sequential value; The output of algorithm is controlled quentity controlled variable (1200) u (t);
Control algolithm (201) adopts the increment type PID control algolithm, and when adopting the increment type PID control algolithm, the calculating of u (t) is referring to formula 88:
U (t)=u (t-1)+K p(t) (error (t)-error (t-1))+K i(t) error (t) formula 88
+K d(t)·(error(t)-2error(t-1)+error(t-2))
1.3.3 process 3:
The 3rd device---controlled device (300) realizes that " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.3 gathers or computing system output y System(t):
Above-mentioned steps 1.3 controlled result (1300) y System(t), because this embodiment is true motor drive control system, therefore control as a result y System(t) do not obtain by Computer Simulation, but obtain by the load speed measurement code-disc sampling that motor is dragged;
In addition, for calculating control result (1300) y in the computer emulation method of mentioning in the claim 1 System(t), provide an embodiment herein:
When the mathematical model of controlled device is described by formula 89
( s ) = 523500 s 3 + 87.35 s 2 + 10470 s Formula 89
This moment y System(t) calculating is referring to formula 90:
y system(t)=-den(2)·y system(t-1)-den(3)·y system(t-2)-den(4)
Y System(t-3)+num (2) y System(t-1)+num (3) formula 90
·y system(t-2)+num(4)·y system(t-3)
Wherein conversion obtains through z by formula 89 for den (2), den (3), den (4), num (2), num (3), num (4); Above-mentioned z conversion realizes by c2d () function and tfdata () function in Matlab, realizes that the source program of this algorithm is as follows:
sys=tf(523500,[1,87.35,10470,0]);
dsys=c2d(sys,ts,'tustin');
[num,den]=tfdata(dsys,'v');
1.3.4 process 4:
The 4th device---on-line prediction device (400) realization " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.4 is calculated the Yout (t) that predicts the outcome:
Above-mentioned steps 1.4 adopts on-line prediction algorithm (401), calculates (1400) yout (t) that predicts the outcome;
Can to adopt the vector time series Forecasting Methodology be the VARMA method to on-line prediction algorithm (401) in the present embodiment; When adopting the VARMA algorithm, the span of nAR and nMA parameter is the positive integer in 5 to 10 closed intervals; The VARMA prediction algorithm is realized by vgxset (), vgxvarx (), three functions of vgxpred () in Matlab, below provides the example that a method is implemented:
VARMA algorithmic function source program is as follows:
functionypredict=myarma5in2ar2ma(Y,PredictLength)
Ylog=diff(log(Y));
S=cei1(0.1*size(Ylog,1));
Ypre1=Ylog(1:S,:);
Yest1=Ylog((S+1):end,:);
VAR2MA2=vgxset('n',5,'nAR',2,'nMA',2,'Series',{'yout','u','kp','ki','kd'});
[EstSpec1,EstStdErrors1]=vgxvarx(VAR2MA2,Yest1,[],Ypre1,'CovarType','Diagonal','IgnoreMA','yes');
[ypredict,FYCov1]=vgxpred(EstSpec1,PredictLength,[],Yest1);
ypredict=[log(Y(end,:));ypredict];
ypredict=exp(cumsum(ypredict));
Judge at first whether current t arrives to start to predict it is to start constantly T of prediction constantly Predict:
If current t is constantly less than starting constantly T of prediction Predict, then do not start prediction, control result (1300) y System(t) directly serve as (1400) y that predicts the outcome Our(t), i.e. y Our(t)=y System(t);
If current t is constantly more than or equal to starting constantly T of prediction Predict, then start prediction, adopt the on-line prediction algorithm to calculate.In the present embodiment, ignore the impact of control disturbance source (500) and prediction disturbing source (600), namely think control disturbance amount (1500) r Oef(t) and prediction disturbance quantity (1600) r Orf(t) be constant 0;
The input of on-line prediction algorithm (401) is respectively: the time series K of control parameter (1100) c(t), K c(t-1), K c(t-2) ..., K c(t-K Predict), time series u (t), the u (t-1) of controlled quentity controlled variable (1200), u (t-2) ..., u (t-K Predict), control the result (1300) time series y System(t), y System(t-1), y System(t-2) ..., y System(t-K Predict);
To control prediction of result value (1401) y Predict(t) as predicting the outcome (1400) y Out(t), i.e. y Out(t)=y Predict(t);
In sum, (1400) y predicts the outcome Out(t) value is seen formula 91:
y out ( t ) = y system ( t ) , t < T predict y predict ( t ) , t &GreaterEqual; T predict Formula 91
1.3.5 process 5:
〇 device---control decision device (0) realizes according to parameters, state and the output of current system whether " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.5 evaluation algorithm finishes:
Above-mentioned steps 1.5 has two case branch to consist of:
Algorithm is unclosed situation still: if T=0, if perhaps T ≠ 0 and t<T, then t=t+1 jumps to step 1.1, namely reenters 1.3.1 process 1 to 1.3.5 process 5, has so far finished the t time calculating;
The situation that algorithm finishes: if T ≠ 0 and t 〉=T have so far finished whole T time and calculated.

Claims (6)

1. the time series forecasting parameter on-line tuning method of being combined with Based Intelligent Control is characterized in that: comprise following 5 steps, namely step 1.0 is to step 1.5:
Step 1.0 parameter initialization:
This step is that each variable that relates in the computation process is given respectively initial value; Comprise following 12 sub-steps, namely step 1.0.1 is to step 1.0.12:
1.0.1 the current execution number of times of set algorithm t, execution total degree T:
When algorithm moves the situation of limited number of time continuously: establish current execution number of times initial value t=1; The value principle of carrying out and adjust total degree T is: operation 0.8T the rear control result of total degree of assurance system (1300) can be stabilized near the control target (1000); Wherein can stable implication be: after the execution number of times reaches 0.8T, control result (1300) y System(t) with control target (1000) r In(t) error between is in ± 3%, referring to formula 1:
Figure FDA00002197799900011
Formula 1
The method to set up of carrying out and adjust total degree T is:
Carry out total degree T=5000 1.0.1.1 establish;
1.0.1.2 operational system, and carry out T this method Overall Steps, adjust according to operation result again;
If 1.0.1.3 the operation result display algorithm is carried out after 0.8T time, control result (1300) can't be stable at control target (1000), then T is increased 10%, and jumps to step 1.0.1.2;
If 1.0.1.4 the operation result display algorithm namely reaches before the 0.5T control result (1300) y when carrying out number of times after control result (1300) being converged on control target (1000) for a long time System(t) with control target (1000) r In(t) error between then reduces 10% with T in ± 3%, and jumps to step 1.0.1.2;
The result of above-mentioned steps is: operation 0.8T the rear control result of total degree of system (1300) can be stabilized near the control target (1000), and the so far work that arranges of T is finished;
When algorithm moves situation about never stopping continuously: establish current execution number of times initial value t=1; If carry out total degree T=0, this algorithm constantly circulates when T=0, and algorithm can not stop;
1.0.2 set each control target (1000) value r constantly In(t), r In(t) can be a constant r In, also can be the function take t as independent variable;
Start constantly T of prediction 1.0.3 set Pteaict, T PredictBe positive integer, according to engineering experience, its span is referenced as: 5%T≤T Predict≤ 10%T;
1.0.4 set the number K of the historical data of online prediction algorithm (401) needs Predict, K PredictBe positive integer, its value determines that by the test of hypothesis statistical indicator of on-line prediction algorithm according to engineering experience, its span is referenced as: 10≤K Preaict≤ 5%T;
1.0.5 the setting prediction step is L Predict, L PredictBe positive integer, according to engineering experience, its span is referenced as: 1≤L Predict≤ 10%T;
1.0.6 setup control as a result initial value is zero, i.e. y System(t)=0;
1.0.7 setup control prediction of result value is zero, i.e. y Predict(t)=0;
Initial value is zero 1.0.8 setting predicts the outcome, i.e. y Our(t)=0;
1.0.9 set each layer of wavelet neural network neuronal quantity M, Q, L, span generally is M≤10, M≤Q≤5M, in the positive integer interval in L≤M interval;
Wherein M represents the input layer quantity of wavelet neural network, and namely wavelet neural network is made of M input layer; Q represents the hidden layer neuron quantity of wavelet neural network, and namely wavelet neural network is made of Q hidden layer neuron; L represents the output layer neuronal quantity of wavelet neural network, and namely wavelet neural network is made of L output layer neuron;
1.0.10 set input layer, hidden layer, each the neuronic input variable of output layer in the computation process t=1 time
Figure FDA00002197799900021
Figure FDA00002197799900023
The connection weight value matrix of input layer and hidden layer
Figure FDA00002197799900024
Each neuronic connection weight value matrix of hidden layer output layer The activation functions change of scale parameter matrix a of hidden layer neuron j(t) and b j(t) each element in is the at random decimal in 0 to 1 open interval;
Ground floor---the input layer of the upper right footmark of above-mentioned variable " (1) " expression neural network, hidden layer represents with " (2) ", output layer represents with " (3) ", bottom right footmark " i " expression input layer sequence number, " j " expression hidden layer neuron sequence number, " k " expression output layer neuron sequence number;
1.0.11 set learning rate η and the inertial coefficient α of neural network: wherein the span of η is the decimal in 0.01 to 0.7 closed interval; The span of α is the decimal in the 0.01-0.2 closed interval;
1.0.12 the initial value of setup control amount u (t) and margin of error error (t) and time sequential value are zero: u (t)=0, u (t-1)=0, u (t-2)=0, error (t)=0, error (t-1)=0, error (t-2)=0;
Step 1.1 is calculated the control parameter K cAnd correction on-line tuning algorithm parameter w:
This step is according to control target (1000) r In(t) and (1400) y that predicts the outcome Our(t-1), adopt on-line tuning algorithm (101), calculate control parameter (1100) K cAnd revise on-line tuning algorithm parameter w (t+1) (t); On-line tuning algorithm in the parameter on-line tuning method that on-line tuning algorithm (101) employing time series forecasting is combined with Based Intelligent Control perhaps adopts control parameter on-line tuning method non-time-based sequence prediction or non-neural net method on-line tuning control parameter;
Wherein adopt the on-line tuning algorithm steps in the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control as follows,
1.1.1 calculate the control parameter K c:
1.1.1.1 calculate the input of input layer
Figure FDA00002197799900031
The input of input layer
Figure FDA00002197799900032
Calculating referring to formula 2:
Figure FDA00002197799900033
Formula 2
Variable wherein
Figure FDA00002197799900034
3 neuronic inputs of expression input layer; 3 neuronic inputs of input layer are respectively (1400) y that predicts the outcome Out(t-1), control target (1000) r In(t), departure error (t), the calculating of error (t) is referring to formula 3:
Error (t)=y Out(t-1)-r In(t) formula 3
1.1.1.2 calculate the output of input layer
Figure FDA00002197799900035
The output of neural network input layer Calculating referring to formula 4:
Figure FDA00002197799900041
(i=1,2,3) formula 4
Wherein, variable is used respectively in input layer, hidden layer, each neuronic output of output layer
Figure FDA00002197799900042
Figure FDA00002197799900043
Figure FDA00002197799900044
Figure FDA00002197799900045
Expression;
1.1.1.3 calculate the input of hidden layer
Figure FDA00002197799900046
The input of neural network hidden layer
Figure FDA00002197799900047
Calculating referring to formula 5:
Figure FDA00002197799900048
(j=1,2 ..., Q) formula 5
Wherein
Figure FDA00002197799900049
Weighting weights between expression i neuron of input layer and j neuron of hidden layer;
1.1.1.4 calculate the output of hidden layer
The output of neural network hidden layer Calculating referring to formula 6:
Figure FDA000021977999000412
(j=1,2 ..., Q) formula 6
ψ wherein A, b(t) be wavelet function, i.e. the activation functions of hidden layer neuron; a j(t), b j(t) be wavelet function change of scale parameter, i.e. the activation functions change of scale parameter of hidden layer neuron; Get the wavelet function ψ that satisfies the framework condition A, bThe computing method of (t), seeing are referring to formula 7:
Figure FDA000021977999000413
Formula 7
ψ A, bThe computing method of a mediation number (t) are referring to formula 8:
Figure FDA000021977999000414
Formula 8
S wherein In(x), cos (x) represents respectively sine function and the cosine function value of x;
1.1.1.5 calculate the input of output layer
Figure FDA000021977999000415
The input of neural network output layer Calculating referring to formula 9:
(k=1,2 ..., L) formula 9
Wherein Weighting weights between expression j neuron of hidden layer and k neuron of output layer;
1.1.1.6 calculate the output of output layer
Figure FDA000021977999000419
The output of neural network output layer
Figure FDA00002197799900051
Calculating referring to formula 10:
Figure FDA00002197799900052
(k=1,2 ..., L) formula 10
Wherein g (x) gets non-negative Sigmoid function for the neuronic activation functions of output layer, and the calculating of g (x) is referring to formula 11:
Formula 11
The calculating of its first order derivative of g (x) is referring to formula 12:
Figure FDA00002197799900054
Formula 12
1.1.1.7 calculate control parameter (1100) K p(t), K i(t), K d(t):
Control parameter (1100) K p(t), K i(t), K d(t) calculating is referring to formula 13:
Figure FDA00002197799900055
Formula 13
Wherein, K p(t), K i(t), K d(t) be control parameter (1100) K that the neuronic input of output layer corresponds to respectively classical proportional integral derivative control method c(t);
1.1.1.8 control parameter K c(t) calculate end;
1.1.2 revise on-line tuning algorithm parameter w (t):
On-line tuning algorithm parameter w (t) in the on-line tuning algorithm in the online PID setting method of wavelet neural network comprises following four parameters: the weighting weights between i neuron of input layer and j neuron of hidden layer
Figure FDA00002197799900056
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure FDA00002197799900057
Wavelet function change of scale parameter aj (t), b j(t); Namely
Figure FDA00002197799900059
a j(t), b j(t) };
The step 1.1.2.1 error of calculation and performance index:
The calculating of error e rror (t) is referring to formula 14:
Error (t)=y Out(t-1)-r In(t) formula 14
The calculating of performance index E (t) is referring to formula 15:
Figure FDA00002197799900061
Formula 15
Step 1.1.2.2 adopts gradient descent method to the weights coefficient between neural network hidden layer and the output layer
Figure FDA00002197799900062
Adjust:
Weights coefficient between hidden layer and the output layer
Figure FDA00002197799900063
Correction
Figure FDA00002197799900064
Calculating referring to formula 16:
Figure FDA00002197799900065
Formula 16
In the formula 16,
Figure FDA00002197799900066
Computing formula referring to formula 17:
Figure FDA00002197799900067
Formula 17
In the formula 17,
Figure FDA00002197799900068
Calculating referring to formula 18:
Formula 18
In the formula 17, because The unknown is with approximate sign function
Figure FDA000021977999000611
Replace,
Figure FDA000021977999000612
Calculating referring to formula 19;
Figure FDA000021977999000613
Formula 19
The sign function value of sgn (x) expression x wherein, if i.e. x>0 then sgn (x)=1, if x=0 then sgn (x) if=o x<0 then sgn (x)=-1;
In the formula 17,
Figure FDA000021977999000614
Calculating referring to formula 20:
Figure FDA000021977999000615
Formula 20
In the formula 17,
Figure FDA000021977999000616
Calculating referring to formula 21:
Figure FDA00002197799900071
Formula 21
In the formula 17,
Figure FDA00002197799900072
Calculating referring to formula 22:
Formula 22
In sum, Computing formula can be expressed as formula 23:
Figure FDA00002197799900075
Formula 23
In sum,
Figure FDA00002197799900076
Computing formula can be expressed as formula 24:
Figure FDA00002197799900077
Formula 24
Wherein, Calculating referring to formula 25:
Formula 25
Figure FDA000021977999000710
(k=1,2,3)
1.1.2.3 adopt gradient descent method to the weights coefficient between neural network input layer and the hidden layer
Figure FDA000021977999000711
Adjust:
Calculate the weights coefficient between input layer and the hidden layer
Figure FDA000021977999000712
Modified value See formula 26:
Figure FDA000021977999000714
Formula 26
In the formula 26,
Figure FDA000021977999000715
Calculating referring to formula 27:
Figure FDA00002197799900081
Figure FDA00002197799900082
Formula 27
Figure FDA00002197799900083
In the formula 27,
Figure FDA00002197799900084
Calculating referring to formula 28:
Figure FDA00002197799900085
Formula 28
In the formula 27,
Figure FDA00002197799900086
Calculating referring to formula 29:
Figure FDA00002197799900087
Formula 29
In the formula 27, Calculating referring to formula 30:
Figure FDA00002197799900089
Formula 30
In sum,
Figure FDA000021977999000810
Computing formula can be expressed as formula 31:
Figure FDA000021977999000811
Formula 31
In the formula 31
Figure FDA000021977999000812
In formula 25, provide;
1.1.2.3 calculate the activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t):
The activation functions change of scale parameter a of hidden layer neuron j(t) modified value Δ a j(t) computing formula can be expressed as formula 32:
Formula 32
In the formula 32,
Figure FDA00002197799900091
Calculating referring to formula 33:
Formula 33
In the formula 33,
Figure FDA00002197799900093
Calculating referring to formula 25:
In the formula 33,
Figure FDA00002197799900094
Calculating referring to formula 28:
In the formula 33,
Figure FDA00002197799900095
Calculating referring to formula 34:
Figure FDA00002197799900096
Formula 34
In sum,
Figure FDA00002197799900097
Computing formula can be expressed as formula 35:
Figure FDA00002197799900098
Formula 35
1.1.2.4 calculate the activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t):
The activation functions change of scale parameter b of hidden layer neuron j(t) modified value Δ b j(t) computing formula can be expressed as formula 36:
Figure FDA00002197799900099
Formula 36
In the formula 36, Calculating referring to formula 37:
Figure FDA000021977999000911
Formula 37
In the formula 36,
Figure FDA000021977999000912
Calculating referring to formula 25:
In the formula 36,
Figure FDA000021977999000913
Calculating referring to formula 28:
In the formula 36,
Figure FDA00002197799900101
Calculating referring to formula 38:
Figure FDA00002197799900102
Formula 38
In sum,
Figure FDA00002197799900103
Computing formula can be expressed as formula 39:
Figure FDA00002197799900104
Formula 39
Arrive w (t+1) 1.1.2.5 revise on-line tuning algorithm parameter w (t):
The on-line tuning algorithm parameter that current the t time calculating uses is:
Figure FDA00002197799900105
Figure FDA00002197799900106
Aj (t), b j(t) }; Revised result be calculate for the t+1 time the on-line tuning algorithm parameter w (t++1) that will use=
Figure FDA00002197799900107
Figure FDA00002197799900108
a j(t+1), b j(t+1) }
Weighting weights between j neuron of hidden layer and k neuron of output layer
Figure FDA00002197799900109
Corrected Calculation referring to formula 40:
Figure FDA000021977999001010
Formula 40
Weighting weights between i neuron of input layer and j neuron of hidden layer Corrected Calculation referring to formula 41:
Figure FDA000021977999001012
Formula 41
The activation functions change of scale parameter a of hidden layer neuron j(t) corrected Calculation is referring to formula 42:
a j(t+1)=a j(t)+Δ a j(t) formula 42
The activation functions change of scale parameter b of hidden layer neuron j(t) corrected Calculation is referring to formula 43:
b j(t+1)=b j(t)+Δ b j(t) formula 43
Step 1.2 is calculated controlled quentity controlled variable u (t):
This step adopts control algolithm (201), calculates controlled quentity controlled variable (1200) u (t);
Step 1.3 gathers or computing system output y System(t):
This step calculates control result (1300) y System(t) or directly collect control result (1300) y System(t);
Step 1.4 is calculated the y that predicts the outcome Out(t):
This step adopts on-line prediction algorithm (401), calculates (1400) y that predicts the outcome Our(t);
Whether step 1.5 evaluation algorithm finishes:
Algorithm is unclosed situation still: if T=0, if perhaps T ≠ 0 and t<T, then t=t+1 jumps to step 1.1, has so far finished the t time calculating;
The situation that algorithm finishes: if T ≠ 0 and t 〉=T have so far finished whole T time and calculated.
2. the step 1.2 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control is calculated controlled quentity controlled variable, it is characterized in that:
The input of algorithm is control parameter (1100) K c(t), controlled quentity controlled variable (1200) u (t) and error e rror (t) time sequential value;
The output of algorithm is controlled quentity controlled variable (1200) u (t);
Control algolithm (201) can employing, positional PID control calculation, increment type PID control algolithm, FUZZY ALGORITHMS FOR CONTROL, expert's control algolithm;
When adopting the increment type PID control algolithm, the calculating of u (t) is referring to formula 44:
U (t)=u (t-1)+K p(t) (error (t)-error (t-1))+K i(t) error (t) formula 44
+K d(t)·(error(t)-2error(t-1)+error(t-2))。
3. the step 1.3 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control gathers or computing system output, it is characterized in that:
When this system was the situation of Computer Simulation application, controlled device (300) adopted the control system controlled device mathematical model of determining, the input of this mathematical model is controlled quentity controlled variable u (t), and the result who draws by Computer Simulation is as a result y of control System(t); Above-mentioned Computer Simulation namely by controlled device being set up continuous transfer function model, and then adopts z conversion to carry out discretize to this continuous transport function, obtains according to u (t) and y System(t) time sequential value calculates y System(t) computing formula; The z conversion realizes by c2d () function and tfdata () function in Matlab; The specific implementation process sees also embodiment part in the patent specification;
When this system is the situation of true control system: therefore control as a result y System(t) do not obtain by Computer Simulation, but obtain by true control system output is sampled.
4. the step 1.4 of the time series forecasting according to claim 1 parameter on-line tuning method of being combined with Based Intelligent Control is calculated and is predicted the outcome, and it is characterized in that:
Judge at first whether current t arrives to start to predict it is to start constantly T of prediction constantly Predict:
If current t is constantly less than starting constantly T of prediction Predict, then do not start prediction, control result (1300) y System(t) directly serve as (1400) y that predicts the outcome Out(t), i.e. y Out(t)=y System(t);
If current t is constantly more than or equal to starting constantly T of prediction Predict, then start prediction, gather control disturbance amount (1500) r of control disturbance source (500) generation of current time Oef(t) and prediction disturbance quantity (1600) r that produces of prediction disturbing source (600) Orf(t);
The input of on-line prediction algorithm (401) is respectively: the time series K of control parameter (1100) c(t), K c(t-1), K c(t-2) ..., K c(t-K Predict), time series u (t), the u (t-1) of controlled quentity controlled variable (1200), u (t-2) ..., u (t-K Predict), control the result (1300) time series y System(t), y System(t-1), y System(t-2) ..., y System(t-K Predict), the time series r of control disturbance amount (1500) Oef(t), r Oef(t-1), r Oef(t-2) ..., r Oef(t-K Predict), the prediction disturbance quantity (1600) time series r Orf(t), r Otf(t-1), r Orf(t-2) ..., r Orf(t-K Predict);
Wherein, control disturbance source (500) be except controlled quentity controlled variable (1200) to other devices in the controling environment of controlled device generation effect; Prediction disturbing source (600) be except control parameter (1100), controlled quentity controlled variable (1200), control the result (1300) to on-line prediction device (400) exert an influence control environment in other devices; Control disturbance amount (1500) is to react on controlled device (300) by what control disturbance source (500) produced with controlled quentity controlled variable (1200), and the input that its output is exerted an influence, in ideal conditions, and control disturbance amount (1500) r Oef(t) can for constant 0, namely ignore; Wherein, prediction disturbance quantity (1600) be produced by prediction disturbing source (600) with control parameter (1100), controlled quentity controlled variable (1200), control result (1300) reacts on on-line prediction device (400), and the input that the output of on-line prediction algorithm (401) is exerted an influence, in the ideal case, namely can ignore in the situation of the disturbing influence of other devices in the control system internal and external environment, control disturbance source (500) and prediction disturbing source (600) can be ignored, namely there are not control disturbance source (500) and prediction disturbing source (600), at this moment control disturbance amount (1500) r Oef(t) and prediction disturbance quantity (1600) r Orf(t) be constant 0;
The output of on-line prediction algorithm (401) is control prediction of result value (1401) y Predict(t);
Current t is constantly more than or equal to starting constantly T of prediction PredictIn this case, will control prediction of result value (1401) y Predict(t) as predicting the outcome (1400) y Out(t), i.e. y Our(t)=y Predict(t);
In sum, (1400) y predicts the outcome Out(t) value is seen formula 45:
Figure FDA00002197799900131
Formula 45.
5. on-line prediction algorithm according to claim 4 (401) is characterized in that:
It is VARMA method, neural net prediction method, linear regression Forecasting Methodology, non-linear regression Forecasting Methodology, curvilinear function approximating method that on-line prediction algorithm (401) can adopt classical vector time series Forecasting Methodology, also can adopt satisfied input is that output is the prediction algorithm of control prediction of result value (1401) by time series control parameter (1100), time series controlled quentity controlled variable (1200), time series control result (1300), time series control disturbance amount (1500), time series forecasting disturbance quantity (1600);
When adopting the VARMA algorithm, the span of nAR and nMA parameter is the positive integer in 5 to 10 closed intervals; The VARMA prediction algorithm is realized by vgxset (), vgxvarx (), three functions of vgxpred () in Matlab; The specific implementation process sees also embodiment part 5 in the patent specification
6. adopted the system of the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control, it is characterized in that: by the 〇 device that---------------on-line prediction device (400), the 5th device---control disturbance source (500) and the 6th device---predict that (600) seven groups of devices of disturbing source form for controlled device (300), the 4th device for control actuator (200), the 3rd device for on-line tuning device (100), the second device for control decision device (0), first device;
1.1 respectively organize the inner formation of device and input, output interface situation:
1.1.0 〇 device---control decision device (0) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server or portable terminal;
When the 〇 device---when control decision device (0) adopted computing machine (1), its output interface can be Ethernet interface, by netting twine and the network switching equipment and first device---the input interface of on-line tuning device (100) is connected;
1.1.1 first device---on-line tuning device (100) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server;
When first device---when on-line tuning device (100) adopts computing machine (100), two input interface can be Ethernet interface, by netting twine and the network switching equipment and 〇 device---control decision device (0), the 4th device---output interface of on-line prediction device (400) is connected; Two output interface can be Ethernet interface, and the input interface of on-line prediction device (400) is connected---to control actuator (200), the 4th device---by netting twine and the network switching equipment and the second device; Above-mentioned Ethernet interface can multiplexing same Ethernet interface;
1.1.2 the second device---control actuator (200) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC programmable logic controller (PLC) or computing machine or server or PID controller cooperation frequency converter or driver;
When the second device---when control actuator (200) adopts PLC programmable logic controller (PLC) (201) and frequency converter (202), its input interface can be the Ethernet interface of PLC programmable logic controller (PLC) (201), by netting twine and the network switching equipment and first device---and the output interface of on-line tuning device (100) is connected; Its output interface can be that (202) three in frequency converter exchanges output interface, installs with the 3rd by cable---the input interface of controlled device (300) is connected;
The second device---the annexation of control actuator (200) interior arrangement is as follows: between PLC programmable logic controller (PLC) (201) and the frequency converter (202), can be connected by RS485 interface or Ethernet interface or industrial bus interface;
The second device---control actuator (200) is as retransmission unit, realization is from the 6th device, and------connection of on-line prediction device (400) is meticulous with the course of work to be: PLC programmable logic controller (PLC) (201) can receive from the 6th device as input interface by sensor interface---predict the information of disturbing source (600), and install to the 4th by Ethernet interface---, and on-line prediction device (400) is transmitted to predict that disturbing source (600) installs to the 4th;
1.1.3 the 3rd installs---controlled device (300) can be motor or temperature control device or voltage-controlled devices or electromagnetic field or production system or economic system;
When the 3rd device---when controlled device (300) adopts motor (301), load fan (302) and during speed measuring coder (303), one of them input interface can be that three of motor (301) exchange input interface, by cable and the second device---three of control actuator (200) exchange output interface and are connected; Wherein another input is the 5th device that load fan (302) is subject to---the disturbance of the air of the rapid flow of cooling fan (501) output of control disturbance source (500); The input interface of on-line prediction device (400) is connected the 3rd device---RS232 that controlled device (300) output interface can be by speed measuring coder (303) or Ethernet or industrial bus interface and the 4th install---;
The 3rd installs---and the annexation of controlled device (300) interior arrangement is as follows: motor (301) moment of torsion output main shaft is connected by the moment of torsion entering spindle of gearing with load fan (302), motor (301) band dynamic load fan (302) rotates, thereby consists of one group of output and the relation of inputting; The moment of torsion entering spindle of load fan (302) is fixed with again the code-disc of speed measuring coder (303) simultaneously, and fan (302) rotation drives code-disc and rotates, thereby consists of one group of output and the relation of inputting;
Can produce heat in motor (301) course of work, affect the serviceability of motor, and then the result of impact prediction; Therefore can produce heat in motor (301) course of work and can be used as the 4th device---one of input of on-line prediction device (400); This heat dissipation problem solves by cooling fan (501), cooling fan (501) also produces load fan (302) when solving heat dissipation problem and disturbs, and therefore the 5th installs---and the output of control disturbance source (500) also is one of input of load fan (302);
1.1.4 the 4th installs---on-line prediction device (400) can be embedded device or Single Chip Microcomputer (SCM) system or industrial computer or PLC or computing machine or server;
When the 4th device---when on-line prediction device (400) adopts computing machine (401), two input interface can be Ethernet interface, and the Ethernet output interface of the PLC programmable logic controller (PLC) (201) of---on-line tuning device (100), second device---control actuator (200) is connected by netting twine and the network switching equipment and first device; Be connected by RS232 or Ethernet or industrial bus interface between the speed measuring coder (303) of its another input interface and controlled device (300);
1.1.5 the 5th device---control disturbance source (500) can be the devices that affects the device of Air Flow or affect the device of humidity, the device that affects temperature, barrier, generation interference;
When the 5th device---when control disturbance source (500) adopt cooling fan (501), its fan rotates the moving air that produces motor (301) is lowered the temperature, also can exert an influence to load fan (302) simultaneously, namely as one of input of load fan (302);
1.1.6 the 6th device---prediction disturbing source (600) can be the device that affects the device of Air Flow or affect the device of humidity, the device that affects temperature, barrier, generation interference.
When thinking the 6th device---when one of prediction disturbing source (600) was the thermal value of motor (301), the input of temperature sensor (601) was the temperature of motor (301); The three-wire system connection is adopted in the output of temperature sensor (601) and the second device---the sensor input interface of the PLC programmable logic controller (PLC) (201) of control actuator (200) is connected;
1.2 respectively organize annexation and signal transitive relation between device:
Control decision device (0) is output as control target (1000) r of system InThis control target (1000) is connected with the input of on-line tuning device (100), becomes one of input of on-line tuning device (100); Two of the input of on-line tuning device (100) is (1400) y that predict the outcome OutOn-line controller calculates control parameter (1100) K according to control target (1000) and predict the outcome (1400) by on-line tuning algorithm (101) c, this control parameter (1100) is the input of control actuator (200), is again one of input of on-line prediction device (400); Control actuator (200) calculates controlled quentity controlled variable (1200) u according to the control parameter (1100) of its input by control algolithm, and this controlled quentity controlled variable (1200) is one of input of controlled device (300), be again on-line prediction device (400) input two; Two of the input of controlled device (300) is control disturbance amount (1500) r that control disturbance source (500) produces Oef, controlled device (300) produces control result (1300) y under the acting in conjunction of controlled quentity controlled variable (1200) and these two inputs of control disturbance amount (1500) System, this control result (1300) be on-line prediction device (400) input three; Four of the input of on-line prediction device (400) is prediction disturbance quantity (1600) r that produced by prediction disturbing source (600) Orf, on-line prediction device (400) is according to control parameter (1100), controlled quentity controlled variable (1200), control result (1300), prediction disturbance quantity (1600) r OrfThe time series history value, calculate control prediction of result value (1401) y by on-line prediction algorithm (401) PredictWith (1400) y that predicts the outcome Out, this (1400) input as on-line tuning device (100) that predicts the outcome;
1.3 the course of work after system starts is as follows:
After system starts each installed according to 1.3.0 process 0 to 1.3.5 process 5 these six process operations:
1.3.0 process 0:
〇 device---control decision device (0) is realized step 1.0 parameter initialization of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control ";
1.3.1 process 1:
First device---on-line tuning device (100) is realized the step 1.1 calculating control parameter K of " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " cAnd correction on-line tuning algorithm parameter w;
1.3.2 process 2:
The second device---control actuator (200) is realized " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.2 calculating controlled quentity controlled variable u (t);
1.3.3 process 3:
The 3rd device---controlled device (300) realizes that " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.3 gathers or computing system output y System(t);
1.3.4 process 4:
The 4th device---on-line prediction device (400) realization " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.4 is calculated the y that predicts the outcome Out(t);
1.3.5 process 5:
〇 device---control decision device (0) realizes according to parameters, state and the output of current system whether " the parameter on-line tuning method that time series forecasting is combined with Based Intelligent Control " step 1.5 evaluation algorithm finishes.
CN201210365314.2A 2012-09-26 2012-09-26 The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control Expired - Fee Related CN102902203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210365314.2A CN102902203B (en) 2012-09-26 2012-09-26 The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210365314.2A CN102902203B (en) 2012-09-26 2012-09-26 The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control

Publications (2)

Publication Number Publication Date
CN102902203A true CN102902203A (en) 2013-01-30
CN102902203B CN102902203B (en) 2015-08-12

Family

ID=47574505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210365314.2A Expired - Fee Related CN102902203B (en) 2012-09-26 2012-09-26 The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control

Country Status (1)

Country Link
CN (1) CN102902203B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499920A (en) * 2013-09-03 2014-01-08 北京工业大学 Control parameter optimization method and system through vector time series prediction and expert fuzzy transformation ratio
CN103955266A (en) * 2014-05-22 2014-07-30 东北林业大学 Low power consumption design method based on Android mobile Sink load prediction
CN105203439A (en) * 2015-09-11 2015-12-30 珠海格力电器股份有限公司 Air purification control method and device
CN105759607A (en) * 2016-02-26 2016-07-13 北京工业大学 Design method for PAC controller based on intelligent control algorithms
CN107318534A (en) * 2017-07-06 2017-11-07 西北农林科技大学 A kind of roller shutter machine of solar greenhouse intelligent temperature control method and system with temperature prediction function
CN107490393A (en) * 2016-06-09 2017-12-19 ams有限公司 A kind of controller for being used to reduce the integral non-linear error of magnetic rotary encoder
CN107885075A (en) * 2017-11-15 2018-04-06 机械工业仪器仪表综合技术经济研究所 A kind of detection method and system intelligently adjusted to process control
CN108563804A (en) * 2018-01-05 2018-09-21 吉林大学 Vehicular electromagnetic valve control system design method based on Neural network PID
CN110399970A (en) * 2019-05-05 2019-11-01 首都经济贸易大学 Wavelet convolution wavelet neural network and intelligence analysis method and system
US10700605B1 (en) 2018-12-12 2020-06-30 Infineon Technologies Austria Ag Electrical power converter with predictor
CN111684369A (en) * 2018-02-05 2020-09-18 施乐百有限公司 Method for optimized operation of a fan or fan assembly
CN111752144A (en) * 2020-05-18 2020-10-09 首都经济贸易大学 Circulating ripple prediction method and intelligent control system
CN111796511A (en) * 2020-07-24 2020-10-20 华北电力大学 Wavelet neural network PID (proportion integration differentiation) online control method and system of hydraulic actuator
CN113760433A (en) * 2021-09-06 2021-12-07 中广核工程有限公司 Sequence control-oriented nuclear power plant monitoring method and system and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490689A (en) * 2003-09-11 2004-04-21 中国科学技术大学 Self-adaptation nonlinear time varying controller and controlling method thereof
US20070250215A1 (en) * 2006-04-25 2007-10-25 Pegasus Technologies, Inc. System for optimizing oxygen in a boiler
CN101504736A (en) * 2009-02-27 2009-08-12 江汉大学 Method for implementing neural network algorithm based on Delphi software
CN101556458A (en) * 2009-05-19 2009-10-14 江汉大学 Automatic control algorithm for feeding vitriol in tap water by coagulation
CN102141776A (en) * 2011-04-26 2011-08-03 江苏科技大学 Particle filter and RBF identification-based neural network PID control parameter self-setting method
CN102269972A (en) * 2011-03-29 2011-12-07 东北大学 Method and device for compensating pipeline pressure missing data based on genetic neural network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490689A (en) * 2003-09-11 2004-04-21 中国科学技术大学 Self-adaptation nonlinear time varying controller and controlling method thereof
US20070250215A1 (en) * 2006-04-25 2007-10-25 Pegasus Technologies, Inc. System for optimizing oxygen in a boiler
CN101504736A (en) * 2009-02-27 2009-08-12 江汉大学 Method for implementing neural network algorithm based on Delphi software
CN101556458A (en) * 2009-05-19 2009-10-14 江汉大学 Automatic control algorithm for feeding vitriol in tap water by coagulation
CN102269972A (en) * 2011-03-29 2011-12-07 东北大学 Method and device for compensating pipeline pressure missing data based on genetic neural network
CN102141776A (en) * 2011-04-26 2011-08-03 江苏科技大学 Particle filter and RBF identification-based neural network PID control parameter self-setting method

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499920A (en) * 2013-09-03 2014-01-08 北京工业大学 Control parameter optimization method and system through vector time series prediction and expert fuzzy transformation ratio
CN103955266A (en) * 2014-05-22 2014-07-30 东北林业大学 Low power consumption design method based on Android mobile Sink load prediction
CN103955266B (en) * 2014-05-22 2016-09-14 东北林业大学 The low power consumption design method of Sink load estimation is moved based on Android
CN105203439B (en) * 2015-09-11 2018-01-05 珠海格力电器股份有限公司 Purification of air control method and device
CN105203439A (en) * 2015-09-11 2015-12-30 珠海格力电器股份有限公司 Air purification control method and device
CN105759607A (en) * 2016-02-26 2016-07-13 北京工业大学 Design method for PAC controller based on intelligent control algorithms
CN107490393A (en) * 2016-06-09 2017-12-19 ams有限公司 A kind of controller for being used to reduce the integral non-linear error of magnetic rotary encoder
US10551222B2 (en) 2016-06-09 2020-02-04 Ams Ag Controller to reduce integral non-linearity errors of a magnetic rotary encoder
CN107318534B (en) * 2017-07-06 2020-12-15 西北农林科技大学 Intelligent temperature control method and system of sunlight greenhouse curtain rolling machine with temperature prediction function
CN107318534A (en) * 2017-07-06 2017-11-07 西北农林科技大学 A kind of roller shutter machine of solar greenhouse intelligent temperature control method and system with temperature prediction function
CN107885075A (en) * 2017-11-15 2018-04-06 机械工业仪器仪表综合技术经济研究所 A kind of detection method and system intelligently adjusted to process control
CN107885075B (en) * 2017-11-15 2020-08-28 机械工业仪器仪表综合技术经济研究所 Method and system for detecting intelligent setting of process control
CN108563804A (en) * 2018-01-05 2018-09-21 吉林大学 Vehicular electromagnetic valve control system design method based on Neural network PID
CN111684369B (en) * 2018-02-05 2023-08-04 施乐百有限公司 Method for optimized operation of a fan or fan assembly
CN111684369A (en) * 2018-02-05 2020-09-18 施乐百有限公司 Method for optimized operation of a fan or fan assembly
US10700605B1 (en) 2018-12-12 2020-06-30 Infineon Technologies Austria Ag Electrical power converter with predictor
US11575322B2 (en) 2018-12-12 2023-02-07 Infineon Technologies Austria Ag Electrical power converter
CN110399970B (en) * 2019-05-05 2021-10-01 首都经济贸易大学 Wavelet convolution wavelet neural network and information analysis method and system
CN110399970A (en) * 2019-05-05 2019-11-01 首都经济贸易大学 Wavelet convolution wavelet neural network and intelligence analysis method and system
CN111752144A (en) * 2020-05-18 2020-10-09 首都经济贸易大学 Circulating ripple prediction method and intelligent control system
CN111752144B (en) * 2020-05-18 2023-06-06 首都经济贸易大学 Method for predicting cyclic ripple and intelligent control system
CN111796511A (en) * 2020-07-24 2020-10-20 华北电力大学 Wavelet neural network PID (proportion integration differentiation) online control method and system of hydraulic actuator
CN113760433A (en) * 2021-09-06 2021-12-07 中广核工程有限公司 Sequence control-oriented nuclear power plant monitoring method and system and computer equipment
CN113760433B (en) * 2021-09-06 2023-12-15 中广核工程有限公司 Nuclear power plant monitoring method, system and computer equipment oriented to sequential control

Also Published As

Publication number Publication date
CN102902203B (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN102902203B (en) The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control
CN102629104B (en) Calcination predictive control system and method for rotary cement kiln
Zhao et al. DHP method for ramp metering of freeway traffic
CN106094527B (en) The identification of Fast Process model and generation
Li et al. Neuroadaptive variable speed control of wind turbine with wind speed estimation
CN103472723A (en) Predictive control method and system based on multi-model generalized predictive controller
CN105512832A (en) Urban water demand combined predication method based on time-varying weight minimum variance
Tian et al. Time-delay compensation method for networked control system based on time-delay prediction and implicit PIGPC
CN113325721B (en) Model-free adaptive control method and system for industrial system
CN103886395A (en) Reservoir optimal operation method based on neural network model
CN100511042C (en) Groove type reactor non-linear predication control method based on multi-kernel support vector machine
CN104063577A (en) Method for forecasting characteristic gas development tendency in transformer oil based on generalized recurrent neural network
CN112270124B (en) Real-time irrigation method and system
Simani Application of a data-driven fuzzy control design to a wind turbine benchmark model
Xu et al. Pressure prediction and abnormal working conditions detection of water supply network based on LSTM
Mahmoud et al. Direct adaptive control for nonlinear systems using a TSK fuzzy echo state network based on fractional-order learning algorithm
Chang et al. Flexible Clockwork Recurrent Neural Network for multirate industrial soft sensor
CN105676645A (en) Double-loop water tank liquid level prediction control method based on function type weight RBF-ARX model
CN107561944A (en) A kind of denitrating system adaptive prediction control method based on Laguerre model
CN113156822A (en) Thermal error prediction system and thermal error compensation system based on Mist-edge-fog-cloud computing
Tryputen et al. Laboratory bench to analyze of automatic control system with a fuzzy controller
Yang et al. Application of fuzzy neural network PID algorithm in oil pump control
CN102662324A (en) Non-linear model predication control method of tank reactor based on on-line support vector machine
CN115700324A (en) Tile temperature early warning method and device and electronic equipment
Belarbi et al. A stable model-based fuzzy predictive control based on fuzzy dynamic programming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150812

Termination date: 20190926