Design of RS-485 bus communication system based on the distributed multi
- Author
- ShaoKui
- Advisor
- BoXiongZuo
- School
- Nanjing University of Technology and Engineering
- Major
- Instrumentation Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 183
- Citations
- 0
Abstract
Whether in the field of industrial control or signal test, the achievement of data fusion which is based on different communication protocol is urgent needed. However, in the current market, protocol converter can only achieve conversion between two protocols, such as RS-485to RS-232, USB to RS-485and so on.Because of a large of cases of coexistence of multiple data bus, it has great practical significance to develop an equipment for protocol conversion among different buses.Based on the reasons above, a high-speed RS-485-based multi-bus communication system is presented in this paper. The entire system which is used to realize the three categories of bus communication protocol conversion consists of some RS-485nodes, each node contains the communication interfaces including RS-232, RS-485and USB. In the practical application, the number of nodes can be changed as required to form system, for achievement of data fusion between a variety of bus communication protocol.An ARM chip LPC1756combining with an external of UART chip SC16IS762are used in high speed RS-485circuit of this system to achieve the highest rate of5Mbps. CRC-16algorithm is added to the Bus, and a set of simple and practicable error handing mechanism is put forward to ensure the correctness of the data communication process. Virtual serial port communication which is based on USB is used between upper moniter and the protocol conversion system, therefore a serial device connection status detection and automatic initialization method is proposed in this article.The characteristic of this system is the use of the bus structure to ensure the system’s flexibility, multi-device communication interface and speed versatility of optional guarantee system, the use of the checksum algorithm and various types of anti-interference measures to ensure system reliability.
Table of contents
Summary 3-4
ABSTRACT 4-5
directory 5-7
1 Introduction 7-12
1.1 background and Significance 7-8
1.2 multi-bus communications equipment research status development status of high-speed serial bus 8-10
1.2.1 8-9
communication Technology development Status 1.2.2 multi-bus 9-10
1.3 The main work 10-12
2 overall system design 12-17
2.1 Overview 12
2.2 overall system design 12-14
2.3 PC connection with a multi- way bus communication system design 14 <br / > 2.4 bus data format developed 14-16
2.5 Summary 16-17
3 system hardware design 17-27
3.1 high-speed RS- 485 design 17
3.2 bus node chip selection 17-19
3.3 electromagnetic compatibility principle 19-20
3.4 bus node circuit design 20-23
3.4.1 JTAG circuit design 20-21
3.4.2 clock circuit design 21
3.4.3 bus communication interface circuit design 21-22
3.4.4 USB interface circuit design 22-23
3.4.5 RS-232 and RS-485 interface to interface design 23
3.5 bus motherboard circuit design 23-25 ??
3.5.1 power Management circuit design 23-25 ??
3.5.2 motherboard design 25
3.6 multi-bus communication system panel design 25-26
3.7 Summary 26-27
4 lower machine software design 27-41 <br / > 4.1 development Environment achieve 27
4.2 lower machine program 27-29
4.3 CRC checksum algorithm 29-30
4.4 outside UART chip set works 30-33
4.5 bus node UART communication with the host computer to achieve 33-35
bus node between 4.6 and UART communication equipment to achieve 35 -36
4.7 USB communication to achieve 36-39
4.8 node UART baud rate settings, and a USB connection is detected 39-40
4.9 Summary 40-41
5 PC software design 41-50
5.1 labview serial communication 41-42
5.2 communication interface selection interface design 42 - 47
5.2.1 multi- bus communication system connecting state detection 43-44
5.2.2 multi- bus communication system serial number to obtain 44-46
5.2.3 multi- bus communication system communication interface selection 46-47
5.3 RS.232 RS-485 communication software design 47-48
5.4 USB communication interface design 48 - 49
5.5 Summary 49-50
6 bus communication functional verification 50-56
6.1 principle 50-51
6.2 experimental procedures and results 51-55
6.3 summary 55-56
7 summary and Outlook 56-58
7.1 summarizes 56
7.2 Prospects 56-58
Thanks 58-59
References 59-62
Appendix A master's papers published during 62-63
Appendix B CRC-16 checksum algorithm 63-64
Appendix C bus communication system connecting multiple condition monitoring program 64
Related dissertations
- Study of Data Transmission System Based on USB2.0and FPGA
- Design and Research of CAN-USB Host-Slave Communication Adapter
- Design and Implementation of High Speed Reusable SPI Bus with Verilog HDL
- The Study and Application of Software Development for Intelligent Water-Control System
- DeviceNET and RS-485 protocol conversion module design
- Design of High Speed Serial Bus System
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research and Design of High-power Temperature Control System Based on PROFIBUS
- Design of Automatic Control System for Arch Greenhouse
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- Design of Meter Reading Systems
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- The Development of Combustible Gas Alarm Apparatus Using RBF Neural Networks