嵌入式LonWorks智能网关设计
发布时间:2018-05-16 07:02
本文选题:LonWorks + 嵌入式网关 ; 参考:《南京航空航天大学》2014年硕士论文
【摘要】:本文研究的内容是以电力线载波通信为应用背景,设计了嵌入式LonWorks智能网关,保证LonWorks网络设备的安全稳定运行。因LonWorks设备工作环境恶劣、运行过程中涉及参数众多、控制策略复杂,为满足其现场智能控制及远程监控的需要,提出了嵌入式MCU+智能电力线收发器+以太网芯片的网关方案,以实现LON网和以太网的协议转换。 传统的网关基本采用16位单片机实现,由于其运算能力低、存储空间小等缺陷,难以适应多任务、实时性高的应用场合。本文设计的一款嵌入式LonWorks网络智能网关,,能够很好地满足复杂监控环境的多任务、实时性、快速性等要求。网关硬件系统选用NXP公司生产的32位微处理器LPC1778作为主控芯片,PL3150作为电力线通信的数据收发器,并利用LPC1778内置以太网控制器和以太网控制芯片DP83848构成以太网接口。另外还采用双口RAM作为ARM处理器与智能收发器PL3150进行双向高速数据信息交换的媒介。除了详细介绍了这些主要模块外,本文还对PL3150、ARM的外围电路设计进行简要介绍。 本系统选用μC/OS-II作为ARM操作系统,文中详细介绍了嵌入式操作系统的相关概念及移植过程。基于联网需求,嵌入网关还需要通信协议、物理层驱动软件的支持。本系统采用LwIP通信协议栈,提供基于TCP/IP的网络服务;底层网口驱动主要是对ARM芯片中以太网控制器及外部网卡芯片的寄存器进行读写操作来完成以太网数据帧的收发功能。在由μC/OS-II和LwIP构建的软件平台上,可以很方便地根据具体需求设计相应的应用程序。应用程序包括构架简单内嵌Web服务器,双口RAM通信程序,自组网服务,报警机制等等。 最后,对本系统进行实验调试和功能测试。对网关的各个功能进行实际测试并验证其效果。结果证明此网关能够满足实际监控需要,符合实时性、多任务、快速性、大数据量的设计要求。
[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.
【学位授予单位】:南京航空航天大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.05
【参考文献】
相关期刊论文 前6条
1 扶文树;何军;陈国胜;琚璐;;LPC23xx的自适应以太网通信接口设计[J];单片机与嵌入式系统应用;2008年06期
2 宋鑫;郭勇;谢兴红;;RMII模式以太网PHY芯片DP83848C的应用[J];单片机与嵌入式系统应用;2010年08期
3 雷涛;郝福珍;;嵌入式WebServer的研究与实现[J];计算机工程与设计;2006年16期
4 梁莉萍;;对电力线载波通信的探讨[J];数字技术与应用;2011年09期
5 彭春辉;王长林;;双口RAM芯片IDT7132在LonWorks智能节点中的应用[J];电子元器件应用;2006年11期
6 黄天戍,周琦,袁学文,付文芳;LonWorks现场总线与以太网互联方案探讨[J];中国仪器仪表;2004年03期
本文编号:1895918
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1895918.html