基于STM32的双CAN总线在矿山物联网的应用研究
发布时间:2018-03-19 03:17
本文选题:STM32 切入点:CAN 出处:《天津大学》2014年硕士论文 论文类型:学位论文
【摘要】:随着以太网、工业自动化、现场总线等技术的发展,物联网技术应运而生。由于物联网可以渗入到任何一个领域,使得物联网技术有着前所未有的应用广度和深度,从而也成就了物联网的快速发展。煤矿工业是物联网的一个重要应用领域。国家大力倡导将信息技术、感知技术、传输技术、智能技术、现代控制技术、现代信息管理技术等与现代矿山生产、管理技术紧密相结合,构成矿山人与人、人与物、物与物相联的矿山物联网。矿山资源开采急需构建感知矿山物联网系统以实现矿山经济可持续增长的目的。 为了满足以上需求,结合当前煤矿自动化的特点,本文给出了用于矿山物联网的双CAN通信系统设计方案。本文首先给出了基于STM32单片机的嵌入式系统的整体设计方案,根据系统结构依次设计了各个部分的硬件电路设计及软件的实现方案。然后设计了PLC部分设计及以太网传输的设计方案,并设计了综合监控的设计。最后基于总线拓扑和硬件结构而设计了的数据通信协议。 本文选择了数据处理功能强大的STM32单片机作为系统的主控制芯片。通过STM32单片机的双CAN通信接口实现长距离的信息通信;用其集成的RS485通信接口和RS232通信接口实现数据上传和语音播报;用其GPIO接口实现数字信号和模拟信号的采集和控制。系统同时设计精简型PLC控制子系统实现系统的逻辑控制和数据的以太网通信传输。通过以太网通信将CAN总线检测的核心数据传送到远端控制室进行综合监控,远程控制站也可开发数据库服务系统,从而实现远程互联网访问。 通过仿真手段和实际案例,本文结合系统的各个主要部分的设计方案,,进行必要的测试,并在论文的最后,给出了系统的实验结果。从结果中可以看出,系统通过双CAN总线,实现了10Km用于矿山物联网的双CAN通信系统的数据检测、远程控制和信息通讯功能。
[Abstract]:With the development of Ethernet, industrial automation, fieldbus and other technologies, the Internet of things (IOT) technology has emerged as the times require. As the Internet of things can penetrate into any field, the Internet of things technology has unprecedented application breadth and depth. Thus, the rapid development of the Internet of things has also been achieved. The coal mining industry is an important application area of the Internet of things. The state vigorously advocates the integration of information technology, perceptual technology, transmission technology, intelligent technology, modern control technology, Modern information management technology is closely combined with modern mine production and management technology, and constitutes mine people and people, people and objects, In order to realize the sustainable growth of mine economy, it is urgent to construct a perceptual mine Internet of things system for mining resource mining. In order to meet the above requirements, combined with the characteristics of coal mine automation, this paper presents a design scheme of dual CAN communication system for mine Internet of things. Firstly, this paper presents the overall design scheme of embedded system based on STM32 MCU. According to the system structure, the hardware circuit design and the software realization scheme of each part are designed in turn, and then the PLC part design and the Ethernet transmission design scheme are designed. Finally, the data communication protocol based on bus topology and hardware structure is designed. In this paper, the STM32 MCU with powerful data processing function is chosen as the main control chip of the system, and the long distance information communication is realized through the double CAN communication interface of the STM32 microcontroller. The data upload and voice broadcast are realized by its integrated RS485 communication interface and RS232 communication interface. The GPIO interface is used to realize the acquisition and control of digital signal and analog signal. The reduced PLC control subsystem is designed simultaneously to realize the logical control of the system and the Ethernet communication of the data. The CAN bus is transmitted through the Ethernet communication. The core data is transmitted to the remote control room for comprehensive monitoring. Remote control station can also develop database service system to achieve remote Internet access. By means of simulation and practical cases, combined with the design scheme of the main parts of the system, the necessary tests are carried out. At the end of the paper, the experimental results of the system are given. From the results, it can be seen that the system passes through the double CAN bus. The data detection, remote control and information communication functions of a 10km dual CAN communication system for mine Internet of things are realized.
【学位授予单位】:天津大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TD65;TP391.44;TN929.5
【参考文献】
相关期刊论文 前1条
1 胡庆新;李冬;;基于CAN总线的煤矿控制系统远距离传输的研究[J];合肥工业大学学报(自然科学版);2010年10期
本文编号:1632585
本文链接:https://www.wllwen.com/kejilunwen/wltx/1632585.html