Font Size: a A A

Study On Communication System Using Multi-serial Bus Technique Based On AT91M40800

Posted on:2008-12-12Degree:MasterType:Thesis
Country:ChinaCandidate:X Y YanFull Text:PDF
GTID:2178360242459136Subject:Power electronics and electric drive
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:embedded system, AT91M40800, μC/OS-II, TCP/IP protocol stack, 103 norm
PDF Full Text Request
Related items