基于ARM的多串口服務(wù)器系統(tǒng)
本文選題:嵌入式 + Linux�。� 參考:《昆明理工大學(xué)》2014年碩士論文
【摘要】:隨著科學(xué)的進(jìn)步和計算機(jī)相關(guān)科學(xué)的快速發(fā)展,智能設(shè)備在各種環(huán)境得到越來越廣泛的應(yīng)用,并且廣泛支持串口通訊方式。然而,由于串口現(xiàn)場環(huán)境的限制,例如,在沒有預(yù)設(shè)串口通訊線路的情況下,要實現(xiàn)通過串行接口與計算機(jī)或控制系統(tǒng)連接通訊不可實現(xiàn);而現(xiàn)場環(huán)境往往存在不可改變建筑結(jié)構(gòu)和各類限制,使得重新架設(shè)串口通訊線路倍顯困難。除此之外,再加上串行通信本身就存在許多亟待解決的局限性。比如說:無論是數(shù)據(jù)傳輸?shù)目煽啃赃€是速率都比較低。無法實現(xiàn)讓大量串口設(shè)備與遠(yuǎn)端主機(jī)通信的要求。正是由于這些原因也限制了它往更多的領(lǐng)域發(fā)展。既然技術(shù)出現(xiàn)了瓶頸,那么為了使技術(shù)應(yīng)用的更廣泛就需要解決問題,通過另外的途徑獲得想要的效果。 為了更有效的解決串行通信的難題,實現(xiàn)更多的串口設(shè)備與一個或多個遠(yuǎn)端主機(jī)通信。能夠使串口設(shè)備聯(lián)網(wǎng)的多串口服務(wù)器系統(tǒng)應(yīng)運(yùn)而生。它可以在數(shù)據(jù)傳輸距離較遠(yuǎn)的情況下,直接通過網(wǎng)絡(luò)操作高效的監(jiān)控和操作串口設(shè)備。在不斷地探索和研究中,由于考慮到嵌入式系統(tǒng)優(yōu)越的處理速度和性能可以使得串口服務(wù)器系統(tǒng)效率更高,本文設(shè)計了一種基于ARM的多串口服務(wù)器。本文的主要研究內(nèi)容和成果如下: 1.介紹了串口服務(wù)器在國內(nèi)外的發(fā)展情況以及一些相關(guān)解決方案。 2.從整體上對多串口服務(wù)器進(jìn)行了分析和設(shè)計,包括功能分析,硬件結(jié)構(gòu)分析等 3.搭建多串口服務(wù)器的硬件平臺,對基于ARM cortex-M3架構(gòu)的32位高性能處理器STM32F107VT6以及RS232串口、RS485接口及其他必要的硬件模塊進(jìn)行了介紹。 4.給出完整的軟件設(shè)計,在搭建好的硬件平臺上數(shù)據(jù)通過多串口服務(wù)器實現(xiàn)數(shù)據(jù)的雙向通信,既將串口數(shù)據(jù)轉(zhuǎn)換成網(wǎng)絡(luò)數(shù)據(jù)幀發(fā)送到以太網(wǎng);網(wǎng)絡(luò)數(shù)據(jù)幀轉(zhuǎn)換為串口數(shù)據(jù)流發(fā)送到串口設(shè)備。 5.最后給出了對設(shè)備進(jìn)行功能及性能測試的結(jié)果。 測試了系統(tǒng)的功能以及性能,串口服務(wù)器符合預(yù)期的標(biāo)準(zhǔn),完成了串口數(shù)據(jù)與以太網(wǎng)網(wǎng)絡(luò)幀的相互轉(zhuǎn)換與透明傳送。
[Abstract]:With the progress of science and the rapid development of computer science, intelligent devices are more and more widely used in various environments, and widely support serial communication. However, due to the limitations of the serial port field environment, for example, in the absence of a preset serial communication line, it is impossible to communicate with the computer or the control system through the serial interface. However, there are often immutable building structures and various limitations in the field environment, which makes it difficult to re-set up serial communication lines. In addition, the serial communication itself has many limitations to be solved. For example: both the reliability and speed of data transmission are relatively low. Unable to achieve a large number of serial devices and remote host communication requirements. It is for these reasons that it also limits its development into more areas. Now that the technology has become a bottleneck, in order to make the technology more widely used, we need to solve the problem and get the desired results through another way. In order to solve the problem of serial communication more effectively, More serial devices communicate with one or more remote hosts. The multi-serial port server system, which can make serial equipment connected to network, emerges as the times require. It can monitor and operate the serial port equipment directly through the network when the data transmission distance is long. In the continuous exploration and research, considering that the superior processing speed and performance of the embedded system can make the serial server system more efficient, this paper designs a multi-serial port server based on arm. The main contents and achievements of this paper are as follows: 1. This paper introduces the development of serial port server at home and abroad and some related solutions. 2. From the overall analysis and design of multiple serial servers, including functional analysis, hardware structure analysis, etc. The hardware platform of multi-serial port server is built. The 32-bit high performance processor STM32F107VT6 based on arm cortex-M3, RS232 serial port RS485 interface and other necessary hardware modules are introduced. The complete software design is given. In the hardware platform, the data communication is realized through multi-serial port server, and the serial data is converted into network data frame and sent to Ethernet. Network data frame conversion to serial data stream to the serial port device. 5. Finally, the function and performance of the device are tested. The serial port server meets the expected standard, and the serial port data and Ethernet network frame are converted and transparently transmitted.
【學(xué)位授予單位】:昆明理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.05
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 田裕康;;輕量級TCP/IP協(xié)議棧OpenTCP的移植與應(yīng)用[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2008年02期
2 岳曉慶;張其善;常青;;串口擴(kuò)展技術(shù)在嵌入式系統(tǒng)中的實現(xiàn)[J];電子測量技術(shù);2006年02期
3 楊震倫;李軍;;依賴OpenTCP的以太網(wǎng)數(shù)據(jù)采集終端[J];電子技術(shù);2006年04期
4 王銘銘;李衛(wèi)華;;嵌入式系統(tǒng)在機(jī)房監(jiān)控中的研究與應(yīng)用[J];廣東工業(yè)大學(xué)學(xué)報;2006年02期
5 劉敏;劉克龍;周超;;高安全性高可靠性的網(wǎng)絡(luò)中心機(jī)房建設(shè)研究[J];硅谷;2012年17期
6 魏星;;基于ARM的嵌入式機(jī)房監(jiān)控底層架構(gòu)設(shè)計與實現(xiàn)[J];制造業(yè)自動化;2010年03期
7 耿杰恒;王竹林;賈春寧;;基于ARM9和嵌入式Linux的串口驅(qū)動開發(fā)[J];科學(xué)技術(shù)與工程;2008年03期
8 張宏杰;耿多;李瑛莉;;機(jī)房監(jiān)控系統(tǒng)方案及關(guān)鍵技術(shù)[J];寧夏電力;2010年05期
9 朱玉錦;張勇;王會誠;韓蓬;;調(diào)度自動化機(jī)房監(jiān)控系統(tǒng)的設(shè)計與實現(xiàn)[J];信息技術(shù)與信息化;2007年05期
10 李素俠;趙仕俊;;嵌入式互聯(lián)網(wǎng)絡(luò)接口的設(shè)計與實現(xiàn)[J];微計算機(jī)應(yīng)用;2007年10期
,本文編號:1997519
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1997519.html