The Design of Serial Server Based on LM3S8962

Author
BaiJingJing
Advisor
ZhaoZiXian
School
Inner Mongolia University
Major
Pattern Recognition and Intelligent Systems
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2011
Downloads
99
Citations
2

Request the full text

Abstract

The field of automated industrial systems such as the important equipment data the the communication use more RS-485/CAN bus mode . RS-485 bus transmission speed , low cost , simple structure , real-time and strong anti-interference ability and many other advantages ; CAN bus is a communication rate is high , easy to implement, and cost many characteristics of a formation of international standards fieldbus , widely used in the field of industrial control . With the popularity of the Internet , the Internet has been extended to every corner of the industrial system based on Ethernet technology and TCP / IP protocol built . Industrial Ethernet , Ethernet is widely used , low-cost , high speed communication hardware and software resources , and can communicate with multiple hosts , sustainable development , and great potential advantages compared with other fieldbus or industrial communication network , therefore not only monopolized factory integrated automated information management network , and has also been widely used in process monitoring layer network , and directly extends down trend used in the industrial field device layer network . According to the strengths and weaknesses of the three networks , based on low-cost , simplicity , reliability and versatility of paper design embedded serial communications server combines the advantages of serial communication and network transmission , allowing serial devices to the network connection , so that the original do not have networking capabilities and dispersed throughout the serial device connected to the network , make full use of the existing resources of the Internet for data transfer and management , better service for the serial device and the remote host . The design core the Luminary LM3S8962 microprocessors , the central processing chip Cortex-M3 processor core based on the ARMv7 architecture . In this paper, on the server overview of embedded serial communication at home and abroad on the basis of , the overall program discusses the design of serial servers , elaborate system hardware , software design and development . The main contents include the following sections : embedded real-time systems uC/OS- Ⅱ transplant ; Ethernet, 485 communications protocol and CAN protocol analysis and research ; programming environment of embedded real-time systems uC/OS- Ⅱ , achieve Ethernet network with 485 communication protocol , Ethernet and CAN protocol conversion , so as to realize the data transmission between the RS-485-Ethernet and CAN-Ethernet .

Table of contents

Summary 4-6 ABSTRACT 6-11 Chapter Introduction 11-17 1.1 research project source and significance 11-13 1.2 serial communications server progress the 13-14 1.2.1 serial server Domestic Research 13 1.2.2 serial server abroad Research 13-14 1.3 topics of program analysis 14-15 the 1.4 research main content 15-17 1.4.1 thesis main content 15-16 1.4.2 papers structural arrangements 16-17 overall system design 17-24 2.1 system structural framework 17-18 2.2 core controller LM3S8962 18-19 2.3 design selected are found; 19-23 2.3.1 ARM Cortex-M3 processor core 19-20 2.3.2 Ethernet pass controller 2.3.3 Controller Area Network 20-22 2.3.4 Universal Asynchronous Receiver Transmitter 22-23 2.4 Chapter Summary 23-24 Chapter the hardware circuit analysis 24-31 <br / > 3.1 hardware design principles 3.2 24-25 power supply circuit 25-26 3.3 CPU circuit 26-28 3.4 Ethernet interface circuit the 28-29 3.5 RS-485 bus interface circuit 29-30 3.6 CAN-BUS interface circuit 30 3.7 Chapter Summary 30-31 Chapter embedded real-time operating system UC/OS- Ⅱ 31-42 4.1 embedded real-time operating system Introduction 31-33 the 4.2 embedded real-time operating system UC/OS- Ⅱ 33-39 of 4.2.1 on uC/OS- II overview 33 4.2.2 on uC/OS- Ⅱ initialization and startup are found; 33-34 4.2.3 on uC/OS- Ⅱ management 34-38 4.2.4 on uC/OS- Ⅱ multitasking management the 38-39, 4.3 on uC/OS- II transplant 39-41 4.4 Chapter Summary 41-42 Chapter TCP / IP protocol stack 42-51 5.1 TCP / IP protocol nbsp the; 43-46 5.2 TCP / IP communication 46-50 5.2.1 SOCKET interface functions 46-47 5.2.2 connection-oriented server / client communication 47-49 5.2.3 TCP / IP data communication processing 49 -50 5.3 Chapter Summary 50-51 Chapter VI RS-485 and TCP / IP data transfer processing 51-61 6.1 RS-485 bus 51-52 6.1.1 RS-485 bus 51 6.1.2 serial asynchronous communication data format 51-52 6.2 RS-485 data processing 52-56 6.2.1 serial initialization and send data using the function 52-53 6.2.2 serial initialization 53-54 6.2.3 serial data sent 54-55 6.2.4 serial accept data using the function 55 6.2.5 RS-485 interrupt receiving data 55-56 6.3 TCP / IP and RS-485 data transmission process 56-60 6.3.1 RS-485 to TCP / IP data transmission to achieve 57 -58 6.3.2 TCP / IP to RS-485 data transmission achieve 58-60 6.4 Chapter Summary 60-61 Chapter VII of the CAN and TCP / IP data transfer processing 61-75 7.1 CAN bus protocol 61-62 7.1.1 CAN bus protocol outlined are found; 61 7.1.2 CAN bus message format 61-62 7.2 CAN data processing 62-69 the 7.2.1 packet object data structure tCANMsgObject the 62-63 7.2.2 CAN initialization 63-64 7.2.3 send the message object the 64-66 7.2.4 received message text object 66 -68 7.2.5 interrupt handling 68-69 7.3 CAN and TCP / IP data transfer processing 69-74 7.3.1 CAN to TCP / IP data transmission to achieve the 70-72 7.3.2 TCP / IP to CAN data transmission 72-74 7.4 This chapter Summary 74-75 the Chapter VIII conclusion 75-77 Reference 77-80 Acknowledgements papers published during the 80 pursue a degree 80 during the degree to participate in scientific research 80

Related dissertations

  1. Research on the Long Distance Transmission and Share of Field Information Based on Internet/Intranet
    FanYingChun ·Wuhan University of Technology ·2004 ·Master's thesis
  2. Research and Implementation of Embedded TCP/IP Protocol Stack
  3. The Design of CAN Controller Based on the ISO2.0Full Standard Protocol
  4. The Design of Touching Automobile Air-conditioning Control System Based on CAN Bus
    QiaoXiaoQian ·Tianjin University ·2012 ·Master's thesis
  5. Design and Implementation of Multifunction Ethernet Nodes in Coal Mine
  6. A Kind Of Data Collection And Monitoring System Base On CAN Bus
    YiHui ·Central South University ·2011 ·Master's thesis
  7. Research on Optimization of Trilinear Decomposition Algorithm in Embedded Environment
    Feng ·Hunan University ·2012 ·Master's thesis
  8. Research to support congestion control mechanism of the quality of service QoS
    LuoWanMing ·Institute of Computing Technology ·2001 ·Doctoral dissertation
  9. Systematic Research & Simulation on Quasi_Rhombus Hybrid Electric Vehicle Equipped with CVT
    ZhongYong ·Hunan University ·2005 ·Doctoral dissertation
  10. Algorithm Research of QoS Routing Based on TCP/IP
  11. Research on Certain Key Thoeries of CAN Protocol for Automotive Network
    CaoWanKe ·Northeastern University ·2008 ·Doctoral dissertation
  12. Research Based on TCP/IP Protocol Suits
    LiJunFeng ·Hunan University ·2008 ·Master's thesis
  13. The Design and Realization of Control System in Chinese Traditional Medicine
    HeWei ·Hunan University ·2008 ·Master's thesis
  14. Design and Implementation of E-Mail Monitoring and Audit System
  15. Communication and Data Management in Urban Heating Control System
    WanHong ·Hebei University of Technology ·2007 ·Master's thesis
  16. Research on Embedded Ethernet Devices Connecting Internet
    PanJian ·Hunan Normal University ·2008 ·Master's thesis
  17. The Research and Design of the Embeded WEB Systeme of Achieve Telecontrol
    WangJingZuo ·Jilin University ·2008 ·Master's thesis
  18. Research of Terminal for Ship Monitoring System Based on CDMA Network
    Cui ·Tianjin Polytechnic University ·2008 ·Master's thesis
  19. Research of the Embedded Power Line Protection Device
    SunXiaoLiang ·Lanzhou University of Technology ·2008 ·Master's thesis
  20. Based on wireless mobile communication network and the Internet network for remote data acquisition and control system design