Research and Design of Protocol Converter Base on RS232/485 and CAN Bus

Author
ZhangHaiYan
Advisor
LiuYanCheng , SunFanJin
School
Dalian Maritime University
Major
Power Electronics and Power Drives
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2008
Downloads
1,503
Citations
13

Request the full text

Abstract

Fieldbus is the technology which is used to realize bidirectional, serial, multi-node digital communication between field device and field device, or control room. Field bus is used in manufacture field. The difference of field bus in protocol standard brings complexity to practice and influence the opening and interoperability of bus. In this case, it need protocol converter to interconnect different buses. So this thesis designs the protocol converter to interconnect traditional RS485 network and CAN bus. It is used to data collecting system, through RS232 interface it connects to computer and configures dynamically parameter of two buses.Firstly, aiming at the limitation of the real-time capability of CAN Bus, based on analyzing communication principle of CAN Bus that includes format of message, structure of the frame and wrong type etc, the thesis brings the method that distributed dynamic priority forward to change real-time capability. Secondly, this thesis designs the hardware of RS232/RS485 protocol converter that include core module, CAN interface, RS485 interface, RS232 interface and power supply of system. In the power supply of system, the design adopts AT89S51 as CPU dealing data, SJA1000 as CPU of CAN bus and P82C250 as transceiver of CAN bus sending and receiving data. Finally, based on the hardware, the program of each function is designed, including the main program module, CAN communication module, RS485 communication module, RS232 communication module and Human-Computer Interaction program connecting to PC by RS232. In CAN communication module and RS485 communication module, it adopts interrupt mode to receive data, inquiry mode to send data. Human-Computer Interaction program can make protocol converter become main node of network to manage CAN bus and RS485 and configure parameter dynamically.The protocol converter in the thesis can be applied to some monitoring system for example temperature monitoring of cable. Also, it can connect RS485 network with CAN bus network, complete collecting data of two buses and it lays function for protocol converter applying to more industry field in the future.

Related dissertations

  1. Design and Implementation of Network Monitoring Device for Ship Navigation System
    HanHuaJin ·Harbin Engineering University ·2012 ·Master's thesis
  2. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  3. Research and Design of Intelligent Medical Infusion Monitoring System
  4. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  5. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  6. Design and Application of the Distributed Monitoring System Based on Embedded Web
  7. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  8. Industrial Field Data Acquisition System Design Based on CAN Bus
  9. Design of the Hazard Source Monitoring System Based on CAN Bus
  10. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  11. Research on Data Acquisition System of Can Bus
  12. Design and Implementation of Remote Host Monitor System Based on SSH
    LiuYan ·Northeastern University ·2013 ·Master's thesis
  13. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  14. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  15. Design and Implementation of Intelligent Wiring Hardness Detection System
  16. Research on Indoor Localization System for Intelligent Wheelchair
  17. Research on CAN Bus Communication and Application Experiments
    WangHuaWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  19. Research of Fieldbus Relay Basing on CAN Bus
  20. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis