摘要
倒立摆是一个典型的单输入多输出、非线性、高阶次的不稳定系统,研究倒立摆的控制不仅能反映控制理论中有关非线性、鲁棒性以及跟踪问题等许多关键问题,同时对工业复杂对象的控制也有着重要的应用价值。
微粒群优化算法(Particle Swarm Optimization algorithm,PSO)是近年来提出的一种新型的基于群体智能的进化算法,它具有算法简单、收敛速度较快,所需领域知识少的特点。本文在对倒立摆、PSO算法研究现状进行综述的基础上,进行了基于PSO算法优化设计控制系统的研究,论文主要工作包括:
(1)基于牛顿力学原理建立了一级直线倒立摆数学模型,介绍了倒立摆LQR(Linear Quadratic Regulator)最优控制方法,并利用MATLAB7研究了倒立摆LQR控制性能。
(2)将微粒群算法应用于传统PID控制器参数优化整定,通过对不同对象的控制系统仿真实验结果表明,与传统PID控制器整定方法相比,控制系统具有更佳的闭环控制性能。
(3)为克服BP(Back-Propagaion)算法不足,本文研究利用PSO算法作为多层前馈神经网络训练算法以实现非线性函数逼近及模式识别等,通过对不同非线性函数的辨识及模式识别实验结果表明,PSO算法作为神经网络训练算法是可行的。为提高逼近精度,采用“种群爆炸”思想对PSO算法进行改进,实验结果表明,改进方法是有效的。为得到全局最优的BP网络训练算法,文中还将PSO算法与BP算法结合进行网络训练开展了研究工作,实验表明,该方法能克服BP算法不足,提高网络训练速度和精度。
(4)针对一级直线倒立摆这一复杂非线性对象,本文提出了一种基于PSO算法训练BP网络连接权值与阈值的神经网络控制方法以实现倒立摆控制,仿真结果表明了该方法的良好性能。
文章最后对全文的工作进行总结,并且提出了进一步研究的方向。
The inverted pendulum system is a typical single input and multiple outputs,nonlinear,high order,natural unstable system. Research on the accurate control of the inverted pendulum not only reflects several joints-in control theory,such as,nonlinear problems,robustness,as well as tracking,but also has great engineering value to the complex industrial objects.
Recently,Particle Swarm Optimization(PSO)algorithm comes forth as another intelligent algorithm.It is simple with concept, parameters and implementation.Inverted pendulum、PSO and its researchment actuality are summarized firstly,then PSO is applied to optimize and design the control systems.The main contributions given in this dissertation are as follows:
(1)Using Newton's mechanicstheory to establish the linear level inverted pendulum mathematical model.LQR(Linear Quadratic Regulator)controller in modern control theory is designed,and simulation performances are given by MATLAB7.0.
(2)PSO is proposed to optimize the parameters of the conventional PID controller.The simulation results of the different control systems show that the optimal PIP controller based on PSO has a satisfying performance and is better than the conventional PID controller based on the conventional.
(3)PSO algorithm is used to train the weights and the thresholds of Multilayer Feedforward Neural Networks(MFNN)instead of Back Propagation(BP)algorithm.The NN trained by PSO is applied to identify non-linear function and pattern recognition.The experimental results show that the proposed method is effective but low-precision than BP algorithm.To improve the global searching capability of PSO,the concept of 'Particle Swarm Exploding' is introduced into the PSO,experimental results show that the proposed method is effective.The hybrid algorithm combining PSO algorithm with BP algorithm is used to train the MFNN.Defects of conventional BP algorithm,i.e.the slow convergence of weight and threshold learning,premature result,and the slow training speed of PSO,are settled by it.
(4)A NNC(Neural Network Controller)is made based on PSO algorithm to control inverted pendulum and theexperiment results prove the good effectiveness of NNC method based on PSO.
Finally some conclusions and future researches are drawn in this dissertation.
引文
[1]孟巧荣.倒立摆虚拟样机及控制系统的研究[D].太原理工大学硕士研究生学位论文.2004:1-5
[2]黄永宣.自动平衡倒置摆系统——一个有趣的经典控制理论教学实验装置[J].控制理论与应用.1987,4(3):92-95
[3]刘珊中,朱邦太,牛新闻.状态反馈H_∞控制在二级倒立摆中的应用[J].洛阳工学院学报.1999,20(1):75-79
[4]刘珊中,朱邦太,邓兵.基于H_∞控制的倒立摆平衡系统鲁棒性研究[J].电光与控制.2000(2):1-6
[5]苏宏业,汪洋,褚健.单输入/单输出非线性系统的状态观测器设计[J].控制理论与应用.1997,14(5):702-707
[6]董翠玲,周凤岐.二级倒立摆的模糊控制[J].机床与液压.2006(4)
[7]过润秋,洪旭,苏旺旺.基于模糊控制理论的二级倒立摆控制算法[J].西安电子科技大学学报.2006,33(1)
[8]蒋国飞,吴沧浦.基于Q学习算法和BP神经网络的倒立摆控制[J].自动化学报.1998,24(5)
[9]张乃尧,栗天.基于模糊神经网络的模型参考自适应控制[J].自动化学报,1996(7)
[10]杨振强,朴营国,程树康.二级倒立摆的状态变量合成模糊神经网络控制[J].控制与决策.2002,17(1)
[11]邢君,王磊,戴冠中.基于BP算法的自适应模糊控制系统研究[J].控制理论与应用.1996,13(6):797-801.
[12]杨国军,崔平远,李琳琳.遗传算法在神经网络控制中的应用与实现[J].系统仿真学报.2001,13(5)
[13]W.Wei,W.Von Seelen.Recurrent neuro-controller design for an inverted pendulum using evolution strategy[J].International Journal of Systems Science,2001,Volume:32(5),Pages:643-650
[14]F.Pasemann.Evolving neuro controllers for balancing an inverted pendulum Network.Computation in Neural Systems[J].Volume:9,Pages:495-511
[15]葛锁良,陈学军,邱丹.神经网络预测控制及其在二级倒立摆中的仿真[J].自动化技术与应用.2005,24(6)
[16]张飞舟,范跃祖,沈程智等.利用云模型实现智能控制倒立摆[J].控制理论与应用.2000,17(4)
[17]陈晖,李德毅,沈程智等.云模型在倒立摆控制中的应用[J].计算机研究与发展.1999,56(10)
[18]Kennedy,J,Eberhart,R..Particle swarm optimization[C].IEEE International Conference on Neural Networks-Conference Proceedings,v 4,1995,p 1942-1948
[19]Eberhart,R.Kennedy,J.A new optimizer using particle swarm theory[C].Proceedings of the Sixth International Symposium on Micro Machine and Human Science.Nagoya Japan IEEE Press 1995,39-43.
[20]Eberhart,R.C.Shi,Y.Particle swarm optimization:Developments,applications and resources[C].Proceedings of the IEEE Conference on Evolutionary Computation,ICEC,v 1,2001,p 81-86
[21]Hu,Xiaohui,Shi,Yuhui,Eberhart,Russ Recent advances in particle swarm[C].Proceedings of the 2004 Congress on Evolutionary Computation,CEC2004,2004,p 90-97
[22]Kennedy,J.Eberhart,R.A discrete binary version of the particle swarm algorithmiC].Proceedings of IEEE International Conference on Computational Cybernetics and Simulation Systems, Man,and Cybernetics, Orlando, FL. IEEE Press 1997,4104-4108
[23] Clerk M. Discrete Particle swarm optimization Illustrated by the Traveling Salesman Problem. http://www.manuriceclerc.net,2000.
[24] Kang-ping Wang, Lan Huang, et. Particle swarm optimization for Traveling Salesman Problem[C]. Proceedings of Second International Conference on Machine Learning and Cybemetics. Xi'an, November 2003 .2-5.
[25] Wei Pang, Kang-ping Wang,et Fuzzy Discrete Particle swarm optimization for solving traveling Salesman Problem[C]. Proceedings of the Fourth International Conference on Computer and Information Technology. 2004
[26] Shi, Y. Eberhart, R. A modified particle swarm optimizer[C]. Proceedings of IEEE World Congress on Computational Intelligence.Anchorage, AK IEEE Press 1998, 69~73.
[27] Shi, Y. Eberhart, R. Empirical study of particle swarm optimizer[C]. Proceedings of IEEE World Congress on. Evolutionary Computation Piscataway , NJ: IEEE Press 1999,1945-1950.
[28] Clerc, M. ; Kennedy, J. ; The particle swarm - explosion, stability, and convergence in a multidimensional complex space[J] IEEE Transactions on Evolutionary Computation, Feb. 2002 (6) 1 58 -73
[29] Angeline, P. J. Using selection to improve particle swarm optimization Evolutionary[C]. IEEE World Congress on Computational Intelligence Anchorage, AK 1998 On page(s): 84 - 89
[30] Angeline, P. J., Saunders, G. M., Pollack, J. B. An evolutionary algorithm that constructs recurrent neural networks[J]. IEEE Transactions on Neural Networksl994 Volume: 5 , Issue: 1 On page(s):54 - 65
[31] Chao Ou, Weixing Lin. Comparison between PSO and GA for Parameters Optimization of PID Controller[C]. Proceedings of the 2006 IEEE International Conference on Mechatronics and Automation,June 2006 Page(s):2471 - 2475
[32] Yijian Liu, Jianming Zhang, Shuqing Wang. Optimization design based on PSO algorithm for PID controller[C]. Proceedings of WCICA 2004. Fifth World Congress on Intelligent Control and Automation,Volume 3, 15-19 June 2004 Page(s):2419 - 2422 Vol.3
[33] Yaping Du, Ning Wang, Jianming Zhang. An optimum design method based on PSO algorithm for neuron controllers[C] . Proceedings of WCICA 2004. Fifth World Congress on Intelligent Control and Automation Volume 3, 15-19 June 2004 Page(s):2617 - 2621 Vol.3
[34] Yoshida, H., Kawata, K., Fukuyama, Y., Takayama, S., Nakanishi,Y.. A particle swarm optimization for reactive power and voltage control considering voltage security assessment[J]. IEEE Transactions on Power Systems Volume 15, Issue 4, Nov. 2000 Page(s):1232 - 1239
[35] Naka, S., Genji, T., Yura, T., Fukuyama, Y. A hybrid particle swarm optimization for distribution state estimation[J]. IEEE Transactions on Power Systems Volume 18, Issue 1, Feb. 2003 Page(s):60-68
[36] Abido, M. A.. Optimal design of power-system stabilizers using particle swarm optimization[J]. IEEE Transactions on Energy Conversion,Volume 17,Issue 3,Sept.2002 Page(s):406-413
[37]曾建潮,介靖,崔志华.微粒群算法[M].北京科学出版社:2004:1-13,
[38]肖建.现代控制系统综合与设计[M].中国铁道出版社 2000:20-25;175-178
[39]Kennedy,James.Particle swarm:Social adaptation of knowledge[C].Proceedings of the IEEE Conference on Evolutionary Computation,ICEC,1997,p 303-308
[40]Eberhart,R.C.,Shi,Y.Comparison between genetic algorithms and particle swarm optimization[J].Lecture Notes in Computer Science,v 1447,1998,p 611
[41]Shi,Y.,Eberhart,R.C.Parameter selection in particle swarm optimization[J].Lecture Notes in Computer Science,v 1447,1998,p 591
[42]陈贵敏,贾建援,韩琪.粒子群优化算法的惯性权值递减策略研究[J].西安交通大学学报,2006,40(1):53-56
[43]王启付,王战江,王书亭.一种动态改变惯性权重的粒子群优化算法[J].中国机械工程学报,2005,16(11):945-948
[44]Clerc M.The Swarm and the Queen:Towards a Deterministic and Adaptive Particle Swarm optimization[C].Proc of the Congress on Evolutionary Computation.1999,1951-1957
[45]Eberhart,R.C.,Shi,Y.Comparing inertia weights and constriction factors in particle swarm optimization[C].Proceedings of the IEEE Conference on Evolutionary Computation,ICEC,v 1,2000,p 84-88
[46]Shi,Y.Eberhart,R.C.Fuzzy adaptive particle swarm optimization[C].Proceedings of the IEEE Conference on Evolutionary Computation,ICEC,v1,2001,p 101-106
[47]段玉清,贺家李,贺继红,基于人工神经网络方法的微机变压器保护[J].中国电机工程学报,1998,18(3);190-194。
[48]陶永华.新型PID控制及其应用[M].北京:机械工业出版社.2002:7,87
[49]陶永华.模糊PID控制[J].工业仪表与自动化装置.1996(1):57-62。
[50]谭永红.基于神经网络的自适应控制[J].控制理论与应用.1994(11)84-87
[51]李卓,萧德云,何世忠.基于神经网络的模糊自适应PID控制方法[J].控制与决策,1996,19(4)451-453
[52]谢勤岚,陈红.基于遗传算法的PID控制器优化设计[J].光学与光电技术.2003(8)37-39
[53]陶永华.PID控制原理和自整定策略[J].工业仪表与自动化装置.1997(4);60-69
[54]薛定宇.制系统计算机辅助设计——MATLAB语言与应用(第2版)[M].清华大学出版社.2006
[55]刘金琨.先进PID控制及其MATLAB仿真[M].北京:电子工业出版社.2004:220-232
[56]Zheng,Jinxing Zhang,Mingjun;Meng,Qingxin.Tool cutting force modeling in high speed milling using PSO-BP neural network Key Engineering Materials,v 375-376,2008,p 515-519
[57]刘金琨.智能控制[M].北京:电子工业出版社.2007:126-128
[58]王耀南.智能控制系统[M].湖南:湖南大学出版社.2006:379-382
[59]谢宗安,张滔.进化神经网络在倒立摆控制中的应用[J].计算机仿真.2006,23(5):297-299
[60]曲慧杨,王清,马广富.一种基于遗传算法的神经网络控制方法[J].自动化技术与应用.2003,22(9):8-11
[61]徐志成.基于微粒群优化的控制系统设计研究[D].浙江大学硕士学位论文.2006:14-16
[62]张静.MATLAB在控制系统设计中的应用[M].北京:电子工业出版社.2007
[63][美]Kasuhiko Ogata.现代控制工程(第四版)[M].卢伯英,于海勋,等译.北京:电子工业出版社,2003
[64]张志勇.精通Malab 6.5[M].北京:北京航空航天大学出版社,2003
[65]玄光男,程润伟著.遗传算法与工程优化[M].于歆杰,周根贵译.北京:清华大学出版社,2004
[66]廖伯瑜,周新民,尹志宏.现代机械动力学及工程应用:建模、分析、仿真、修改、控制、优化[M].北京:机械工业出版社,2004
[67]徐丽娜.神经网络控制[M].哈尔滨:哈尔滨工业大学出版社,2003
[68]曾建潮,崔志华.一种保证全局收敛的PSO算法[J].计算机研究与发展.2004,41(8):1333-1338
[69]张晓明.多种多级倒立摆系统控制和仿真环境的研究[D].南京航空航天大学硕士学位论文 2003:56-59