基于μcos-ii和lwip的嵌入式设备监控平台研究-research on embedded device monitoring platform based on μ cos - ii and lwip.docxVIP

  • 8
  • 0
  • 约6.53万字
  • 约 86页
  • 2018-05-18 发布于上海
  • 举报

基于μcos-ii和lwip的嵌入式设备监控平台研究-research on embedded device monitoring platform based on μ cos - ii and lwip.docx

基于μcos-ii和lwip的嵌入式设备监控平台研究-research on embedded device monitoring platform based on μ cos - ii and lwip

摘要生产设备是生产过程中最重要的有形资源,其工作状态直接影响到制造系统 整体运行效率,因此,为了保证制造系统的稳定性和可靠性,对设备监控技术提 出了更高的要求。本文针对传统的远程监控系统组专用性强,建设成本高,通信方式单一等问 题,从底层监控终端的角度入手,引入低成本,结构灵活,易于扩展,应用简便 的嵌入式技术,通过结合有线和无线通讯方式传输设备监控数据,建立完整的远 程设备监控网络,并重点研究了设备监控终端构建过程中 μC/OS-II 嵌入式系统内 核、设备驱动与文件系统以及 LwIP 嵌入式网络协议栈三个关键技术。首先,在综合考虑系统功能、实时性要求、扩展性等多方面因素的前提下,设计开发了以 STM32F207 为核心的嵌入式硬件平台,并在分析 μC/OS-II 操作系统 工作原理的基础上,研究包括任务管理、通信方式、时钟中断等主要内核功能, 实现了 μC/OS-II 系统在硬件平台上的移植和运行。其次,根据设备监控功能需求,设计实现了输入输出设备驱动、RS485 总线设备接口驱动和看门狗驱动等,并开发了相应的用户接口函数,同时为了提供用 户数据存储和访问的统一接口,支持快速启动功能,设计了 μC/OS-II 下的 FAT 文 件系统,并针对 μC/OS-II 堆栈利用率不高的问题,进行了堆栈设计方面的研究。 最后,在了解 LwIP 嵌入式网络协议栈工作原理的基础上,通过分析 LwIP 框 架模型、进程模型、内存管理机制等方面的主要功能,设计 LwIP 在具体应用环境 下的实现方法,并且为了实现对设备网络状态监控功能,提出了一种 LwIP 中 ICMP 模块扩展设计方法,通过优化 ICMP 段协议代码,满足了对局域网内设备状态的监控要求,扩展了 LwIP 的应用领域。在实现 μC/OS-II 操作系统在 STM32F207 硬件平台上的移植、设备驱动程序 与文件系统的设计、LwIP 协议栈移植的优化的基础上,本文完成了嵌入式设备监 控平台的集成,并利用 ip_sinffer 等工具分别对不同功能模块以及系统整体功能进 行了测试。关键词:远程设备监控, LwIP, μC/OS-II, STM32F207ABSTRACTProduction equipment is the most important physical resources in the production process, and its working status directly affect the operation efficiency of overall system. Therefore, in order to guarantee the stability and reliability of manufacturing system, it puts forward higher request to the equipment monitoring technology. The paper in view of the traditional remote monitoring system of networks complexity, high maintenance costs, limited communication distance, mainly studies on the monitoring terminal. Through combining wired and wireless communications transmission equipment monitoring data, and using low cost, flexible structure, easy to expand, easy application of embedded technology to establish a complete remote equipment monitoring network. The paper emphasizes on three key technologies of embedded μC/OS-II operating system, device drivers and file system, and the embedded network protocol stack LwIP during the process of building a device monitor terminal.Firstly, in consideration of system functional requirements, real-time requirements and

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档