Study on Communication System Using Multi-serial Bus Technique Based on AT91M40800
- Author
- YanXianYong
- Advisor
- SongJianCheng
- School
- Taiyuan University of Technology
- Major
- Power Electronics and Power Drives
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 197
- Citations
- 0
Abstract
With the popularization and application of coal mine monitor and control system, management level and efficiency of safety production in the coal mine have greatly risen. However, because of the non-unified technical norms and various interfaces and protocols, it is unable to be compatible to communicate directly between systems and devices from the different manufacturers. And then, in order to meet users’ different requirements, the manufacturers pertinently improve the concrete project. Although these measures could solve the matter of great urgency, the problems that it is hard to maintain and difficult to promot have also been brought. So, it is quite urgent for the coal mine enterprises to develop a kind of equipment which is able to strengthen network compatibility.To solve the problem described above, the solution to strengthen system compatibility by multi-serial system has been put forward in this thesis, and the hardware and software schemes of the multi-serial system have been designed on the basis of analyzing the network structures, interface norms and communication agreements of the domestic and oversea monitor and control systems of coal mine. It has been shown by the tests of the hardware and software that: the performances of the multi-serial system have equally accorded with the design requirements, which has perfectly solved the problems that it is hard to maintain and difficult to promotion, meanwhile the compatibility of the monitor and control system has been strengthened. The main works have been done as follows:The multi-serial system has expanded several physics interfaces such as Ethernet, CAN and RS-485. After comparing DSP controller with ARM controller, the AT91M40800 microcontroller with ARM as the core has finally been selected as the host processor of multi-serial system. At the same time, the inside resources and usages have been introduced in detail. By comparing RTL8019AS, CS8900 with DM9000 controller, the RTL8019AS which is easy in operation and high in stability has been used as Ethernet controller, and the circuit of Ethernet interface has been designed. Because the AT91M40800 microcontroller is not integrated the serial interface at high speed such as SPI, I~2C, the SJA1000 with more mature applications as the CANBUS controller has been chosen, and the interface circuit for the CANBUS has been designed. The interface of RS-485 has been expanded and designed, and the infrared remote control has been added, which has strengthened the performances of the human-computer interaction in the pit at coal mine.The software designs of the multi-serial system mainly include tasks such as the designs of each interface drivers and various application softwares. To strengthen dependability and anti-interference performance of the multi-serial system, theμC/OS-II operating system taking up less space and with higher execution efficiency and good real-time performance has been confirmed and transplanted by comparingμClinux withμC/OS-II OS. According to IEEE802.3 norm, on the basis of revising uIP protocol stack, TCP/IP agreement with simplified structure has been embedded. According to 103 norm, the protocol of 103 master station has been designed and realized, and the mutual conversion of 103 protocol and Modbus protocol has been completed. Ethernet driver, CAN network driver, RS-485 driver as well as display and remote control driver have been designed and compiled.The system debugs of the multi-serial system is carried on. The contents include the hardware debugs of microcontroller’s kernel and the peripheral interface and software tests toμC/OS-II OS and various protocols. It has been shown by the tests that the hardware performance of the multi-serial system is steady, the software is reliable, and the designing requirements have been satisfied.
Table of contents
Abstract 3-5
Abstract 5-9
first chapter 9-14
1.1 coal mine monitoring and control system development and status 9-11
1.1.1 development and status abroad 9-10
1.1.2 development and Status of domestic 10-11
1.2 research Multiport Serial bus significance 11-13
1.3 the research objectives and main content 13-14
Chapter Multiport Serial bus system Design 14 - 24
2.1 of coal mine monitoring and control system features 14-16
2.2 Multiport Serial overall system design 16-18
2.3 hardware solutions 18 -20
2.3.1 microcontroller selection 18-19
2.3.2 Selection of the interface chip 19-20
2.4 software solutions 20-23
2.4.1 embedded operating system selection 20-21
2.4.2 the interface protocol software selection 21-22
2.4.3 develop the interface driver software 22-23
2.5 Chapter Summary 23-24
Chapter Multiport Serial bus system hardware design 24-41
3.1 AT91M40800 chip architecture 24-28
3.1.1 AT91M40800 Profile 24-25
3.1.2 AT91M40800 chip resources 25-27
3.1 .3 AT91M40800 scalable design 27-28
3.2 storage system design 28-29
3.2.1 design and Planning system RAM 28-29
3.2.2 System design and Planning FLASH 29
3.3 communication interface hardware platform design 29-40
3.3.1 ETHERNET interface design 30-33 <br / > 3.3.2 CANBUS interface design 33-36
3.3.3 RS-485, IR remote control interface design 36-40
3.4 chapter Summary 40-41
Chapter Multiport Serial bus system software design 41-69
4.1 embedded operating system μC/OS- Ⅱ transplant 41-52
4.1.1 μC/OS- Ⅱ kernel structure 41-48
4.1.2 μC/OS- Ⅱ transplant 48-52
4.2 TCP / IP protocol suite transplant 52 -61
4.2.1 TCP / IP structure Introduction 52-57
4.2.2 TCP / IP protocol stack implementation 57-61
4.3 embedding 103 protocol 61-68
4.3.1 103 Statute Profile 61-65
4.3.2 master 103 protocol design 65-68
4.4 chapter Summary 68-69
Chapter Multiport Serial bus system debugging 69-82
5.1 system hardware debugging 69-76
5.1.1 micro control device kernel debugging 69-72
5.1.2 peripheral Interface debugging 72-76
5.2 system software debugging 76-81
5.2.1 μC / OS-Ⅱ commissioning 76-78
5.2.2 Agreement commissioning 78-81
5.3 chapter Summary 81-82
sixth Zhang conclusions 82-83
References 83-85
Appendix A 85-86
Appendix B 86-88 < br /> Thanks 88-89
author during the master's degree research 89
Related dissertations
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- Study on Embedded Sleep Monitor and Alarm System
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Research and Development of Automatic Control System on Integrated Sub-packaging and Packaging Machine
- Embeded Software Design Research Based on Embeded Operation System μC/OS-Ⅱ
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System