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

當前位置:主頁 > 科技論文 > 計算機論文 >

基于嵌入式Linux串口專用交換機的設計

發(fā)布時間:2019-03-31 18:49
【摘要】:本設計基于汽車檢測線系統(tǒng)的通信模塊而產(chǎn)生,解決了傳統(tǒng)的RS-232C串行通信在連接多個設備時必需在PC機上加多串口卡,且要實現(xiàn)數(shù)目眾多的智能儀器設備與遠端主機之間的通信,串行通信在長距離傳輸時數(shù)據(jù)的傳輸速率及數(shù)據(jù)可靠性將大大下降,并且基于RS-232C的串行通信組網(wǎng)將會變得非常復雜。本文開發(fā)了一個基于ARM9和Linux操作系統(tǒng)的嵌入式串口專用交換機設備,該設備可以使現(xiàn)有的智能儀器擁有聯(lián)網(wǎng)功能,實現(xiàn)了數(shù)據(jù)的長距離傳輸、遠程數(shù)據(jù)的采集與控制等功能。 本系統(tǒng)能夠接收來自8路串行端口的數(shù)據(jù)并進行數(shù)據(jù)的存儲、處理、轉換使之成為可在網(wǎng)絡中傳輸?shù)囊蕴W(wǎng)數(shù)據(jù)包;同樣也可以接收來自以太網(wǎng)的數(shù)據(jù)包并進行數(shù)據(jù)的解包、分析、格式的轉換與判斷,然后發(fā)往指定的串行端口。實現(xiàn)了串行終端數(shù)據(jù)與TCP/IP網(wǎng)絡數(shù)據(jù)的雙向透明傳輸。 本文研究內(nèi)容包括: 1.分析了嵌入式串口專用交換機設計需實現(xiàn)的目標,制定了詳細的系統(tǒng)設計方案。選用了三星公司的S3C2440A作為微處理器及嵌入式Linux系統(tǒng)作為本設計操作系統(tǒng)。 2.硬件電路設計。首先描述了硬件設計的總體方案,然后將系統(tǒng)硬件劃分為處理器模塊電路設計、以太網(wǎng)接口模塊電路設計、串口擴展模塊電路設計、通信隔離模塊電路設計四大部分,詳細闡述了設計過程。 3.嵌入式系統(tǒng)的構建。包括Uboot移植、Linux操作系統(tǒng)的移植、根文件系統(tǒng)的制作及設備驅動程序的開發(fā)、著重的介紹了設備驅動程序的開發(fā)。最終構建完成了嵌入式串口專用交換機專用平臺,為應用程序的運行與調(diào)試提供了必要的環(huán)境。 4.軟件的設計。在Linux平臺下利用多線程網(wǎng)絡程序設計,設計了嵌入式串口專用交換機服務器端程序。并在Windows平臺利用Socket網(wǎng)絡編程設計了客戶端的API函數(shù),可方便用戶進行二次開發(fā)。
[Abstract]:This design is based on the communication module of automobile detection line system, which solves the problem that the traditional RS-232C serial communication must add multiple serial cards to PC when connecting multiple devices. And in order to realize the communication between a large number of intelligent instruments and remote hosts, the data transmission rate and data reliability of serial communication in long-distance transmission will be greatly reduced. And the serial communication network based on RS-232C will become very complicated. In this paper, an embedded serial port special exchange device based on ARM9 and Linux operating system is developed. The device can make the existing intelligent instrument have the function of networking, realize the long-distance data transmission, remote data acquisition and control and so on. The system can receive the data from 8 serial ports, store and process the data, and transform it into Ethernet data packet which can be transmitted in the network. Data packets from Ethernet can also be received and unpacked, analyzed, converted and judged, and then sent to a specified serial port. The two-way transparent transmission of serial terminal data and TCP/IP network data is realized. The research contents of this paper include: 1. The target of the design of embedded serial port special purpose exchange is analyzed, and the detailed system design scheme is worked out. The S3C2440A of Samsung Company is chosen as microprocessor and embedded Linux system as the operating system of this design. 2. Hardware circuit design. Firstly, the overall scheme of hardware design is described. Then the system hardware is divided into four parts: processor module circuit design, Ethernet interface module circuit design, serial port expansion module circuit design and communication isolation module circuit design. The design process is described in detail. 3. The construction of embedded system. Including Uboot porting, Linux operating system transplantation, root file system making and device driver development, the development of device driver is emphatically introduced. Finally, the special platform of the embedded serial port exchange is constructed, which provides the necessary environment for the running and debugging of the application program. 4. Software design. Using multi-thread network program design under Linux platform, the server-side program of embedded serial port special exchange is designed. In the Windows platform, the API function of the client side is designed by using Socket network programming, which is convenient for the user to carry on the second development.
【學位授予單位】:南京航空航天大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TN915.05;TP368.1

【參考文獻】

相關期刊論文 前9條

1 黃文力;馬禮;王玉超;;嵌入式Internet中TCP/IP協(xié)議棧的研究與設計[J];電腦開發(fā)與應用;2008年01期

2 張凡;劉益成;;一種制作YAFFS2嵌入式文件系統(tǒng)的方法[J];電腦開發(fā)與應用;2010年09期

3 王達偉;曹政;劉新春;游定山;孫凝暉;;高性能互聯(lián)網(wǎng)絡交換機研究與設計[J];計算機研究與發(fā)展;2008年12期

4 史曉丹;;淺析集線器、交換機和路由器[J];科技傳播;2011年05期

5 肖軍;韓黨群;儲海燕;畢楊;;基于ARM的嵌入式TCP/IP協(xié)議的實現(xiàn)[J];現(xiàn)代電子技術;2009年02期

6 韋峰;盧再奇;劉偉;;YAFFS2在嵌入式系統(tǒng)中的實現(xiàn)[J];現(xiàn)代電子技術;2010年08期

7 Kiseon Kim;;Diffserv AQM algorithm for edge and core routers[J];Journal of Systems Engineering and Electronics;2010年06期

8 ;Key Technology of Embedded System Implementation for Software-based CNC System[J];Chinese Journal of Mechanical Engineering;2010年02期

9 鄒穎婷;李紹榮;;ARM9上的嵌入式Linux系統(tǒng)移植[J];自動化技術與應用;2009年06期

相關碩士學位論文 前6條

1 張丙晨;基于Linux的嵌入式系統(tǒng)的技術及應用[D];鐵道部科學研究院;2001年

2 官媛;嵌入式串口通訊服務器的研究和設計[D];浙江大學;2006年

3 趙國冬;安全嵌入式系統(tǒng)體系結構研究與設計[D];哈爾濱工程大學;2006年

4 范煒;基于ARM的嵌入式多串口網(wǎng)絡服務器的設計與實現(xiàn)[D];北京交通大學;2008年

5 周田軍;基于S3C2410A和Linux2.6.22的嵌入式系統(tǒng)構建[D];吉林大學;2008年

6 陳航;基于Linux的無線通信網(wǎng)關的設計與實現(xiàn)[D];北京郵電大學;2010年

,

本文編號:2451180

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

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


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

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