Design of Ward Call System for Ship Based on CAN-Modbus/UDP

Author
JingBaiHao
Advisor
WuXueDong , ShenMengLiang
School
Jiangsu University of Science and Technology
Major
Control Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

In recent years, with the development of computer networks, fieldbus, embeddedsystems technology, Ship ward call system function has become more and more powerful.With the ship of the development of integrated automation level, Ship ward call system notonly meet to play a role as a single subsystem, but also more actively integrated automationdirection to move closer to the whole ship. Ward call system increasingly high requirementsin order to conform to the development of the warship integrated automation and modernships, the development of an anti-jamming capability, good compatibility, high performanceward call system has become inevitable.A warship ward call system project as research background in this paper, on the basisof the call system overall grasp of the ship ward, A design of ward call system design forship based on CAN-Modbus/UDP protocol conversion was complished. ARM7TDMIcore-based embedded microprocessor LPC2368as the core of the hardware platform wasSelected, μC/OS-II embedded operating system as the software platform, through theanalysis and comparison of the TCP protocol and UDP protocol, The Modbus/UDP protocolas Industrial Ethernet Transfer Protocol was selected, and the system’s real-time andaccuracy was enhanced, and design CAN bus protocol to Modbus/UDP protocol conversion.After the design is completed, call and alarm functions, communication efficiency is tested,and experiment of system real-time performance and reliability is finished, through trial andfull data analysis and comparison, confirmed design of the ward call system in this paper,not only meet the commercial ward call system requirements, But also moreanti-interference ability and small size, scalability and compatibility advantages.The main work in this paper include the following aspects:1. To study the CAN protocol, Modbus protocol as well as the basic principle andworking process of the TCP/IP protocol, select the appropriate network protocol systemdesigned for this project. And Ship ward call the overall structure of the system has beenimproved, complete the framework of the system hardware and software platform.2. Designed the system hardware, including the main components of the circuit designbased on the LPC2368chip acquisition module and the host module circuit design,CTM8251AT chip with DM9161AEP chip.3. Designed the system software part, including the part of call answering system basedon μC/OS-II, CAN bus parts, Modbus/UDP part, CAN-Modbus/UDP convert part of software design, as well as remote monitoring client configuration software design andImplementation.4. To tese the overall Call alarm function, and the communication efficiency, Doexperiments of system real-time and reliability comparative, and the conclusion.

Table of contents

Abstract 5-7 Abstract 7-13 Chapter 1 Introduction 13-19 purpose and significance of 1.1 papers development Status 13-14 1.2 ships ward call system research content and organizational structure 14-16 1.3 papers 16-19 1.3.1 Research content 16-17 1.3.2 organizational structure 17-19 Chapter 2 related communications protocol 19-35 2.1 CAN bus technology 19-23 2.1.1 several typical fieldbus 19-20 advantage 2.1.2 CAN bus 20-21 2.1. introduction 3 CAN communication protocol 21-22 2.1.4 CAN message frame structure and packet filtering technology 22-23 2.2 Modbus communication protocol analysis 23-26 2.2.1 Modbus protocol describes 23-24 2.2.2 Modbus serial data frame 24 2.2.3 Modbus communication theory and function code 24-25 2.2.4 Modbus data transfer mode 25-26 2.3 TCP / IP protocol analysis 26-30 2.3. basic concepts 1 TCP / IP protocol stack model 26-27 package nbsp 2.3.2 data frames ; 27-29 2.3.3 Ethernet SOCKET transfer mode 29-30 2.4 Modbus / TCP and Modbus / UDP protocol 30-33 2.4.1 Modbus / TCP and Modbus / UDP protocol describes 30-31 <br / > 2.4.2 Modbus / TCP and Modbus / UDP protocol contrast 31-33 2.5 Chapter Summary overall design nbsp 33-35 Chapter 3 systems ; 35 -41 3.1 overall system design requirements 35-37 3.1.1 system functional requirements design 35-36 3.1.2 system architecture 36-37 3.2 system hardware design program select 37-39 3.3 system software platform 39-40 3.4 Features of the system 40 section 3.5 of this chapter 40-41 Chapter 4 hardware Design 41-51 4.1 minimum system design 41-44 4.1.1 power circuit 41-42 4.1.2 crystal oscillator circuit 42 4.1.3 reset circuit 42-43 4.1. 4 memory circuit 43-44 4.1.5 debugging circuit interface 44 4.2 CAN controller module introduces 44-45 4.3 Ethernet module introduction 45-47 4.4 system other peripheral circuits 47-50 4.4.1 acquisition module part of the circuit 47-48 4.4.2 host module is part of the circuit 48-50 4.5 system PCB design should pay attention to the issue 50 4.6 Chapter Summary 50-51 Chapter 5 System software part 51-67 5.1 μC / OS-II system introduced 51-55 5.1.1 μC / OS-II system migration 51-53 5.1.2 μC / OS-II system tasks into 53-54 5.1.3 host and acquisition module system tasks into 54-55 5.2 acquisition Module call , alarm, disconnection detection task flow introduced 55-56 5.3 CAN bus task flow 56-58 achieve 5.4 embedded TCP / IP protocol 58-63 5.4.1 link layer software design achieve 58-61 5.4.2 network layer protocol 61-62 5.4.3 transport Layer achieve agreement 62-63 5.5 Modbus protocol in UDP / IP protocol 63-64 5.6 CAN-Modbus / UDP conversion 64- 65 5.7 Chapter Summary 65-67 Chapter 6 RMON client software design and system debugging 67-77 6.1 RMON client software feature overview 67-68 6.1.1 development tool selection 67 main functions 6.1.2 RMON end 67-68 6.2 client software for remote monitoring specific design 68-70 6.2.1 monitor screen design 68-69 6.2.2 device driver to add 69-70 6.2 .3 monitor configuration data points nbsp 70 6.3 debugging systems ; 70-75 6.3.1 debugging environment and hardware equipment 70-71 6.3.2 acquisition and host module hardware correctness confirm 71 6.3.3 system program debugging 71-75 6.4 system performance superiority of the experimental results were compared 75-76 6.5 chapter Summary 76-77 conclusion 77-79 references 79-83 Appendix published 83-85 master's degree during the academic 85-87 Thanks 87