摘要
随着控制科学和计算机网络的日益发展,各种基于网络的控制研究越来越受到人们的关注。与传统的点对点式的控制系统比较,NCS (Networked Control System)具有连线少、易于系统扩展和维护、灵活性高等优点;总而言之,NCS使某个区域内不同地点的用户实现资源共享和协调操作。结合网络控制技术的发展,倒立摆是理想的基于网络的控制教学实验设备。然而由于网络通信带宽的存在,数据传输不可避免的存在延时、丢包和多包传输等问题,导致控制性能下降甚至使系统不稳定,所以针对基于网络的控制系统,必须采取有效的控制策略。
本文主要针对网络控制系统中的时延补偿控制器的设计进行了研究,并进行了实时仿真和在线实验。首先回顾了从最初的计算机控制系统的引进到目前网络控制系统的发展过程,同时对网络控制系统中基本概念以及国内外基于网络控制的倒立摆系统的研究现状进行了综述。然后分析了产生网络时延的原因和类型;接着利用Matlab/TrueTime工具箱以一个典型的网络控制系统为例进行对比研究,分析了在不同的控制网络模型下的传输特性以及在同一种控制网络模型下的不同时延的输出响应特性;仿真结果表明了时延会大大降低控制系统的性能,甚至使之不稳定。
接着搭建了基于NetCon系统的倒立摆网络控制平台。通过系统辨识方法得到倒立摆模型,通过NetCon控制器实现本地离线仿真控制;进而建立基于倒立摆实物的本地实时控制系统;并以此为基础,利用两台NetCon网络控制器建立了一个实际网络控制系统,由于NetCon系统对采样时间的精确度不理想,只能控制慢变过程,所以仅对倒立摆小车的位移进行控制;通过离线仿真和在线实验,表明必须要采取有效措施才能保证系统的稳定性。
最后利用基于模型参数的广义预测控制(GPC)方法,提出一种网络预测控制策略,实现了在网络环境下对倒立摆小车位移的控制;通过实时仿真和在线试验,验证了控制策略的有效性。相对于没有采用预测的控制方法,GPC减弱了网络时延对倒立摆小车位移的影响,优化了控制效果。
With increasingly development of the control science and computer network system, a lot of researches for control system which is based on network have been more and more concerned about by people. Compared with the traditional point-to-point control system, NCS has some enormous advantages such as less line connecting, easy to system extension and maintenance, higher reliability and flexibility and so on. In a word people at different locations can share the information resources and operate with others coordinately. Since the development of the network control technology, the pendulum is a proper experiment installation based on the network. It is used for many experiments referred by lots of references on network research. Since the constraints of the communication bandwidth, some new issues such as random delays, packet dropout, multiple-packet transmission and so on, can degrade the performance of control system and even make it unstable. So some strategies should be used for the control system based on network.
Considering the network delays, this paper discusses and designs a method concerning network predictive control and does the simulation and experiment. First, the process from introduction of computer-control system to the development of networked control system nowadays is reviewed, and some basic contents and recent research results of NCS based on the pendulum at home and aboard are summarized. Then the causes and the kinds of network delays are analyzed. Then a typical example of Matlab/TrueTime is used to analysis the output characteristic of some different kinds of network models, and the output characteristic of different delays based on the same network model. The simulation result makes clear that the network delays degrade the performance of control system and even make it unstable.
Subsequently, the network control platform based on NetCon control system which is designed by Chinese Academy of Science is established. The pendulum model computed by identification method is used to complete the local off-line simulation system. Then the real-time local control system of pendulum is established. Basing on above foundation the real-time remote control system of pendulum is completed by two NetCon controllers. Since the sample time of NetCon system is not satisfied, it only can be used to deal with the process of slow alteration. It is changed to control the location of the car of the pendulum. The off-line simulation and on-line experiment are conducted. The results indicate that some valid control strategy must be adopted to compensate the network delays, in order to ensure the system performance and stability.
Finally a method of network delay predictive control strategy is proposed, by the theory of Controller Prediction Generator (GPC) based on model parameters, to control the location of car in the network. The result of real-time simulation and remote real-time experiment prove the effectiveness of the control strategy. Comparing with the control which doesn't use prediction method, it reduces the bad effect of the delay to the location of the car, so that the control process is optimized.
引文
[1]W. Zhang. Stability analysis of networked control systems:[doctoral dissertation]. The USA:Western Reserve University,2001
[2]唐斌.网络化控制系统的若干控制问题研究:[博士学位论文].长沙:中南大学,2008
[3]丁炜,郝晓弘.控制网络发展与展望.兰州石化职业技术学院学报,2005,5(2):18-21
[4]魏玲,薛定宇,鄂大志.时延网络控制系统控制方法研究综述.电子测试,2008,3:1-9
[5]G. C. Walsh, O. Beldiman and L. Bushnell. Error encoding algorithms for networked control systems. American Control Conference,1998.
[6]Halevi Y and Ray A. Integrated communication and control systems:Part Ⅰ-analysis. Journal of Dynamic Systems, Measurement, and Control.1988,110(4):367-373
[7]Kim Y H, Kwon W. H, and Park H.S. Stability and a Scheduling Method for Networked-based Control Systems. Proceedings of the IEEE 22nd International Conference on Industrial Electronics, Control and Instrumentation,1996:934-939
[8]赖伟.NCS中网络延时对PID控制算法性能的影响分析和实验研究.[硕士学位论文].长沙:中南大学,2007
[9]黄鹤,韩笑冬,王执铨.有时延和数据包丢失的网络控制系统故障检测.南京理工大学学报(自然科学版),2008,32(4):387-392
[10]葛愿,田丽,李泽应.网络控制系统仿真平台.安徽工程科技学院学报,2007,22(1):6-9
[11]Astrom K J, Wittenmark B. Computer Controlled System:Theory and Design. The third edition. The USA.:Prentice Hall, Upper Saddle River, NJ,1997
[12]朱其新,吴建国,陆国平等.网络控制系统中的基本问题与时延分析.南通工学院学报(自然科学版),2003,2(3):40-43
[13]元亮.针对时延和数据包丢失的网络控制系统分析与设计.电力科学与工程,2009,25(7):42-45
[14]张东军,从爽.倒立摆控制系统研究综述.控制工程,2003,7(10):9-12
[15]Harn, H.H., Spong, M.W. Remote laboratories for control education. Proceedings of the 39th IEEE Conference on Decision and Control, Sydney, Australia,2000: 895-900
[16]Miele, D. A., Potsaid, B., Wen, J.T. An Internet-based remote laboratory for control education. Proc. Amer. Control Conf., Arlington, VA,2001:1151-1152.
[17]Ling K.V, Lai Y.K, Chew K.B. An online Internet laboratory for control experiments. The IF AC Symposium on Advances in Control Education 2000, Gold Goast, Australia,2000
[18]Mori Shozo, H.Nishihara and K.Furuta. Control of Unstable Mechanical System Control of Pendulum. Int. J. of Control,1976,23(5):673-692
[19]K.Furuta, Katsuhisa, T.Ochia and N.Ono. Atitude Control of a Triple Inverted Pendulum. Int.J.of Control 1984,39(6):1351-1365
[20]J. W. Watts. Control of an Inverted Pendulum. ASEE Annual Conference, session 2527,1984:706-710
[21]K. Furuta, M.Yamakita and S.Kobayashi. Swing-up Control of Inverted Pendulum Using Pseudo-state Feedback. J of Systems and Control Enginnering 1992,206: 263-269
[22]A. L. Fradkov, P.Y.Guzenko, D.J.Hill and so on. Speed Gradient Control and Passivity of Nonlinear Oscillators. Proc. Of IFAC symposium on Control of Nonlinear Systems, Lake Tahoe.1995:655-659
[23]F. Bouslama, A. Ichikawa. Application of Neural Network to Fuzzy Control. Neural Networks,1993,6:791-79
[24]张明廉,郝健康.拟人智能控制与三级倒立摆.航空学报,1995,16(6):654-661
[25]李洪兴,苗志宏,王加银.四级倒立摆的变论域自适应模糊控制.中国科学(E辑),2002(2):65-75
[26]崔桂梅,李翔.利用TrueTime仿真软件研究网络控制系统的性能.自动化与仪器仪表,2004,138(4):88-91
[27]王轶卿,赵英凯.交换以太网在网络控制系统中的应用.2005,21(3):14-15
[28]张姝,朱善安.基于Internet的倒立摆网络控制系统.实验室研究与探索,2004,23(7):24-27
[29]吴红英,魏利胜.倒立摆网络控制系统的自适应灰色预测策略研究.计算机科学,2010,37(2):253-255
[30]张华.网络控制系统中的时延研究.[硕士学位论文].长春:吉林大学,2009年
[31]张晓倩,高嵩,王洁.网络控制系统的时延仿真分析.现代电子技术,2009,310(23):64-67
[32]何坚强,张焕春,经亚枝.基于Matlab环境的网络控制系统仿真平台.计算 机工程与应用,2005,2:142-145
[33]朱其新,吴建国,陆国平.网络控制系统中的基本问题与时延分析.南通工学院学报(自然科学版),2003,3(2):40-43
[34]邓睿,汤贤铭,俞金寿.基于TrueTime工具箱的网络控制系统时延分析.工业控制计算机,2010,23(2):24-26
[35]TrueTime manual. Lund University, Jan 2007
[36]卢立明,杨灿,孔万增.网络控制系统实验设计.实验室研究与探索,2006,24(9):58-60
[37]唐斌,刘国平,桂卫华.基于最优预测控制状态估计的网络化最优控制.中南大学学报(自然科学版),2009,40(4):993-1002
[38]郑萌,张庆灵,宋敏.网络控制系统的最大允许时延界.控制理论与应用,2008,25(6):1128-1130
[39]商丽娜,张荣标.时延网络控制系统的研究综述.工业控制计算机,2007,20(5):1-3
[40]赵新秋.工业控制网络的发展.自动化与仪器仪表,2008,138(4):3-17
[41]丁炜,郝晓弘.控制网络发展与展望.兰州石化职业技术学院学报,2005,5(2):18-21
[42]王国敬,穆志纯.具有时延的网络控制系统控制器设计.计算机工程与应用,2009,45(23):127-143
[43]闫斌,周小佳,王厚军等.基于Truetime的无线传感器网络仿真研究.计算机应用研究,2009,26(5):1880-1882
[44]庞中华,刘国平,郑耿等.基于NetCon的网络化控制系统快速实现.化工自动化及仪表,2009,36(5):79-83
[45]边海波.嵌入式网络化控制器设计与应用研究:[博士学位论文].北京:中国科学院自动化研究所,2007
[46]朱志友.网络化控制系统监控组态与调度研究:[博士学位论文].北京:中国科学院自动化研究所,2008
[47]NETCON系统说明书,中国科学院自动化研究所,2006.12
[48]Feedback产品手册,英国Feedback有限公司,2002
[49]侯忠生.非参数模型及其自适应控制理论.北京:科学出版社,2004
[50]魏巍.MATLAB控制工程工具箱技术手册.第2版.北京:国防工业出版社,2005,2:11-59
[51]李言俊,张科.系统辨识理论及应用.北京:国防工业出版社,2005
[52]R. Luck, A. Ray. An observer-based compensator for distributed delays. Automatica, 1996,26(1):903-908
[53]J. Nilsson, B. Bernhardsson and B. Wittenmark. Stochastic analysis and control of real-time systems with random time delays. Automatica,1998,34(1):57-64
[54]Peter V. Zhivoglyadov and Richard H. Middleton. Networked control design for linear systems. Automatica,2003,39:743-750
[55]Mo-Yuen Chow and Yodyium Tipsuwan. Network-based controller adaptation based on QoS negotiation and deterioration. Proceedings of the 27th Annual Conference of the IEEE Industrial Electronics Society, Colorado USA,2001,3: 1794-1799
[56]Yodyium Tipsuwan and Mo-Yuen Chow. Gain scheduler middleware:a methodology to enable existing controllers for networked control and teleoperation part I:networked control. IEEE Transactions on Industrial Electronics,2004,51(6): 1218-1227
[57]N. B. Almutairi, Mo-Yuen Chow and Yodyium Tipsuwan. Network-based controlled DC motor with fuzzy compensation. Proceedings of the 27th Annual Conference of the IEEE Industrial Electronics Society, Colorado, USA,2001,3: 1844-1849
[58]N. B. Almutairi. Adaptive fuzzy modulation for networked PI control systems. North Carolina State University, USA,2002
[59]彭晨,岳东.网络控制系统中基于时延辨识的模糊控制器研究.信息与控制,2004,33(5):584-589
[60]李国勇.智能控制极其MATLAB实现.第1版.北京:电子工业出版社,2005:285-358
[61]邓燕,赵辉.预测控制理论在网络时延补偿策略中的应用.天津理工大学学报,2008,24(5):9-12
[62]李书臣,徐心和,李平.预测控制最新算法综述.系统仿真学报,2004,16(6):1314-1319
[63]贺萍,云利军.网络控制传输时延的补偿控制方法研究.昆明理工大学学报(理工版),2009,34(3):39-40
[64]徐广宁,朱善安.基于广义预测控制算法_GPC_的网络闭环控制系统研究.工业控制计算机,2004,17(12):12-13
[65]赵辉,邓燕,王红君.基于预测控制的网络时延补偿策略研究.仪器仪表学报,2008,29(9):1923-1928
[66]申群太,陈秋凤.时戳PI广义预测在网络控制系统中的应用.控制工程,2009, 16(5):538-542