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

當(dāng)前位置:主頁 > 科技論文 > 計算機論文 >

基于MSP430F5438的網(wǎng)絡(luò)終端系統(tǒng)設(shè)計

發(fā)布時間:2018-03-22 02:28

  本文選題:嵌入式系統(tǒng) 切入點:數(shù)據(jù)采樣 出處:《太原理工大學(xué)》2012年碩士論文 論文類型:學(xué)位論文


【摘要】:隨著計算機技術(shù)與嵌入式技術(shù)的不斷進步,網(wǎng)絡(luò)已成為日常交流中最重要的通信工具,而小型的嵌入式設(shè)備與Internet通信也逐步成為發(fā)展的趨勢。本文介紹了嵌入式系統(tǒng)具有的優(yōu)勢和以太網(wǎng)技術(shù)發(fā)展的方向,分析了把嵌入式技術(shù)與網(wǎng)絡(luò)技術(shù)結(jié)合在一起的可能性。通過進一步了解嵌入式以太網(wǎng)技術(shù)產(chǎn)生的背景和目前發(fā)展的狀況,指出了本文研究的重要意義。 嵌入式終端系統(tǒng)實現(xiàn)網(wǎng)絡(luò)功能主要有三種解決方案,采用專門的網(wǎng)絡(luò)處理芯片,嵌入式操作系統(tǒng)植入微處理器和小型單片機嵌入網(wǎng)絡(luò)協(xié)議棧。分析比較三種方案各自的優(yōu)缺點,本文的設(shè)計方案選擇單片機嵌入TCP/IP協(xié)議棧的方法來實現(xiàn)。 系統(tǒng)的主控制器選用TI公司的高性能、低功耗單片機MSP430F5438,從控制器選用微芯科技公司生產(chǎn)的網(wǎng)卡控制器ENC28J60來實現(xiàn)嵌入式的網(wǎng)絡(luò)終端的設(shè)計和開發(fā)。本文的設(shè)計包括軟件和硬件兩大部分,硬件部分主要包括電源電路的設(shè)計、看門狗電路的設(shè)計、串口電路的設(shè)計以及單片機與網(wǎng)卡控制器接口電路的設(shè)計;軟件部分主要包括看門狗程序的設(shè)計、以太網(wǎng)控制器驅(qū)動程序的編寫和TCP/IP協(xié)議的裁剪,在此基礎(chǔ)上實現(xiàn)了應(yīng)用層的Modbus協(xié)議。 在本文設(shè)計的終端系統(tǒng)中主控制器實現(xiàn)程序?qū)懭氩⑴c從控制器進行數(shù)據(jù)通信,同時從控制器通過網(wǎng)絡(luò)變壓器擴展出一個網(wǎng)絡(luò)接口RJ45來實現(xiàn)與本地的局域網(wǎng)的通信,然后將裁剪的、適合單片機使用的TCP/IP協(xié)議通過仿真器寫到單片機的Flash中,在這個過程中主要是對網(wǎng)絡(luò)協(xié)議進行分析并把適合嵌入式系統(tǒng)的UIP協(xié)議棧移植到微控制器中。 通過分析應(yīng)用層的協(xié)議,在主控制器的內(nèi)部存儲器中實現(xiàn)了基于UDP傳輸協(xié)議的Modbus協(xié)議。系統(tǒng)通過采樣電路可以把現(xiàn)場的數(shù)據(jù)進行采集,并通過串口發(fā)送到系統(tǒng)的內(nèi)部存儲器中。與此同時,在遠端的主機可以直接向網(wǎng)絡(luò)終端發(fā)送命令實現(xiàn)對嵌入式網(wǎng)絡(luò)終端的控制。系統(tǒng)真正實現(xiàn)了對數(shù)據(jù)的遠端測試和對現(xiàn)場設(shè)備的遠程控制,操作起來方便,應(yīng)用也比較廣泛。隨著嵌入式技術(shù)和網(wǎng)絡(luò)的不斷發(fā)展融合,本文實現(xiàn)的將嵌入式網(wǎng)絡(luò)技術(shù)應(yīng)用在工業(yè)控制和遠程監(jiān)控領(lǐng)域具有重要的意義。
[Abstract]:With the development of computer technology and embedded technology, the network has become the most important communication tool in daily communication. The communication between small embedded devices and Internet has gradually become a trend of development. This paper introduces the advantages of embedded systems and the development direction of Ethernet technology. This paper analyzes the possibility of combining embedded technology with network technology, and points out the significance of this study by further understanding the background of embedded Ethernet technology and the current development situation. There are three kinds of solutions to realize network function in embedded terminal system, which adopt special network processing chip. The embedded operating system is embedded in the microprocessor and the small microcontroller is embedded in the network protocol stack. The advantages and disadvantages of the three schemes are analyzed and compared. The method of embedding the TCP/IP protocol stack into the single chip microcomputer is selected for the design of this paper. The main controller of the system is the high performance of TI Company. MSP430F5438, a low-power single-chip microcomputer, is designed and developed by ENC28J60, a network card controller produced by Microcore Technology Company. The design of this paper includes two parts: software and hardware. The hardware part mainly includes the design of power supply circuit, watchdog circuit, serial port circuit and interface circuit between MCU and network card controller, and the software part mainly includes the design of watchdog program. The driver of Ethernet controller and the clipping of TCP/IP protocol are written, and the Modbus protocol of application layer is implemented. In the terminal system designed in this paper, the master controller realizes the program writing and data communication with the slave controller. At the same time, the controller extends a network interface RJ45 through the network transformer to realize the communication with the local local area network. Then the TCP/IP protocol which is cut and suitable for MCU is written into the Flash of MCU by simulator. In this process, the network protocol is analyzed and the UIP protocol stack suitable for embedded system is transplanted to the microcontroller. By analyzing the protocol of the application layer, the Modbus protocol based on UDP transmission protocol is implemented in the internal memory of the main controller. And send it to the internal memory of the system through serial port. At the same time, The remote host can send commands directly to the network terminal to realize the control of the embedded network terminal. With the development of embedded technology and network, the application of embedded network technology in industrial control and remote monitoring is of great significance.
【學(xué)位授予單位】:太原理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP393.0;TP368.1

【參考文獻】

相關(guān)期刊論文 前10條

1 劉康,王宣銀;嵌入了TCP/IP協(xié)議的單片機數(shù)據(jù)通信系統(tǒng)的設(shè)計與實現(xiàn)[J];電測與儀表;2003年06期

2 鄭鴻彥;苗世洪;張軍民;;基于ARM9微處理器的Modbus通信協(xié)議的實現(xiàn)[J];電氣應(yīng)用;2007年05期

3 徐毓軍 ,楊佃福;一種基于嵌入式Internet的控制系統(tǒng)[J];電子技術(shù)應(yīng)用;2002年04期

4 王平;黃f^;施文灶;程明傳;;基于單片機的網(wǎng)絡(luò)終端的實現(xiàn)[J];福建師范大學(xué)學(xué)報(自然科學(xué)版);2008年04期

5 杜明芳,程紅,郭佳玲;基于ATmega128的測控系統(tǒng)的Modbus通信[J];高電壓技術(shù);2005年03期

6 張偉業(yè);黃云龍;陳國定;;基于ENC28J60以太網(wǎng)通信接口的設(shè)計與實現(xiàn)[J];機電工程;2008年01期

7 謝曉竹,傅軍;基于TCP/IP的網(wǎng)絡(luò)單片機應(yīng)用[J];計算機工程;2003年15期

8 職燕;蔣存波;徐健;;Modbus通信協(xié)議在現(xiàn)場總線控制系統(tǒng)中的應(yīng)用[J];蘭州大學(xué)學(xué)報(自然科學(xué)版);2010年S1期

9 張中央;陶乃彬;;基于ENC28J60的嵌入式系統(tǒng)以太網(wǎng)接口設(shè)計[J];河南科技大學(xué)學(xué)報(自然科學(xué)版);2007年03期

10 王先春;郭杰榮;彭建英;蔡劍華;;基于TCP/IP嵌入式測控終端設(shè)計與實現(xiàn)[J];計算機工程與設(shè)計;2008年22期

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

1 閆磊;基于嵌入式以太網(wǎng)遠程終端設(shè)備的研究[D];沈陽工業(yè)大學(xué);2005年

2 童舟;以太網(wǎng)控制器芯片的測試技術(shù)研究[D];電子科技大學(xué);2009年



本文編號:1646677

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

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1646677.html


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

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