嵌入式LonWorks智能網(wǎng)關(guān)設(shè)計(jì)
發(fā)布時(shí)間:2018-05-16 07:02
本文選題:LonWorks + 嵌入式網(wǎng)關(guān)。 參考:《南京航空航天大學(xué)》2014年碩士論文
【摘要】:本文研究的內(nèi)容是以電力線載波通信為應(yīng)用背景,設(shè)計(jì)了嵌入式LonWorks智能網(wǎng)關(guān),保證LonWorks網(wǎng)絡(luò)設(shè)備的安全穩(wěn)定運(yùn)行。因LonWorks設(shè)備工作環(huán)境惡劣、運(yùn)行過(guò)程中涉及參數(shù)眾多、控制策略復(fù)雜,為滿足其現(xiàn)場(chǎng)智能控制及遠(yuǎn)程監(jiān)控的需要,提出了嵌入式MCU+智能電力線收發(fā)器+以太網(wǎng)芯片的網(wǎng)關(guān)方案,以實(shí)現(xiàn)LON網(wǎng)和以太網(wǎng)的協(xié)議轉(zhuǎn)換。 傳統(tǒng)的網(wǎng)關(guān)基本采用16位單片機(jī)實(shí)現(xiàn),由于其運(yùn)算能力低、存儲(chǔ)空間小等缺陷,難以適應(yīng)多任務(wù)、實(shí)時(shí)性高的應(yīng)用場(chǎng)合。本文設(shè)計(jì)的一款嵌入式LonWorks網(wǎng)絡(luò)智能網(wǎng)關(guān),,能夠很好地滿足復(fù)雜監(jiān)控環(huán)境的多任務(wù)、實(shí)時(shí)性、快速性等要求。網(wǎng)關(guān)硬件系統(tǒng)選用NXP公司生產(chǎn)的32位微處理器LPC1778作為主控芯片,PL3150作為電力線通信的數(shù)據(jù)收發(fā)器,并利用LPC1778內(nèi)置以太網(wǎng)控制器和以太網(wǎng)控制芯片DP83848構(gòu)成以太網(wǎng)接口。另外還采用雙口RAM作為ARM處理器與智能收發(fā)器PL3150進(jìn)行雙向高速數(shù)據(jù)信息交換的媒介。除了詳細(xì)介紹了這些主要模塊外,本文還對(duì)PL3150、ARM的外圍電路設(shè)計(jì)進(jìn)行簡(jiǎn)要介紹。 本系統(tǒng)選用μC/OS-II作為ARM操作系統(tǒng),文中詳細(xì)介紹了嵌入式操作系統(tǒng)的相關(guān)概念及移植過(guò)程;诼(lián)網(wǎng)需求,嵌入網(wǎng)關(guān)還需要通信協(xié)議、物理層驅(qū)動(dòng)軟件的支持。本系統(tǒng)采用LwIP通信協(xié)議棧,提供基于TCP/IP的網(wǎng)絡(luò)服務(wù);底層網(wǎng)口驅(qū)動(dòng)主要是對(duì)ARM芯片中以太網(wǎng)控制器及外部網(wǎng)卡芯片的寄存器進(jìn)行讀寫操作來(lái)完成以太網(wǎng)數(shù)據(jù)幀的收發(fā)功能。在由μC/OS-II和LwIP構(gòu)建的軟件平臺(tái)上,可以很方便地根據(jù)具體需求設(shè)計(jì)相應(yīng)的應(yīng)用程序。應(yīng)用程序包括構(gòu)架簡(jiǎn)單內(nèi)嵌Web服務(wù)器,雙口RAM通信程序,自組網(wǎng)服務(wù),報(bào)警機(jī)制等等。 最后,對(duì)本系統(tǒng)進(jìn)行實(shí)驗(yàn)調(diào)試和功能測(cè)試。對(duì)網(wǎng)關(guān)的各個(gè)功能進(jìn)行實(shí)際測(cè)試并驗(yàn)證其效果。結(jié)果證明此網(wǎng)關(guān)能夠滿足實(shí)際監(jiān)控需要,符合實(shí)時(shí)性、多任務(wù)、快速性、大數(shù)據(jù)量的設(shè)計(jì)要求。
[Abstract]:Based on the application of power line carrier communication, an embedded LonWorks intelligent gateway is designed to ensure the safe and stable operation of LonWorks network equipment. In order to meet the needs of intelligent control and remote monitoring of LonWorks equipment, a gateway scheme of embedded MCU intelligent power line transceiver Ethernet chip is proposed in order to meet the needs of its field intelligent control and remote monitoring because of its poor working environment, numerous parameters involved in the operation process and complex control strategy. In order to achieve LON network and Ethernet protocol conversion. The traditional gateway is based on 16-bit single-chip microcomputer. Because of its low computing ability and small storage space, it is difficult to adapt to multi-task and real-time applications. An embedded LonWorks network intelligent gateway is designed in this paper, which can meet the requirements of multi-task, real-time and rapidity of complex monitoring environment. In the gateway hardware system, the 32-bit microprocessor LPC1778 produced by NXP Company is chosen as the main control chip PL3150 as the data transceiver for power line communication, and the Ethernet interface is constructed by using the LPC1778 built-in Ethernet controller and the Ethernet control chip DP83848. In addition, dual port RAM is used as the medium for two-way high-speed data exchange between ARM processor and intelligent transceiver PL3150. In addition to the detailed introduction of these main modules, this paper also briefly introduces the peripheral circuit design of PL3150 arm. 渭 C/OS-II is selected as the ARM operating system in this system. The related concepts and porting process of embedded operating system are introduced in detail. Based on the network requirement, embedded gateway also needs the support of communication protocol and physical layer driving software. This system uses LwIP communication protocol stack to provide network service based on TCP/IP, and the bottom driver is mainly to read and write the Ethernet controller and the registers of the external network card chip in ARM chip to complete the function of transmitting and receiving Ethernet data frames. On the software platform built by 渭 C/OS-II and LwIP, it is convenient to design the application program according to the specific requirements. Applications include simple embedded Web server, dual port RAM communication program, ad hoc network service, alarm mechanism and so on. Finally, the system is tested and tested. The functions of the gateway are tested and verified. The results show that the gateway can meet the requirements of real-time, multi-task, rapidity and large amount of data.
【學(xué)位授予單位】:南京航空航天大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.05
【參考文獻(xiàn)】
相關(guān)期刊論文 前6條
1 扶文樹;何軍;陳國(guó)勝;琚璐;;LPC23xx的自適應(yīng)以太網(wǎng)通信接口設(shè)計(jì)[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2008年06期
2 宋鑫;郭勇;謝興紅;;RMII模式以太網(wǎng)PHY芯片DP83848C的應(yīng)用[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2010年08期
3 雷濤;郝福珍;;嵌入式WebServer的研究與實(shí)現(xiàn)[J];計(jì)算機(jī)工程與設(shè)計(jì);2006年16期
4 梁莉萍;;對(duì)電力線載波通信的探討[J];數(shù)字技術(shù)與應(yīng)用;2011年09期
5 彭春輝;王長(zhǎng)林;;雙口RAM芯片IDT7132在LonWorks智能節(jié)點(diǎn)中的應(yīng)用[J];電子元器件應(yīng)用;2006年11期
6 黃天戍,周琦,袁學(xué)文,付文芳;LonWorks現(xiàn)場(chǎng)總線與以太網(wǎng)互聯(lián)方案探討[J];中國(guó)儀器儀表;2004年03期
本文編號(hào):1895918
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1895918.html
最近更新
教材專著