CN106802554A - Two-Degree-of-Freedom Internal Model PID controller parameter setting method - Google Patents

Two-Degree-of-Freedom Internal Model PID controller parameter setting method Download PDF

Info

Publication number
CN106802554A
CN106802554A CN201710213300.1A CN201710213300A CN106802554A CN 106802554 A CN106802554 A CN 106802554A CN 201710213300 A CN201710213300 A CN 201710213300A CN 106802554 A CN106802554 A CN 106802554A
Authority
CN
China
Prior art keywords
parameter
controlled device
degree
object parameters
internal model
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
CN201710213300.1A
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.)
702th Research Institute of CSIC
Original Assignee
702th Research Institute of CSIC
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 702th Research Institute of CSIC filed Critical 702th Research Institute of CSIC
Priority to CN201710213300.1A priority Critical patent/CN106802554A/en
Publication of CN106802554A publication Critical patent/CN106802554A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0265Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion
    • G05B13/027Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion using neural networks only

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The present invention relates to a kind of Two-Degree-of-Freedom Internal Model PID controller parameter setting method, by the parameter of varying cyclically controlled device first under off-line state, and every group of optimal λ 1 of object parameters correspondence is obtained using genetic algorithm, as the training sample of neutral net;Object parameters are recognized according to least square method under presence again, the parameter of controlled device is obtained according to identification, neutral net is respectively adopted λ 2 and λ 1 are adjusted.In the present invention, the acquisition of λ 1 is obtained by genetic algorithm optimizing in Sample Storehouse, λ 1 now can be optimal the ITAE indexs of system, it is to avoid the defect of artificial experience Selecting All Parameters;Consider the change that occurs in actual motion of object parameters, on-line tuning is carried out to λ 2 and λ 1 according to the parameter that identification obtains controlled device, overcome causes control effect to be paid no attention to think over a problem using the controller parameter of fixation.

Description

Two-Degree-of-Freedom Internal Model PID controller parameter setting method
Technical field
The present invention relates to attitude conirol technical field, more particularly, to the ginseng of Two-Degree-of-Freedom Internal Model PID controller Number setting method.
Background technology
PID controller is due to simple structure, reliability is high and is widely used in various control field, but for ship, The controlled device of the big inertia time lag such as submarine, tends not to obtain satisfied control effect only with PID control.By internal model control It is combined to form Internal Model PID Controller with PID control, can significantly improves the bad shadow that Time Delay in controlled device brings Ring, and the parameter tuning of controller is easier.Conventional PID controller and Internal Model PID Controller are all single-degree-of-freedom controller, Only one group regulation parameter, the parameter of controller needs to carry out compromise choosing according to the anti-interference and target value tracking characteristic of system Select, it is impossible to system is obtained optimum performance.A filtering link is connected on the basis of single-degree-of-freedom Internal Model PID Controller can To constitute Two-Degree-of-Freedom Internal Model PID controller, make controller contain two groups can separately adjustable system anti-interference and desired value The parameter of tracking characteristics, substantially increases the control effect of system, but increased the parameter number that filtering link also causes controller Amount is more, and parameter tuning process is more complicated.At present, still without very complete, effective Two-Degree-of-Freedom Internal Model PID controller Parameter tuning method, especially to the main warp for being also to rely on designer of selection of filtering parameter in the filtering link of series connection Test, and controller also makes it apply in object parameters with running environment, working conditions change typically using fixed parameter It is difficult to obtain superior control effect in the system of change.
The content of the invention
It is difficult to make by designer's experience selection controller parameter and using fixed controller parameter for above-mentioned System obtains the defect of superior function, and applicant is studied and improved, there is provided a kind of Two-Degree-of-Freedom Internal Model PID controller parameter Setting method.
In order to solve the above problems, the present invention uses following scheme:
It is inertia Time Delay for controlled device, its transmission function can be expressed as:
Wherein, KmIt is gain coefficient;LmIt is time lag constant;TmiIt is inertia time constant;N is systematic education.For formula (1) In controlled device, use Two-Degree-of-Freedom Internal Model PID controller for:
Wherein, λ1And λ2It is controller parameter to be adjusted.A kind of Two-Degree-of-Freedom Internal Model PID controller parameter setting method, Its feature is comprised the following steps:
Step I:In controlled device each parameter variation range, several representative values are respectively listed, combination forms multigroup quilt Control image parameter;
Step II:Under off-line state, Do statement is write in Matlab, cycle-index is equal to controlled device in step I The quantity of parameter.The operation of two steps is completed in single cycle:1. object parameters are changed, while according to given peak response MSAgain adjust λ2
2. genetic algorithm is used again, with the ITAE indexs under system step response as object function, to λ1Carry out optimizing.Institute After thering is time circulation terminate, obtain controlled device and take different groups of parameters corresponding to optimal λ respectively1, and it is controlled right by all groups As parameter and the optimal λ of every group of parameter correspondence1It is saved into Sample Storehouse;
Step III:Three layers of BP neural network are built, the input of neutral net is the parameter of controlled device, is output as λ1.From Under wire state, the sample obtained in step II is used to be trained the weights of neutral net in MATLAB;
Step IV:Under presence, real-time identification is carried out to object parameters using least square method, obtain controlled right The parameter of elephant, adjusts C in conjunction with formula (3)2λ in (s)2
Step V:Under presence, the object parameters that obtain as the input of neutral net will be recognized, due to nerve Network has certain generalization ability, now λ1The output valve of neutral net is taken, can make system that there is superior ITAE indexs.
By above scheme as can be seen that Two-Degree-of-Freedom Internal Model PID controller parameter setting method of the invention, first from By the parameter of varying cyclically controlled device under wire state, and it is optimal to obtain every group of object parameters correspondence using genetic algorithm λ1, as the training sample of neutral net;Object parameters are distinguished according to least square method under presence again Know, the parameter of controlled device is obtained according to identification, the neutral net after formula (3) being respectively adopted and training carries out whole to λ 2 and λ 1 It is fixed.
The technical effects of the invention are that:
1st, the acquisition of λ 1 is obtained by genetic algorithm optimizing in Sample Storehouse, and λ 1 now can reach the ITAE indexs of system To optimal, it is to avoid the defect of artificial experience Selecting All Parameters;
2nd, consider the change that object parameters occur in actual motion, the parameter pair of controlled device is obtained according to identification λ 2 and λ 1 carry out on-line tuning, and overcome causes control effect to be paid no attention to think over a problem using fixed controller parameter;
3rd, the parameter lambda 1 of controller is adjusted using the neutral net after training, and its process shows as simple four fundamental rules fortune Calculate, easily, real-time and practicality are all stronger for programming realization.
Brief description of the drawings
Fig. 1 is Control system architecture block diagram of the present invention using Two-Degree-of-Freedom Internal Model PID controller
Fig. 2 is theory diagram of the present invention using genetic algorithm optimization λ 1
Fig. 3 is the flow chart that Sample Storehouse of the present invention is obtained
Fig. 4 is three layers of BP neural network structure chart of the invention
Fig. 5 is Two-Degree-of-Freedom Internal Model PID controller parameter on-line tuning principle frame of the present invention.
Specific embodiment
Specific embodiment of the invention is described further below in conjunction with the accompanying drawings.
The present embodiment application the inventive method is to controlled device in system in the two degrees of freedom of second-order inertia Time Delay Mould PID controller carries out parameter tuning.If the transmission function of controlled device is in system:
Wherein, KmIt is gain coefficient;LmIt is time lag constant;Tm1, Tm2It is inertia time constant.
Fig. 1 is using the Control system architecture block diagram of Two-Degree-of-Freedom Internal Model PID controller.C in Fig. 11(s) and C2S () is Two-Degree-of-Freedom Internal Model PID controller, its transmission function is:
Wherein, λ1And λ2It is controller parameter to be adjusted.
Parameter tuning is carried out to Two-Degree-of-Freedom Internal Model PID controller in formula (2) using the inventive method, its feature include with Lower step:
Step I:Assuming that the parameter K of controlled devicem、Lm、Tm1、Tm2Excursion be respectively [Kmmin,Kmmax]、 [Lmmin,Lmmax]、[Tm1min,Tm1max]、[Tm2min,Tm2Max], separated respectively etc. in every group of parameter variation range o, p, Q, h value, these values are combined to form the unduplicated object parameters of M groups, M=o*p*q*h;
Step II:Under off-line state, Do statement is write in matlab, cycle-index is M.Make two steps in single cycle Operation:1. in the M group object parameters for being produced in step I, one group of new parameter is taken in order as object parameters, Peak response MS1.6 are taken, is adjusted again λ according to given peak response2
2. using genetic algorithm to λ1Carry out optimizing, λ1Scope take [λ2, 10 λ2], genetic algorithm is responded with system step Under ITAE indexs be object function, taking fitness function is
Genetic algorithm is sentenced by parameter initialization, initialization of population, genetic operator operation, new population generation, end condition It is disconnected to wait execution to produce λ optimal corresponding to this group of object parameters after terminating1, genetic algorithm optimization λ1Theory diagram see figure 2.After M circulation terminates, M corresponding with M group object parameters optimal λ is obtained1, by M groups object parameters and M Optimal λ1Correspondence combination forms M sample, saves as Sample Storehouse.The flow chart that Sample Storehouse is obtained is shown in Fig. 3;
Step III:Build three layers of BP neural network, the input number of nodes of neutral net takes 4, node in hidden layer and takes 4, defeated Go out node layer number and take 1, neural network structure figure is shown in Fig. 4.Under off-line state, M obtained in step II is used in MATLAB Sample is trained to the weights of neutral net;
Step IV:Under presence, the parameter for using least squares identification to obtain controlled device is Kmo、Lmo、Tm1o、 Tm2o, adjusted C in conjunction with formula (3)2λ in (s)2, obtain λ2=0.9665Lmo
Step V:The K for obtaining will be recognizedmo、Lmo、Tm1o、Tm2oAs the input of neutral net after training, due to neutral net With certain generalization ability, now the output valve of neutral net is λ1Setting valve.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to assert the present invention Specific implementation be confined to these explanations.For general technical staff of the technical field of the invention, do not departing from On the premise of present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to protection model of the invention Enclose.

Claims (1)

1. a kind of Two-Degree-of-Freedom Internal Model PID controller parameter setting method, it is characterised in that:
It is inertia Time Delay for controlled device, its transmission function is:
P ( s ) = K m e - L m s Π i = 1 n ( T m i s + 1 ) , T m i > 0 - - - ( 1 )
Formula (1) wherein, KmIt is gain coefficient;LmIt is time lag constant;TmiIt is inertia time constant;N is systematic education;For formula (1) In controlled device, use Two-Degree-of-Freedom Internal Model PID controller for:
C 1 ( s ) = λ 2 s + 1 λ 1 s + 1 C 2 ( s ) = Π i = 1 n ( T m i s + 1 ) K m ( λ 2 + L m ) s - - - ( 2 )
In formula (2), λ1And λ2It is controller parameter to be adjusted;
The parameter tuning method, comprises the following steps:
Step I:In controlled device each parameter variation range, several representative values are respectively listed, combination forms multigroup controlled right As parameter;
Step II:Under off-line state, Do statement is write in Matlab, cycle-index is equal to object parameters in step I Quantity;The operation of two steps is completed in single cycle:The first step to change object parameters, while according to given maximum sensitive Degree MS adjusts λ 2 again:
λ 2 = 1.508 - 0.451 M s 1.451 M s - 1.508 L m - - - ( 3 )
Second step uses genetic algorithm again, with the ITAE indexs under system step response as object function, optimizing is carried out to λ 1;Institute After thering is time circulation terminate, obtain controlled device and take different groups of parameters corresponding to optimal λ 1 respectively, and it is controlled right by all groups As parameter and the optimal λ of every group of parameter correspondence1It is saved into Sample Storehouse;
Step III:Three layers of BP neural network are built, the input of neutral net is the parameter of controlled device, is output as λ1;Offline Under state, the sample obtained in step II is used to be trained the weights of neutral net in MATLAB;
Step IV:Under presence, real-time identification is carried out to object parameters using least square method, obtain controlled device Parameter, adjusts C in conjunction with formula (3)2λ in (s)2
Step V:Under presence, the object parameters that obtain as the input of neutral net will be recognized, now λ1Take nerve net The output valve of network.
CN201710213300.1A 2017-04-01 2017-04-01 Two-Degree-of-Freedom Internal Model PID controller parameter setting method Pending CN106802554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710213300.1A CN106802554A (en) 2017-04-01 2017-04-01 Two-Degree-of-Freedom Internal Model PID controller parameter setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710213300.1A CN106802554A (en) 2017-04-01 2017-04-01 Two-Degree-of-Freedom Internal Model PID controller parameter setting method

Publications (1)

Publication Number Publication Date
CN106802554A true CN106802554A (en) 2017-06-06

Family

ID=58981791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710213300.1A Pending CN106802554A (en) 2017-04-01 2017-04-01 Two-Degree-of-Freedom Internal Model PID controller parameter setting method

Country Status (1)

Country Link
CN (1) CN106802554A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108490767A (en) * 2018-02-11 2018-09-04 上海交通大学 A kind of industrial unstable time lag process two-degree-freedom controller
CN114509934A (en) * 2021-12-24 2022-05-17 浙江中控软件技术有限公司 Parameter setting method for cascade loop PID controller based on expert internal model control
CN114755914A (en) * 2022-04-11 2022-07-15 中国航发控制系统研究所 Aero-engine servo controller design method based on IMC-PID

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008046931A (en) * 2006-08-17 2008-02-28 Idemitsu Kosan Co Ltd Control method and control device for supplying fuel gas in fuel gas supply system
CN103294029A (en) * 2013-05-15 2013-09-11 华南理工大学 Special efficient data-driven internal-model polynomial controller for industrial processes
CN103439887A (en) * 2013-07-31 2013-12-11 广东电网公司电力科学研究院 PI controller parameter setting method and system with optimal lower order system ITAE
CN104834211A (en) * 2015-04-29 2015-08-12 贵州电力试验研究院 Thermal power plant control system internal model PID controller tuning method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008046931A (en) * 2006-08-17 2008-02-28 Idemitsu Kosan Co Ltd Control method and control device for supplying fuel gas in fuel gas supply system
CN103294029A (en) * 2013-05-15 2013-09-11 华南理工大学 Special efficient data-driven internal-model polynomial controller for industrial processes
CN103439887A (en) * 2013-07-31 2013-12-11 广东电网公司电力科学研究院 PI controller parameter setting method and system with optimal lower order system ITAE
CN104834211A (en) * 2015-04-29 2015-08-12 贵州电力试验研究院 Thermal power plant control system internal model PID controller tuning method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙功武,等: "时滞系统的二自由度IMC-PID控制研究", 《计算机应用研究》 *
黄友锐: "基于遗传神经网络的自整定PID 控制器", 《系统仿真学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108490767A (en) * 2018-02-11 2018-09-04 上海交通大学 A kind of industrial unstable time lag process two-degree-freedom controller
CN114509934A (en) * 2021-12-24 2022-05-17 浙江中控软件技术有限公司 Parameter setting method for cascade loop PID controller based on expert internal model control
CN114509934B (en) * 2021-12-24 2024-06-07 浙江中控软件技术有限公司 Parameter setting method for cascade loop PID controller based on expert internal model control
CN114755914A (en) * 2022-04-11 2022-07-15 中国航发控制系统研究所 Aero-engine servo controller design method based on IMC-PID
CN114755914B (en) * 2022-04-11 2024-06-25 中国航发控制系统研究所 IMC-PID-based aeroengine servo controller design method

Similar Documents

Publication Publication Date Title
CN106802554A (en) Two-Degree-of-Freedom Internal Model PID controller parameter setting method
CN110566406B (en) Wind turbine generator set real-time variable pitch robust control system and method based on reinforcement learning
CN106779068A (en) The method and apparatus for adjusting artificial neural network
CN110009043A (en) A kind of pest and disease damage detection method based on depth convolutional neural networks
CN105929683A (en) Differential adjustable PID controller parameter project adjusting method
CN108490965A (en) Rotor craft attitude control method based on Genetic Algorithm Optimized Neural Network
CN107015476A (en) A kind of position and the cooperative control method of force signal to electrohydraulic servo system
CN108983849A (en) It is a kind of to utilize compound extreme learning machine ANN Control greenhouse method
CN105649877A (en) Ant colony PID individual pitch control method of large wind turbine unit
CN104833154A (en) Chilled water loop control method based on fuzzy PID and neural internal model
CN110601222A (en) Fractional order load frequency control method based on Levy moth algorithm
CN106292291B (en) Parameter optimization method for controller of automatic power generation control system of power grid
Li et al. Design and application of intelligent control system for greenhouse environment
CN109116724A (en) A kind of LOAD FREQUENCY control method for improving bacterial foraging algorithm based on population
CN117093033A (en) Resistance heating furnace temperature control system for optimizing PID parameters based on particle swarm optimization
Sivakumar et al. ANFIS based distillation column control
CN110138293A (en) A kind of BP neural network optimization chaotic control method based on double-fed wind power system
CN115097736A (en) Active disturbance rejection controller parameter optimization method based on deep reinforcement learning
Obias et al. A study of the interaction of proportional-integral-derivative (PID) control in a quadcopter unmanned aerial vehicle (UAV) using design of experiment
CN110231829A (en) Increase the intensified learning miniature self-service gyroplane independent landing method melted based on data
Mahmud Neural network based PID control analysis
CN109270967A (en) A kind of semi-active control method of blower fan tower barrel wind-induced vibration
CN112925207A (en) Greenhouse environment temperature self-adaption method based on parameter identification
CN107180261A (en) Based on the Greenhouse grape medium- and long-term forecasting method for rolling BP neural network
Jiangming et al. Self-Tuning PID controller based on improved BP neural network

Legal Events

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

Application publication date: 20170606

RJ01 Rejection of invention patent application after publication