天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 電力論文 >

基于DSP的通訊程序設(shè)計及在電機監(jiān)控中的應(yīng)用

發(fā)布時間:2018-12-18 01:54
【摘要】:類似DSP的智能設(shè)備通信(多為全雙工串行通信),必須自己編寫通信應(yīng)用程序。編寫通信程序的關(guān)鍵在于通信協(xié)議。本次設(shè)計以TMS320F2812DSP為研究對象,以Modbus為通信協(xié)議,建立TMS320F2812的通信系統(tǒng),并最終應(yīng)用于由無刷直流電機、TMS320F2812、eviewET070HMI組成的電機監(jiān)控系統(tǒng)中去。 文章首先分別闡述了DSP與Modbus協(xié)議在國內(nèi)外的發(fā)展概況及發(fā)展趨勢,對本次設(shè)計的研究目的及內(nèi)容進行了分析,并對通信系統(tǒng)的組成、Modbus傳輸方式,事務(wù)處理過程,錯誤檢測方法等進行了詳細的解析。 然后對TMS320F2812的通信系統(tǒng)的模塊進行分析設(shè)計,繪制出各個模塊的程序流程圖。嚴(yán)格遵循Modbus格式標(biāo)準(zhǔn),,對系統(tǒng)參數(shù)進行初始化包括初始化TMS320F2812串行通信接口、初始化GPIO通用串口、初始化PIE中斷向量表、初始化EV事件管理器等;對通信數(shù)據(jù)進行處理包括數(shù)據(jù)幀接收、解析、校驗、處理以及異常響應(yīng)等。 設(shè)計Modbus協(xié)議的功能碼程序,包括讀線圈狀態(tài)功能、讀保持寄存器功能、強制一個邏輯線圈的通斷功能、寫一個保持寄存器功能、強制一串連續(xù)的邏輯線圈通斷功能,把具體二進制值寫入一串連續(xù)的保持寄存器功能。設(shè)計數(shù)據(jù)接收中斷子程序與發(fā)送中斷子程序。 待所有模塊程序設(shè)計完成以后,通過串口助手驗證數(shù)據(jù)收發(fā)結(jié)果是否正確,驗證結(jié)果正確以后,將該TMS320F2812通信程序應(yīng)用于電機監(jiān)控系統(tǒng)中去。eviewET070HMI內(nèi)嵌遵循Modbus通信協(xié)議的驅(qū)動程序,可與上位機TMS320F2812直接通信,對eviewET070進行監(jiān)控界面設(shè)計,對電機的啟停、轉(zhuǎn)向、轉(zhuǎn)速、相電壓、相電流等進行了監(jiān)測與控制。同時對通信參數(shù)進行設(shè)置,對監(jiān)控系統(tǒng)開辟內(nèi)存,對監(jiān)控變量進行地址映射等。 最后對電機監(jiān)控系統(tǒng)進行實驗室聯(lián)機調(diào)試,用表針、趨勢圖等方式展現(xiàn)電機監(jiān)控過程中eviewET070HMI與TMS320F2812的通信效果圖。實驗結(jié)果表明基于Modbus協(xié)議編寫的TMS320F2812通信程序?qū)崟r、可靠,并成功應(yīng)用于電機監(jiān)控系統(tǒng)中,有效解決了系統(tǒng)的通信問題。
[Abstract]:DSP-like intelligent device communication (mostly full-duplex serial communication), must write their own communication applications. The key of writing communication program is communication protocol. This design takes TMS320F2812DSP as the research object and Modbus as the communication protocol, establishes the communication system of TMS320F2812, and finally applies it to the motor monitoring system composed of brushless DC motor and TMS320F2812,eviewET070HMI. In this paper, the general situation and development trend of DSP and Modbus protocols at home and abroad are described, the purpose and content of this design are analyzed, and the composition of communication system, Modbus transmission mode, transaction processing process are analyzed. Error detection methods are analyzed in detail. Then, the module of TMS320F2812 communication system is analyzed and designed, and the program flow chart of each module is drawn. The system parameters are initialized including TMS320F2812 serial communication interface, GPIO universal serial port, PIE interrupt meter, EV event manager and so on. The processing of communication data includes data frame receiving, parsing, checking, processing and exception response. The function code program of Modbus protocol is designed, including read coil state function, read and hold register function, force a logic coil on and off function, write a hold register function, force a serial logic coil to open and break function. Write specific binary values to a series of contiguous retention registers. Design data receive interrupt subroutine and send interrupt subroutine. After all the module program design is completed, the serial port assistant is used to verify whether the data is correct or not, and after the verification result is correct, the TMS320F2812 communication program is applied to the motor monitoring system. The eviewET070HMI embedded driver follows the Modbus communication protocol. It can communicate directly with the host computer TMS320F2812, design the monitoring interface of eviewET070, monitor and control the starting and stopping, steering, rotating speed, phase voltage and phase current of the motor. At the same time, the communication parameters are set up, the memory of the monitoring system is opened up, and the address mapping of the monitoring variables is carried out. Finally, the on-line debugging of the motor monitoring system is carried out in the laboratory, and the communication effect between eviewET070HMI and TMS320F2812 in the process of motor monitoring is shown by means of table needle, trend chart and so on. The experimental results show that the TMS320F2812 communication program based on Modbus protocol is real-time, reliable and successfully applied to the motor monitoring system, which effectively solves the communication problem of the system.
【學(xué)位授予單位】:長安大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TM306

【共引文獻】

相關(guān)會議論文 前10條

1 臺立鋼;周國祥;;采用MODBUS總線的變頻調(diào)速系統(tǒng)[A];2010年西南三省一市自動化與儀器儀表學(xué)術(shù)年會論文集[C];2010年

2 盧智嘉;王俊社;李玉萍;;嵌入式遠程監(jiān)控系統(tǒng)的設(shè)計研究[A];2007通信理論與技術(shù)新發(fā)展——第十二屆全國青年通信學(xué)術(shù)會議論文集(下冊)[C];2007年

3 彭道剛;張浩;王魏;于超;王歡;;基于ADAM6000的以太網(wǎng)遠程監(jiān)控系統(tǒng)設(shè)計與實現(xiàn)[A];中國儀器儀表學(xué)會第九屆青年學(xué)術(shù)會議論文集[C];2007年

4 曹龍漢;代睿;游軍;劉小麗;;一種基于C8051F064單片機的智能變頻式電動執(zhí)行器[A];2008’“先進集成技術(shù)”院士論壇暨第二屆儀表、自動化與先進集成技術(shù)大會論文集[C];2008年

5 林回祥;譚劍波;;基于MODBUS協(xié)議的雷達遠程監(jiān)控系統(tǒng)設(shè)計[A];全國第21屆計算機技術(shù)與應(yīng)用學(xué)術(shù)會議(CACIS·2010)暨全國第2屆安全關(guān)鍵技術(shù)與應(yīng)用學(xué)術(shù)會議論文集[C];2010年

6 宋文娟;趙強;蔡凌;汪晉寬;;基于MODBUS網(wǎng)絡(luò)的液位測量系統(tǒng)設(shè)計[A];第七屆青年學(xué)術(shù)會議論文集[C];2005年

7 王佳承;王國欽;費敏銳;;基于實時Linux的Modbus/TCP網(wǎng)絡(luò)控制器開發(fā)[A];中國儀器儀表學(xué)會2007學(xué)術(shù)年會智能檢測控制技術(shù)及儀表裝置發(fā)展研討會論文集[C];2007年

8 張林;余忠源;孟凱鋒;;基于Modbus協(xié)議的風(fēng)機在線振動采集系統(tǒng)[A];2013年中國電機工程學(xué)會年會論文集[C];2013年

9 張林;余忠源;孟凱鋒;;基于Modbus協(xié)議的風(fēng)機在線振動采集系統(tǒng)研究[A];2013電力行業(yè)信息化年會論文集[C];2013年

10 伍英巖;劉時貴;;基于VB和PLC的筒形閥動態(tài)數(shù)據(jù)監(jiān)測及分析系統(tǒng)[A];中國水力發(fā)電工程學(xué)會信息化專委會、水電控制設(shè)備專委會2013年學(xué)術(shù)交流會論文集[C];2013年

相關(guān)博士學(xué)位論文 前4條

1 王勝紅;印鐵烘房生產(chǎn)線自動化系統(tǒng)的控制技術(shù)研究[D];南京理工大學(xué);2007年

2 顧海榮;同步碎石封層設(shè)備關(guān)鍵技術(shù)研究[D];長安大學(xué);2008年

3 賀天才;寺河礦東大巷帶式輸送機動力學(xué)分析及最優(yōu)控制研究[D];中國礦業(yè)大學(xué)(北京);2009年

4 陳本源;基于交換式以太網(wǎng)的實時工業(yè)通信相關(guān)理論與技術(shù)研究[D];武漢理工大學(xué);2010年

相關(guān)碩士學(xué)位論文 前10條

1 徐國棟;智能壓力變送器的研究[D];山東科技大學(xué);2010年

2 吳剛;面向復(fù)雜環(huán)境的數(shù)據(jù)采集分析系統(tǒng)的研發(fā)[D];中國海洋大學(xué);2010年

3 李大尉;電能自動監(jiān)測系統(tǒng)設(shè)計[D];華東師范大學(xué);2010年

4 余玉;基于BF531的多功能電力儀表的研究與實現(xiàn)[D];哈爾濱理工大學(xué);2010年

5 狄俊亮;啤酒生產(chǎn)過程綜合自動化技術(shù)若干關(guān)鍵問題研究[D];浙江大學(xué);2011年

6 周曉光;基于μC/OS-Ⅱ的智能配電監(jiān)控終端的設(shè)計與實現(xiàn)[D];西安電子科技大學(xué);2011年

7 張霞;基于GPRS的城鎮(zhèn)供水SCADA系統(tǒng)的研究與實現(xiàn)[D];太原理工大學(xué);2011年

8 王濤;基于MODBUS現(xiàn)場總線的智能升旗控制系統(tǒng)的設(shè)計[D];太原理工大學(xué);2011年

9 劉曉宇;基于模糊控制技術(shù)的智能風(fēng)機系統(tǒng)研究與應(yīng)用[D];北京交通大學(xué);2011年

10 陳柳松;OPC UA服務(wù)器事件管理及訂閱功能模塊研究與開發(fā)[D];華北電力大學(xué)(北京);2011年



本文編號:2385123

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2385123.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶745d3***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com