CN101900991A - Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor - Google Patents

Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor Download PDF

Info

Publication number
CN101900991A
CN101900991A CN2010102283384A CN201010228338A CN101900991A CN 101900991 A CN101900991 A CN 101900991A CN 2010102283384 A CN2010102283384 A CN 2010102283384A CN 201010228338 A CN201010228338 A CN 201010228338A CN 101900991 A CN101900991 A CN 101900991A
Authority
CN
China
Prior art keywords
neural network
linear
pid
nonlinear
control law
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102283384A
Other languages
Chinese (zh)
Inventor
曾喆昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN2010102283384A priority Critical patent/CN101900991A/en
Publication of CN101900991A publication Critical patent/CN101900991A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a composite PID (Proportion Integration Differentiation) neural network control method based on a nonlinear dynamic factor. In the method, creative improved research is carried out on the basis of stabilizing a PID controller based on a dynamic nonlinear factor by adopting a Ziegler-Nichols method abroad, and the defect of learning a mathematical model of a controlled object by confirming a PID gain parameter through utilizing a root locus method according to the Ziegler-Nichols method is effectively overcome. The invention aims to recombine three gain parameters and three factors in the prior art abroad to obtain six weight factors so as to obtain a composite PID neural network control law based on the nonlinear dynamic factor, which has six neural network weight factors, constructs a neural network model according to the nonlinear control law, and trains the weight factors in the composite PID controller based on the nonlinear dynamic factor on line in real time by using a neural network method to realize intelligent control on a nonlinear system. The invention can rapidly and accurately control a nonlinear object and has high robustness.

Description

Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor
Technical field
The invention belongs to automation field, relate to a kind of will be online from the quelling intelligence control method based on the parameter that the non-linear compound PID arithmetic element of dynamic factor is dissolved into hidden neuron.
Background technology
Ratio, integration, differential (P, I, D) control in deviation are control modes with the longest history, that vitality is the strongest.Although in today that advanced control strategy is promoted gradually, in the control loop that is moving at present, PID controller more than 90%.But, along with the raising of system complex degree and increasing of object uncertain factor, traditional linear PID control is no longer suitable, and nonlinear PID controller can truly reflect the nonlinear relationship between controlled quentity controlled variable and the deviation signal, overcome the shortcoming of linear PID controller to a certain extent, therefore, more and more be controlled the concern on boundary.In recent years, in order to overcome the weakness of conventional PID controllers, the control circle has proposed a large amount of improvement projects that neural network is combined with PID control, thisly neural network and PID are controlled the research that combines has obtained many achievements in research.Such as, with Neural Network Online correction pid parameter, obtained effectively from calm PID type generalized predictive controller; Adopt a neural network that controlled system is carried out identification and prediction, constitute Linear Network with P, I, D parameter as network weight simultaneously and find the solution performance index, obtained a kind of forecast function Neural network PID controller that has as controller; Adopt PID long-range prediction energy function as majorized function, and with the parameter of the online adjustment controller of local recursion's neural network (LCNN), realization non-linearity PID neural network multi-step prediction control algolithm have good adaptive ability and robustness; Adopt Neural Network Online to obtain linear control signal, obtain the nonlinear Control signal to realize nonlinear Control etc. through the Sigmoid functional transformation again from calm pid parameter.
But above method only is confined to adopt auxiliary P, I, the D parameter of choosing or revise conventional PID controllers of neural network, nonlinear Control ability.For this reason, there is the scholar to propose PID neuroid (PIDNN) control method.Its main thought is that linear PID arithmetic element is dissolved in the neural network hidden neuron through after the amplitude limiting processing, has constructed the simple dynamic network of structure, to realize the control of nonlinear system.Yet this method relates in one aspect to two-layer neural network weight adjustment, has the weights coupling phenomenon, thereby algorithm convergence is overflow, calculated amount is bigger, is unfavorable for the real-time control of quick sampling system; On the other hand, this method just is dissolved into linear PID arithmetic element in the neural network hidden neuron through after the amplitude limiting processing, and its nonlinear Control is indifferent.
Summary of the invention
The objective of the invention is: at the deficiencies in the prior art, the compound PID control law of a kind of kinematic nonlinearity has been proposed first, and the compound PID arithmetic element of kinematic nonlinearity is dissolved in the neural network hidden neuron, thereby construct a kind of linear composite PID (Proportion Integration Differentiation) neural network control method based on the dynamic non-factor.This method synthesis the advantage of the theoretical and neural network theory of nonlinear PID controller.
Technical scheme of the present invention is: adopt a kind of improvement project of the calm PID controller based on the kinematic nonlinearity factor of Ziegler-Nichols method to carry out further improvement research according to external pertinent literature, effectively avoided utilizing root-locus technique to determine that the gain parameter needs of PID know the drawback of the mathematical model of controlled device according to the Ziegler-Nichols method.The present invention is intended to the training of neural net method real-time online based on each gain parameter and coefficient in the compound PID controller of the kinematic nonlinearity factor, to realize the Based Intelligent Control of nonlinear system.
Further, specifically be divided into following steps:
(1) according to abroad based on the PID control law of the kinematic nonlinearity factor by launching to become compound PID control law based on the kinematic nonlinearity factor;
(2) according to the mathematical model based on the compound PID control law of nonlinear dynamic factor of structure, 1 dynamic linear proportional and 1 kinematic nonlinearity proportional, 1 dynamic linear integral and 1 kinematic nonlinearity integral, 1 dynamic linear differential term and 1 kinematic nonlinearity differential term are dissolved in the hidden neuron 6 dynamic operation unit totally, the kinematic nonlinearity composite PID (Proportion Integration Differentiation) neural network controller model that structure has traditional PI D essential characteristic, as shown in Figure 1;
(3) selected neural network learning rate by the initial value of the given at random weights coefficient of related request of each weights coefficient in the dynamic non-linear compound PID control law, has been avoided given by rule of thumb initial value;
(4) adopt gradient descent method online in real time to upgrade neural network weight, obtain the control signal of controlled device, to realize the online in real time Based Intelligent Control of non-linear object.
Advantage of the present invention is: simple in structure, exempt from model prediction, calculated amount little, be convenient to unknown object and be difficult to modeling the time become the nonlinear Control of Object with Time Delay.
Description of drawings
Fig. 1 is based on the composite PID (Proportion Integration Differentiation) neural network control system schematic diagram of nonlinear dynamic factor.
Embodiment
The present invention is further illustrated with reference to the accompanying drawings below.
1. based on the compound PID arithmetic element of nonlinear dynamic factor
In recent years, at Ziegler-Nichols method quelling PID controller a kind of improvement project has been proposed abroad, promptly
K p m ( k ) = K p ( 1 + k 1 | α ( k ) | ) K i m ( k ) = K i ( 0.3 + k 2 α ( k ) ) K d m ( k ) = K d ( 1 + k 3 | α ( k ) | ) - - - ( 1 )
Wherein, k 1=k 2=1, k 3=12;
Figure BSA00000193248000032
Figure BSA00000193248000033
The main innovation of formula (1) is during the gain that nonlinear dynamic factor α (k) is incorporated into PID is adjusted, and with the calm gain parameter K of PID of Ziegler-Nichols method p, K iAnd K dBut, need know the mathematical model of controlled device with the gain parameter of the calm PID of Ziegler-Nichols method, and utilize root-locus technique to determine gain parameter.The present invention has done further research on the basis of formula (1), be intended to strengthen versatility with each gain parameter and coefficient in the neural net method real-time online training type (1).
At first formula (1) is expanded into
K p m ( k ) = K p + K p k 1 | α ( k ) | K i m ( k ) = 0.3 K i + K i k 2 α ( k ) K d m ( k ) = K d + K d k 3 | α ( k ) | - - - ( 2 )
If w 1=K p, w 2=K pk 1, w 3=0.3K i, w 4=K ik 2, w 5=K d, w 6=K dk 3, then formula (2) becomes
K p m ( k ) = w 1 + w 2 | α ( k ) | K i m ( k ) = w 3 + w 4 α ( k ) K d m ( k ) = w 5 + w 6 | α ( k ) | - - - ( 3 )
Each coefficient w shown in the formula (3) in the gain function 1, w 2, w 3, w 4, w 5, w 6Can be by the training of neural net method online in real time, thereby the online in real time that realizes the non-linearity PID gain is calm, this control to nonlinear and time-varying system is particularly important, needing with the calm PID gain parameter of Ziegler-Nichols method can effectively avoid the difficult problem of known controlled device mathematical model.According to external existing result of study: k 1=k 2=1, k 3=12, therefore, give each coefficient w in the gain function shown in the fixed pattern (3) at random 1, w 2, w 3, w 4, w 5, w 6Initial value the time, should satisfy constraint condition: w 1=w 2>0,0<w 3<w 4, 0<w 5<w 6
2. based on the compound PID neuroid controller of nonlinear dynamic factor
As everyone knows, conventional digital PID control law is
u ( k ) = k p e ( k ) + k i Σ m = 0 k e ( m ) + k d Δe ( k ) - - - ( 4 )
The gain of three kinematic nonlinearities in the formula (3) is substituted three linear gains in the formulas (4), can get non-linear, digital PID control law and be:
u ( k ) = [ w 1 + w 2 | α ( k ) | ] e ( k ) + [ w 3 + w 4 α ( k ) ] Σ m = 0 k e ( m ) + [ w 5 + w 6 | α ( k ) | ] Δe ( k ) - - - ( 5 )
By formula (5) as can be known, in fact this control law has kept the essential characteristic of traditional PI D, different is: this control law is composited 6 dynamic operation unit by 1 dynamic linear proportional and 1 kinematic nonlinearity proportional, 1 dynamic linear integral and 1 kinematic nonlinearity integral, 1 dynamic linear differential term and 1 kinematic nonlinearity differential term totally, therefore be a compound PID control law of Nonlinear Dynamic, promptly be composited by a dynamic linear PID and a kinematic nonlinearity PID.Can construct the compound PID neuroid of Nonlinear Dynamic controller model as shown in Figure 1 according to formula (5), wherein
Figure BSA00000193248000041
Figure BSA00000193248000042
Figure BSA00000193248000043
S I1=s (k), S I2=α (k) s (k),
Figure BSA00000193248000044
Figure BSA00000193248000045
And
Figure BSA00000193248000046
Neural network output, promptly controlled device is input as
u ( k ) = [ w 1 + w 2 | α ( k ) | ] e ^ ( k ) + [ w 3 + w 4 α ( k ) ] s ( k ) + [ w 5 + w 6 | α ( k ) | ] Δ e ^ ( k ) - - - ( 6 )
3. based on the compound PID neuroid right value update algorithm of nonlinear dynamic factor
(1) the definition error function is
e(k)=r(k)-y(k) (7)
(2) the definition performance index are
J = 1 2 Σ k = 0 m e ^ 2 ( k + 1 ) - - - ( 8 )
Wherein,
e ^ ( k + 1 ) = S e ( e ( k + 1 ) ) , e ( k + 1 ) = r ( k + 1 ) - y ( k + 1 ) - - - ( 9 )
(3) adopt the gradient descent method, neural network weight more new formula is
w j k + 1 = w j k - μ ∂ J ∂ w j k - - - ( 10 )
Can get by formula (6), (8), (9):
∂ J ∂ w j k = - e ^ ( k + 1 ) y u ∂ u ( k ) ∂ w j k - - - ( 11 )
Can get respectively by formula (6)
∂ J ∂ w 1 k = - e ^ ( k + 1 ) e ^ ( k ) y u , ∂ J ∂ w 2 k = - e ^ ( k + 1 ) | α ( k ) | e ^ ( k ) y u , ∂ J ∂ w 3 k = - e ^ ( k + 1 ) s ( k ) y u
∂ J ∂ w 4 k = - e ^ ( k + 1 ) α ( k ) s ( k ) y u , ∂ J ∂ w 5 k = - e ^ ( k + 1 ) Δ e ^ ( k ) y u , ∂ J ∂ w 6 k = - e ^ ( k + 1 ) | α ( k ) | Δ e ^ ( k ) y u
Therefore, can get the right value update formula by formula (10) is
w 1 k + 1 = w 1 k + μ e ^ ( k + 1 ) e ^ ( k ) y u ; w 2 k + 1 = w 2 k + μ e ^ ( k + 1 ) | α ( k ) | e ^ ( k ) y u
w 3 k + 1 = w 3 k + μ e ^ ( k + 1 ) s ( k ) y u ; w 4 k + 1 = w 4 k + μ e ^ ( k + 1 ) α ( k ) s ( k ) y u
w 5 k + 1 = w 5 k + μ e ^ ( k + 1 ) Δ e ^ ( k ) y u ; w 6 k + 1 = w 6 k + μ e ^ ( k + 1 ) | α ( k ) | Δ e ^ ( k ) y u
Wherein, 0<μ<1 is a learning rate,
Figure BSA00000193248000051
4. the further discussion of right value update algorithm
By above-mentioned right value update formula as can be known,
Figure BSA00000193248000052
With
Figure BSA00000193248000053
All with to export y (k+1) (unknown) future of system relevant, thereby can make the neural network weight training dyscalculia occur.Domestic and international many scholars adopt the identification Method of controlled device to solve this dyscalculia, still, caused also that calculated amount is big, another problem of real-time difference, and for time-varying system, Model Distinguish are unrealistic.For this reason, the present invention proposes the effective ways that solve this dyscalculia, have versatility.
(1) well-known, if algorithm is a convergent, then must have:
Figure BSA00000193248000054
Therefore, as long as satisfy condition:
Figure BSA00000193248000055
Can guarantee that algorithm is a convergent.Can establish in view of the above:
Figure BSA00000193248000056
And 0<β<1.Because β can remedy by learning rate μ, therefore, β can be lain among the learning rate μ.
(2) if substitute with sign function
Figure BSA00000193248000057
Also be fully feasible.Because positive and negative the direction that the decision weights change of its symbol, the size of its numerical value only influences the pace of change of weights, and the weights pace of change also can be remedied by learning rate μ.If establish
y ^ u ( k ) = sign [ y ( k ) - y ( k - 1 ) u ( k - 1 ) - u ( k - 2 ) ] , u ( k - 1 ) ≠ u ( k - 2 ) sign [ y ( k ) - y ( k - 1 ) ] , u ( k - 1 ) = u ( k - 2 ) - - - ( 12 )
Then above-mentioned right value update formula can be rewritten as
w 1 k + 1 = w 1 k + μ e ^ 2 ( k ) y ^ u w 2 k + 1 = w 2 k + μ e ^ 2 ( k ) | α ( k ) | y ^ u w 3 k + 1 = w 3 k + μ e ^ ( k ) s ( k ) y ^ u w 4 k + 1 = w 4 k + μ e ^ ( k ) s ( k ) α ( k ) y ^ u w 5 k + 1 = w 5 k + μ e ^ ( k ) Δ e ^ ( k ) y ^ u w 6 k + 1 = w 6 k + μ e ^ ( k ) Δ e ^ ( k ) | α ( k ) | y ^ u - - - ( 13 )
Wherein, β has lain among the learning rate μ.
(3) oscillatory occurences to occur in order effectively avoiding causing in the neural metwork training process, usually weights to be carried out normalized, promptly because of weights are excessive
w j k + 1 = w j k + 1 / Σ i = 1 6 | w i k + 1 | , ( j = 1,2 , · · · , 6 ) - - - ( 14 )
By formula (12)~formula (13) as can be known, the calculating of weights is only relevant with u (k-2) with current or historical input r (k), r (k-1) and output y (k), y (k-1) and historical control signal u (k-1), thereby efficiently solves the difficult problem of weights calculating.The Nonlinear Dynamic composite PID (Proportion Integration Differentiation) neural network controller of the present invention research only relates to multiplication and additive operation, calculate simple, calculated amount is little, is convenient to practical application, being convenient to especially with the dsp chip is the realization of non-linear composite PID (Proportion Integration Differentiation) neural network controller of core.

Claims (6)

1. one kind is utilized neural network to calm based on the method for the compound PID controller parameter of nonlinear dynamic factor, it is characterized in that, abroad three gain parameters of the prior art and three coefficients reconfigure and obtain six weights coefficients, thereby the structure thought of nonlinear pid controller gain parameter has been proposed, derive non-linear compound PID control law formula, be neural network model with non-linear compound PID control law formula then, with six coefficients in the non-linear compound PID control law formula is the neural metwork training weights, draws the control signal of non-linear controlled device by Neural Network Online training in real time.
2. method according to claim 1 is characterized in that, described system is a nonlinear system.
3. method according to claim 1 is characterized in that, the control law of described system is non-linear compound PID control law.
4. method according to claim 1 is characterized in that, the non-linear compound PID control law of described system is composited by a dynamic linear PID and a kinematic nonlinearity PID.
5. method according to claim 1, it is characterized in that, described neural network is three layers of BP neural network, input layer and output layer are respectively a neuron, hidden layer comprises six neurons, is respectively two linearities and non-linear ratio's neuron, two linearities and non-linear integral neuron and two linearities and non-linear differential neuron.
6. method according to claim 1 is characterized in that, specifically is divided into following steps:
(1) is neural network model with non-linear compound PID control law formula, is the weights of neural network with each coefficient in the non-linear compound PID control law formula, and provides the initial value of weights coefficient, selected learning rate.
(2) export as train samples with the desired output and the reality of system, with the desired output error signal that output produces with reality input signal as neural network after amplitude limiting processing, with the control signal of neural network output as non-linear controlled device.
(3) train in real time by Neural Network Online, draw non-linear compound PID control law, non-linear controlled device is implemented online in real time control.
CN2010102283384A 2010-07-02 2010-07-02 Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor Pending CN101900991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102283384A CN101900991A (en) 2010-07-02 2010-07-02 Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102283384A CN101900991A (en) 2010-07-02 2010-07-02 Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor

Publications (1)

Publication Number Publication Date
CN101900991A true CN101900991A (en) 2010-12-01

Family

ID=43226597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102283384A Pending CN101900991A (en) 2010-07-02 2010-07-02 Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor

Country Status (1)

Country Link
CN (1) CN101900991A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT512251A3 (en) * 2013-02-28 2014-03-15 Avl List Gmbh Method of designing a nonlinear controller for non-linear processes
CN106019948A (en) * 2016-08-02 2016-10-12 西南科技大学 Time-varying model control method and system
CN108599646A (en) * 2018-04-27 2018-09-28 曾喆昭 The quasi- PI of direct-driving type PMSM wind power systems MPPT disturbs sensing control method
CN109299687A (en) * 2018-09-18 2019-02-01 成都网阔信息技术股份有限公司 A kind of fuzzy anomalous video recognition methods based on CNN
CN109325533A (en) * 2018-09-18 2019-02-12 成都网阔信息技术股份有限公司 A kind of artificial intelligence frame progress CNN repetitive exercise method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT512251A3 (en) * 2013-02-28 2014-03-15 Avl List Gmbh Method of designing a nonlinear controller for non-linear processes
AT512251B1 (en) * 2013-02-28 2014-08-15 Avl List Gmbh Method of designing a nonlinear controller for non-linear processes
US10466659B2 (en) 2013-02-28 2019-11-05 Avl List Gmbh Method for designing a non-linear controller for non-linear processes
CN106019948A (en) * 2016-08-02 2016-10-12 西南科技大学 Time-varying model control method and system
CN108599646A (en) * 2018-04-27 2018-09-28 曾喆昭 The quasi- PI of direct-driving type PMSM wind power systems MPPT disturbs sensing control method
CN108599646B (en) * 2018-04-27 2021-05-11 长沙理工大学 quasi-PI disturbance perception control method for MPPT of direct-drive PMSM wind power system
CN109299687A (en) * 2018-09-18 2019-02-01 成都网阔信息技术股份有限公司 A kind of fuzzy anomalous video recognition methods based on CNN
CN109325533A (en) * 2018-09-18 2019-02-12 成都网阔信息技术股份有限公司 A kind of artificial intelligence frame progress CNN repetitive exercise method

Similar Documents

Publication Publication Date Title
CN103591637B (en) A kind of central heating secondary network runing adjustment method
CN104636823B (en) A kind of wind power forecasting method
CN101598109B (en) Intelligent control method for windmill generator yaw system
CN102902203B (en) The parameter on-line tuning method and system that time series forecasting is combined with Based Intelligent Control
CN101900991A (en) Composite PID (Proportion Integration Differentiation) neural network control method based on nonlinear dynamic factor
CN104833154B (en) Chilled water loop control method based on fuzzy PID and neural internal model
CN110566406B (en) Wind turbine generator set real-time variable pitch robust control system and method based on reinforcement learning
CN105354620A (en) Method for predicting fan generation power
CN103425743A (en) Steam pipe network prediction system based on Bayesian neural network algorithm
CN109492792A (en) A method of it is predicted based on particle group optimizing wavelet neural network powerline ice-covering
CN103745101A (en) Improved neural network algorithm based forecasting method of set value of rolling force of medium plate
CN102043380A (en) Quadratic polynomial-based nonlinear compound PID (proportional-integral-differential) neural network control method
CN109647899A (en) More specification rolled piece power consumption forecasting procedures in a kind of hot strip rolling finishing stands
CN103399492B (en) A kind of Quick non-linear predictive control method for voltage of solid oxide fuel cell
CN104299031A (en) Ultra-short-term load prediction method of BP neural network
CN104050505A (en) Multilayer-perceptron training method based on bee colony algorithm with learning factor
CN101276207A (en) Multivariable non-linear system prediction function control method based on Hammerstein model
CN113988481A (en) Wind power prediction method based on dynamic matrix prediction control
CN107145968A (en) Photovoltaic apparatus life cycle cost Forecasting Methodology and system based on BP neural network
CN104834218A (en) Dynamic surface controller structure and design method of parallel single-stage two-inverted pendulum
CN106570594A (en) Similar day photovoltaic power generation short period prediction method based on TMBP
CN101963785A (en) On-line control method for oxidation mother liquor filter process in purified terephthalic acid production
CN105809272A (en) Step hydropower station group instruction scheduling optimization method based on data mining
CN107065541A (en) A kind of system ambiguous network optimization PID PFC control methods of coking furnace furnace pressure
CN107370155A (en) Binary channels time delay processing method in interconnected network Automatic Generation Control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101201