基于ARM和uCOSⅢ的回路控制器研究與設(shè)計
發(fā)布時間:2018-01-21 03:29
本文關(guān)鍵詞: 回路控制器 模糊PID ARM uCOSⅢ 人機交互 LwIP協(xié)議 出處:《陜西科技大學》2017年碩士論文 論文類型:學位論文
【摘要】:計算機技術(shù)、微電子技術(shù)以及通信技術(shù)的發(fā)展與成熟促使測控技術(shù)朝著智能化和網(wǎng)絡(luò)化的方向前行。與此同時,各個應(yīng)用領(lǐng)域?qū)τ趦x表控制效果和整體性能要求不斷提高,使得測控儀表的功能趨于完善,性能大幅提升。在過去的幾十年間,各類檢測與控制儀表經(jīng)歷了多次革新,在實際應(yīng)用中持續(xù)發(fā)揮重要作用;芈房刂破髯鳛橐环N通用型控制儀表,應(yīng)運而生并與時俱進,廣泛應(yīng)用于溫度、壓力等控制場合,其性能對測控系統(tǒng)整體表現(xiàn)發(fā)揮重要作用。然而,傳統(tǒng)的回路控制器在控制算法的性能、人機交互和數(shù)據(jù)通信的完備性等方面存在不足,研究新型高性能回路控制器具有現(xiàn)實意義和應(yīng)用前景。課題在介紹回路控制器發(fā)展歷程和研究現(xiàn)狀的基礎(chǔ)上,分析了其發(fā)展趨勢。借助相關(guān)仿真工具,課題研究了回路控制器的常規(guī)PID控制算法,并結(jié)合模糊智能控制理論,給出了參數(shù)自適應(yīng)模糊PID算法。課題還著重研究了基于ARM和uCOSⅢ的新型回路控制器設(shè)計方法,給出了詳細的軟硬件設(shè)計方案。此外,針對人機交互和數(shù)據(jù)通信性能的提升,課題研究了GUI圖形庫STemWin和輕量級TCP/IP協(xié)議LwIP在回路控制器設(shè)計中的移植與應(yīng)用。課題的主要工作總結(jié)如下。(1)回路控制器控制算法研究。研究PID算法和模糊智能控制的原理,并分析兩者的特點與不足;結(jié)合MATLAB/Simulink仿真分析,研究參數(shù)自適應(yīng)模糊PID算法原理,構(gòu)建相應(yīng)的控制器和控制系統(tǒng)仿真模型,對比常規(guī)PID分析其控制效果和性能。(2)回路控制器的硬件設(shè)計。以ARM微控制器STM32F407為硬件設(shè)計基礎(chǔ),制定整體設(shè)計方案,模塊化設(shè)計CPU最小系統(tǒng)、數(shù)據(jù)采集、控制量輸出、人機交互、數(shù)據(jù)存儲和數(shù)據(jù)通信等相關(guān)模塊電路。(3)回路控制器的軟件設(shè)計。層次化設(shè)計回路控制器軟件,移植嵌入式實時操作系統(tǒng)uCOSⅢ;設(shè)計相關(guān)底層硬件的驅(qū)動程序;結(jié)合STemWin和LwIP等中間件,設(shè)計回路控制、數(shù)據(jù)通信和人機交互等應(yīng)用層任務(wù)。(4)回路控制器的實驗測試。搭建基于水質(zhì)氨氮檢測系統(tǒng)的實驗平臺,將回路控制器應(yīng)用于該系統(tǒng)相關(guān)環(huán)節(jié)的輔助控制,從而測試相關(guān)模塊功能,檢驗其控制效果和整體性能。課題旨在研究回路控制器的控制算法及其改進,并基于ARM微控制器和u COSⅢ實時操作系統(tǒng)設(shè)計新型回路控制器,以提高儀表整體性能,從而適應(yīng)復(fù)雜的控制對象和日益提高的控制品質(zhì)要求。相關(guān)仿真和實驗測試表明,該回路控制器的控制算法性能得到提升,其人機交互和數(shù)據(jù)通信等方面的性能也有所改進。
[Abstract]:The development and maturity of computer technology, microelectronics technology and communication technology promote the development of measurement and control technology towards the direction of intelligence and networking. At the same time. Various application fields for the instrument control effect and overall performance requirements continue to improve, so that the functions of measurement and control instruments tend to improve, the performance of a large improvement. In the past few decades. All kinds of testing and control instruments have undergone many innovations and have been continuously playing an important role in practical application. As a universal control instrument, loop controller has emerged as the times require and has been widely used in temperature. In control situations such as pressure, its performance plays an important role in the overall performance of the measurement and control system. However, the traditional loop controller has shortcomings in the performance of control algorithm, man-machine interaction and the completeness of data communication. It is of practical significance and application prospect to study the new high performance loop controller. Based on the introduction of the development history and research status of the loop controller, the development trend of the new loop controller is analyzed with the help of relevant simulation tools. In this paper, the conventional PID control algorithm of the loop controller is studied, and the fuzzy intelligent control theory is combined. A parameter adaptive fuzzy PID algorithm is presented. The design method of a new loop controller based on ARM and uCOS 鈪,
本文編號:1450325
本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1450325.html
最近更新
教材專著