Application of Protocol Converter in Metering Pump Intelligent Control System

Author
NiMengKe
Advisor
MengLiMin , YuShiMing
School
Zhejiang University of Technology
Major
Communication and Information System
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2009
Downloads
4
Citations
1

Request the full text

Abstract

This paper will design a sort of protocol converter based on the technologies of ARM、CAN bus and Ethernet, to achieve remote control of metering pumps.Starting with the works on recent situations at home and abroad as well as system functional requirements, this paper analyses the development of field-bus, the functional characteristics of CAN bus, the features of Ethernet technology, the basic contents of TCP/IP protocol stacks, the fundamental principle of finite state machine. It lays a theoretical foundation for the development of protocol converters.Secondly, based on the actual project "small variable-frequency metering pump" for remote control target, this paper draws up a scheme of system’s hardware circuit using 32-bit ARM microprocessor LPC2368 as the main control chip. The segment of hardware mainly includes Ethernet and CAN drive circuit, and other function modules.The segment of software is the key point which accomplishes the transplantation of TCP/IP protocol stacks and the design of bottom CAN drivers. This paper will focus on the establishment of CAN network application-layer protocol, including the communication agreement code for metering pumps and protocol converter, and the data structures of messages. Moreover, a kind of data store-and-forward mechanism will be put on to deal with the packet loss event caused by over frequent data transmission.Lastly, to suit with the protocol converters, this paper designs a monitoring software to test the functions of system. Test results show that the designed protocol converters basically achieve the purpose of controling remote metering pumps, meet the expected requirement and work in good conditon.

Table of contents

Abstract 5-6 ABSTRACT 6-10 Chapter 1 Introduction 10-15 1.1 Background 10-11 1.2 research status and development trend 11-12 1.3 The purpose of the research and the significance 12-13 1.4 In this paper, the main content 13-15 1.4.1 Research 13-14 1.4.2 main features and innovation 14-15 Chapter 2 technology and principle 15-22 2.1 fieldbus technology 15-17 2.1.1 fieldbus generation and development 15-16 2.1.2 CAN bus technology 16-17 2.2 Ethernet technology and TCP / IP protocol stack 17-20 2.2.1 Ethernet Technology Overview 17-18 2.2.2 TCP / IP Protocol Introduction 18-20 the the 2.3 program finite state machine thinking 20-22 Chapter 3 protocol converter system hardware design 22-32 3.1 protocol converter program to determine 22-24 3.2 host processor to select 24-25 3.3 protocol converter hardware circuit design 25-32 the 3.3.1 protocol converter hardware overall structure 25-27 3.3.2 Ethernet interface circuit 27-29 3.3.3 CAN bus interface circuit 29-32 Chapter 4 protocol converter system software design 32-59 4.1 TCP / IP protocol stack transplantation 32-47 4.1.1 TCP / IP protocol stack transplantation program 32-34 4.1.2 Ethernet driver design 34-40 4.1.3 ARP protocol handler written 40-41 4.1.4 ICMP protocol handler written 41-43 4.1.5 IP protocol handler written 43-44 4.1.6 TCP finite state machine thinking 44-46 4.1.7 TCP / IP protocol stack software flow 46-47 4.2 CAN communication function realization 47-49 4.3 user application layer protocol design 49-59 4.3.1 user application layer protocol design 49 4.3.2 TCP / IP protocol application layer protocol design 49-51 4.3.3 CAN application layer protocol design 51-54 4.3.4 store-and-forward mechanism design 54-59 Chapter 5 monitoring software designed 59-66 5.1 monitoring software overall function introduced 59-60 5.2 monitoring software interface design 60-63 5.3 system debugging and system testing 63-66 Chapter 6 Summary and Outlook 66-68 6.1 summarizes 66 6.2 Looking 66-68 the References 68-71 Appendix 71-73 Acknowledgements 73-74 during the degree to participate in research projects and achievements 74

Related dissertations

  1. Research of Surface Roughness Network Data Collector System Based on ARM
  2. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  3. Research on the Real Time Acquisition System of the Safety Condition of Group Vehicle
  4. Research of Energy Microlgae Cultivating Monitoring System Based on CAN
  5. Refueling machine control device based on IFSF protocol
    PengYan ·Heilongjiang University ·2012 ·Master's thesis
  6. The Study and Realization of Protocol Converter between CAN Bus and SPI Bus
  7. Design and Application of Protocol Converter Based on Fieldbus
  8. Design of communication gateway in embedded Linux Ethernet and CAN and MBUS two based on field bus
    FangShaoQiang ·Yunnan University ·2013 ·Master's thesis
  9. The Design of Remote Monitoring System Based on GPRS for Electric Vehicle
    ShenYang ·Shanghai Jiaotong University ·2013 ·Master's thesis
  10. Research and Realization of Coal Mine Embedded Data Collection Substation
    YuXiang ·Wuhan University of Technology ·2007 ·Master's thesis
  11. Design and Implementation of a Remote Computer Room Monitoring System
    LiuXiuJie ·Northeastern University ·2011 ·Master's thesis
  12. The Research of Household Remote Monitoring Based on Embedded Web Server
  13. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  14. The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
  15. Engine Room Monitoring System Based on the Embedded Web Server
  16. Research and Design of Intelligent Video Surveillance System Based on ARM
  17. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  18. The Design of Embedded Network Video Surveillance System Based on ARM9
  19. Data Acquisition System of Cavern Based on Embedded Web Server
  20. Research and Design of Remote Monitoring System Based on ARM
    LinFeiLong ·Hunan University ·2014 ·Master's thesis