Design and Implementation of Devicenet Communication Adapter

Author
WangChenZuo
Advisor
LiuYongXin
School
Inner Mongolia University
Major
Control Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2012
Downloads
83
Citations
2

Request the full text

Abstract

DeviceNet fieldbus as one of the international standards, has gradually become the focus of attention of the field of automation Therefore, research and development technology, deviceNet Bus-based communication adapter is very urgent and necessary. In-depth study on the basis of the DeviceNet protocol specification, designed using the realization of the CAN controller SJA1000DeviceNet Communication Adapter. The basic functionality of the DeviceNet protocol for data exchange between the equipment and the corresponding controller. In this way, DeviceNet can either work in the main mode, can also work in multi-master mode.In-depth study of the DeviceNet protocol specification based on, in this thesis, the communication device node hardware system design. DeviceNet bus based on CAN, CAN port communication in the design of the application layer before test. Application layer protocol is the use of the Philips company SJA1000CAN controller chip,and a brief description of the SJA1000controller and associated devices. According to the protocol specification and application of the relevant requirements of the circuit, according to the relevant requirements of the protocol specification and application circuit, design the power supply circuit, the coupler isolation circuit and watchdog circuit, TJA1050bus transceiver DeviceNet bus physical interface. In this thesis, a communication adapter to connect from the station communication interface hardware schematic, complete the welding of the PCB board design and hardware board, and through debugging.In this thesis, software design is used in the Keil environment C51language to achieve. The use of object-oriented programming has prepared the DeviceNet data link layer and application layer program. For the initialization of the controller SJA1000and interrelated parameters, interrupt processing, basic functions such as receiving and sending of CAN messages and duplicate MAC ID detection in accordance with the DeviceNet application layer protocol specification predefined main from the connection configurationI/O message receiving and sending, polling and bit strobe both data trigger mode communications. Therefore, this communication is established based on connection-oriented (point-to-point or multicast) communication model.In order to verify the functionality of the DeviceNet communications adapter developed in the paper. Hang it on the Rockwell Automation AB PLC. Use Rockwell supporting software RSLogix500paper design of the communication adapter configuration and debugging. Through the testing of the software it, monitoring software, the MINI the CAN get the host computer and communication analysis of the data communication adapter, and prove a thesis developed DeviceNet communications adapter to communicate with the master, achieve all kinds of predetermined functions.

Table of contents

Summary 4-6 ABSTRACT 6-10 first chapter background and significance 10-14 1.1 thesis topics 10-12 1.1.1 background of topics 10-11 1.1.2 topics of significance 11 1.1.3 bus -based DveiecNet Research Status and Development Trend equipment main content 11-12 1.2 paper and paper structure work done 12-14 1.2.1 of this thesis includes the following aspects 12-13 1.2.2 papers structural arrangements 13-14 chapter DeviceNet fieldbus technology 14-33 2.1 DeviceNet bus technical Overview 14-15 2.2 DeviceNet protocol specification Introduction 15-18 2.2.1 DeviceNet protocol specification 15 2.2.2 DeviceNet 's physical layer 15-16 2.2.3 Device Net data link layer 16-18 2.2.4 DeviceNet and CANopen similarities and differences 18 <br / > 2.3 DeviceNet application layer 18-32 2.3.1 DeviceNet protocol packets 18-25 2.3.2 predefined master slave connection set 25 -26 2.3.3 DeviceNet object model 26-28 2.3.4 I / O data of the two main trigger of 28-32 2.4 of this chapter Summary hardware 32-33 Chapter III DeviceNet system design and implementation hardware architecture 33-43 3.1 system 33-35 3.1 .1 system hardware structure 33-34 3.1.2 C8051F021 microcontroller features 34-35 3.2 control module design 35-40 3.2.1 TJA1050- speed CAN transceiver 35-36 3.2.2 power 36 3.2.3 optocoupler 36-37 3.2.4 CAN controller SJA1000 37-39 3.2.5 watchdog circuit 39 3.2.6 SJA1000 works 39-40 3.2.7 address decoder 40 3.3 package and PCB design 40-42 3.4 Summary 42-43 Chapter 4 Software DeviceNet communication interface design 43-54 4.1 DeviceNet network access state mechanism 43-46 4.2 software design ideas 46-50 4.2.1 main design 47 4.2.2 SJA1000 initialization 47-48 4.2.3 interrupt handling 48-49 4.2.4 CAN frame transmission and reception of 49-50 4.3 meets DeviceNet protocol I / O module design summary 50 4.4 device EDS file written 50-53 4.4.1 EDS document outlines 50-51 4.4.2 of this writing developed DeviceNet EDS files from station equipment 51-53 <br / > 4.5 Chapter Summary 53-54 Chapter V system debugging platforms and experimental results 54-60 5.1 DeviceNet network test 54-59 5.1.1 experimental Procedure 55 5.1.2 experimental results 55-58 5.1.3 experimental data analysis 58-59 5.2 chapter Summary 59-60 Chapter VI summary and Outlook 60-62 References 62-65 Thanks 65-66 during graduate school to participate in research projects 66

Related dissertations

  1. Design of PLC Source Program Compilation and Internal Communication System Based on ARM and FPGA
  2. Research and Design of CAN Bus Network Architecture for Electric Vehicle
    QiLiWei ·Hunan University ·2013 ·Master's thesis
  3. Study on Key Technologies of Coal-mine Power Monitoring System Based on CAN Bus
  4. The Design and Implementation of the Equivalent Test System Integrated Multiple Bus
    SuHuPing ·University of North ·2013 ·Master's thesis
  5. Research on DeviceNet Fieldbus Network Communication Technology
    ZhangJianFeng ·Tianjin University of Technology ·2006 ·Master's thesis
  6. Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
  7. Development of Automated Production Line Teaching Experiment Platform Based on Profibus
    HuYa ·Dalian University of Technology ·2013 ·Master's thesis
  8. Development and Application about Data Management System of PVC Glove Production Line
  9. Based on PLC Street-lamps Romote Monitoring System Research and Implementation
    JiangYang ·Dalian Polytechnic University ·2011 ·Master's thesis
  10. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  11. The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
  12. Monitoring System of Motion Position Platform Design Based on Wincc
  13. Design of Monitoring System in Oilfield Metering Station Based on PLC
  14. The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
    SunChenZuo ·Yanshan University ·2012 ·Master's thesis
  15. Mine Drainage Automation Monitoring System Design and Implementation
  16. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis
  17. Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan
  18. The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
    GuManMan ·Hefei University of Technology ·2013 ·Master's thesis
  19. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  20. Design of Monitoring Control System for Three-dimensional Steel Samples Warehouse on KingView
    WangXiaoWei ·Ningxia University ·2013 ·Master's thesis