基于STM32的雙CAN總線在礦山物聯(lián)網(wǎng)的應(yīng)用研究
發(fā)布時(shí)間:2018-03-19 03:17
本文選題:STM32 切入點(diǎn):CAN 出處:《天津大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著以太網(wǎng)、工業(yè)自動(dòng)化、現(xiàn)場(chǎng)總線等技術(shù)的發(fā)展,物聯(lián)網(wǎng)技術(shù)應(yīng)運(yùn)而生。由于物聯(lián)網(wǎng)可以滲入到任何一個(gè)領(lǐng)域,使得物聯(lián)網(wǎng)技術(shù)有著前所未有的應(yīng)用廣度和深度,從而也成就了物聯(lián)網(wǎng)的快速發(fā)展。煤礦工業(yè)是物聯(lián)網(wǎng)的一個(gè)重要應(yīng)用領(lǐng)域。國(guó)家大力倡導(dǎo)將信息技術(shù)、感知技術(shù)、傳輸技術(shù)、智能技術(shù)、現(xiàn)代控制技術(shù)、現(xiàn)代信息管理技術(shù)等與現(xiàn)代礦山生產(chǎn)、管理技術(shù)緊密相結(jié)合,構(gòu)成礦山人與人、人與物、物與物相聯(lián)的礦山物聯(lián)網(wǎng)。礦山資源開(kāi)采急需構(gòu)建感知礦山物聯(lián)網(wǎng)系統(tǒng)以實(shí)現(xiàn)礦山經(jīng)濟(jì)可持續(xù)增長(zhǎng)的目的。 為了滿足以上需求,結(jié)合當(dāng)前煤礦自動(dòng)化的特點(diǎn),本文給出了用于礦山物聯(lián)網(wǎng)的雙CAN通信系統(tǒng)設(shè)計(jì)方案。本文首先給出了基于STM32單片機(jī)的嵌入式系統(tǒng)的整體設(shè)計(jì)方案,根據(jù)系統(tǒng)結(jié)構(gòu)依次設(shè)計(jì)了各個(gè)部分的硬件電路設(shè)計(jì)及軟件的實(shí)現(xiàn)方案。然后設(shè)計(jì)了PLC部分設(shè)計(jì)及以太網(wǎng)傳輸?shù)脑O(shè)計(jì)方案,并設(shè)計(jì)了綜合監(jiān)控的設(shè)計(jì)。最后基于總線拓?fù)浜陀布Y(jié)構(gòu)而設(shè)計(jì)了的數(shù)據(jù)通信協(xié)議。 本文選擇了數(shù)據(jù)處理功能強(qiáng)大的STM32單片機(jī)作為系統(tǒng)的主控制芯片。通過(guò)STM32單片機(jī)的雙CAN通信接口實(shí)現(xiàn)長(zhǎng)距離的信息通信;用其集成的RS485通信接口和RS232通信接口實(shí)現(xiàn)數(shù)據(jù)上傳和語(yǔ)音播報(bào);用其GPIO接口實(shí)現(xiàn)數(shù)字信號(hào)和模擬信號(hào)的采集和控制。系統(tǒng)同時(shí)設(shè)計(jì)精簡(jiǎn)型PLC控制子系統(tǒng)實(shí)現(xiàn)系統(tǒng)的邏輯控制和數(shù)據(jù)的以太網(wǎng)通信傳輸。通過(guò)以太網(wǎng)通信將CAN總線檢測(cè)的核心數(shù)據(jù)傳送到遠(yuǎn)端控制室進(jìn)行綜合監(jiān)控,遠(yuǎn)程控制站也可開(kāi)發(fā)數(shù)據(jù)庫(kù)服務(wù)系統(tǒng),從而實(shí)現(xiàn)遠(yuǎn)程互聯(lián)網(wǎng)訪問(wèn)。 通過(guò)仿真手段和實(shí)際案例,本文結(jié)合系統(tǒng)的各個(gè)主要部分的設(shè)計(jì)方案,,進(jìn)行必要的測(cè)試,并在論文的最后,給出了系統(tǒng)的實(shí)驗(yàn)結(jié)果。從結(jié)果中可以看出,系統(tǒng)通過(guò)雙CAN總線,實(shí)現(xiàn)了10Km用于礦山物聯(lián)網(wǎng)的雙CAN通信系統(tǒng)的數(shù)據(jù)檢測(cè)、遠(yuǎn)程控制和信息通訊功能。
[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.
【學(xué)位授予單位】:天津大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TD65;TP391.44;TN929.5
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 胡慶新;李冬;;基于CAN總線的煤礦控制系統(tǒng)遠(yuǎn)距離傳輸?shù)难芯縖J];合肥工業(yè)大學(xué)學(xué)報(bào)(自然科學(xué)版);2010年10期
本文編號(hào):1632585
本文鏈接:http://sikaile.net/kejilunwen/wltx/1632585.html
最近更新
教材專著