Design and Implementation of the Ethernet Serial Servers Based on the Cortex-M3

Author
ZhouChao
Advisor
LiZhiJun
School
Wuhan University of Technology
Major
Control Science and Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2012
Downloads
222
Citations
0

Request the full text

Abstract

In the traditional access control system, pos consumption systems, attendance systems, security systems, medical equipment systems and industrial control collar, there are numerous sensor, card reader, detector, and so many other field devices need to be connected together in order to collect data. When the transmission distance is relatively short, the serial communication is easy to implement and maintain, and also can ensure high security of data transmission performance. Precisely because of this characteristic, serial communication is widely used in various fields. However, Serial communication transmission speed is slow, the transmission distance is relatively close, and there is a big defect in the reliability of transmission, If using Serial Bus communication to deal with data transfer between the remote host even multiple hosts and hundreds of sensors, detectors or other field devices the control networks will be extremely complex task. Due to the limitations of the serial communication technology itself, relying solely on it to achieve Data transfer between the remote host and the sensors, detectors, or other field device of the control system will exist many limitations obviously, so it is detrimental to the development of the automation control system.With the development of computer technology, automation control technology and communications technology, the traditional control technology is experiencing an unprecedented innovation, and is going to networked gradually. Demand of the voice signal, image signal and so on which require large amount of data and high speed prompting the joint of the Ethernet which is now prevalent in the industry and control network.According to the characteristics of the industrial control environment, this article design a low-cost embedded serial device server based on micro-controller LPC1768which contain a Cortex-M3core. The serial device server make multiple RS-485serial devices which scattered in the industrial control field level seamlessly access into the industrial Ethernet.So it can achieve the distributed intelligent management for data collection, data transmission and device control of the industrial monitoring.The main content of this thesis is to introduce the significance and role of the serial device server in the control system, and implement the complete design of the serial device server based on the microprocessor LPC1768which is Cortex-M3architecture and32high performance and low-cost, embedded operating system μC/OS-II and embedded TCP/IP protocol stack.The design includes the contents of three parts:1. The hardware platform designed around LPC1768mainly include Ethernet interface circuit, power supply circuit, reset circuit, serial port expansion circuit, debug circuit and level shifting circuit;2. The design of device firmware mainly include the migration of the TCP/IP protocol and μC/OS-II operating system,and the design of data forwarding procedure;3. Device driver include the design of virtual serial port driver.Finally, many experiments and tests show that the system can carry two-way communication, and transfer data correctly and completely, and PC can access to the serial link through virtual serial port, and the system achieved16serial port expansion.This Ethernet serial device server has the advantages of reliable performance, small size, low cost, low power consumption and so on, it is suitable for industrial control environment, and it meets the actual demand.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-14 1.1 research purpose and meaning 9 -10 1.2 research status analysis 10-12 1.3 main research topics arrangement 12 1.4 body structure 12-14 the overall design Chapter 2 serial server system 14-25 2.1 system features profiles 14-15 2.2 system architecture framework 15-16 2.3 system design selected 16-25 2.3.1 main control chip select 16-20 2.3.2 operating system selected 20-22 2.3.3 TCP / IP protocol stack 22-25 Chapter 3 serial server hardware system design 25-38 3.1 Ethernet Network interface design 26-28 3.2 serial expansion design 28-30 3.3 RS-485 interface design 30-31 3.4 power circuit Design 31 3.5 reset circuit 31-32 3.6 system clock circuit 32-33 3.7 debug circuitry 33-34 <br / > 3.8 hardware immunity analysis and design 34-37 3.8.1 sources of interference analysis 34-35 3.8.2 PCB anti-jamming design 35 -37 3.8.3 interface part of anti-jamming design 37 3.9 Summary 37-38 Chapter 4 serial server software system design 38-60 4.1 device firmware programming 39-51 4.1.1 μC/OS- Ⅱ operating system migration 39-44 4.1.2 TCP / IP protocol stack ported 44-47 4.1.3 data Forwarding programming 47-51 4.2 device driver design 51-59 4.2 .1 WDM introduced 51-56 4.2.2 virtual Serial Port driver Design 56-59 4.3 Summary 59-60 5th Chapter system testing and conclusions 60-62 5.1 test environment 60 5.2 virtual serial interface test 60-61 5.3 system Test test and conclusions analysis 61-62 Chapter 6 summary and Outlook 62-63 References 63-66 Thanks 66-67 studying for a master's degree theses published 67

Related dissertations

  1. Design of Distibuted Measurement System Based on Internet
    YangXiaLing ·Taiyuan University of Technology ·2012 ·Master's thesis
  2. Static Strain Gauge Based on LM3S9B96
    FengXinYu ·Taiyuan University of Technology ·2012 ·Master's thesis
  3. Design of City Streetlight Monitoring and Control System Based on Cortex-M3
  4. Design of Remote Control System Based on Ethernet
    YaoGaoHua ·South China University of Technology ·2013 ·Master's thesis
  5. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  6. Design and Implementation of Multi-channel Data Acquisition System
  7. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  8. Network-based Wind Power Monitoring Data Acquisition System
  9. Research and Design of the Multichannel Acoustic Emission Monitoring System Based on Serial Device Servers
  10. Research on Real-time Mornitoring System of High-voltage Switchgear
    DengLongJun ·Jimei University ·2013 ·Master's thesis
  11. Design of Embedded Access Control System Based on RFID
    ZhuXiaoLin ·Hebei University of Technology ·2012 ·Master's thesis
  12. Design of Industrial Ethernet Motion Controller Based on ARM
  13. Design and Development of Electrical Automation Experiment Platform
    LiuYin ·University of North ·2014 ·Master's thesis
  14. Design and Implementation of the Smartcar Navigated by GPS Based on Cortex-M3
    LiJiaQing ·Hebei University of Technology ·2012 ·Master's thesis
  15. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  16. Design and Implementation of Character Human-machine Interface Based on Cortex-M3
  17. The Research and Implementation of the Automatic Learning Method of VLAN in Ethernet
    ZhangLi ·WRI ·2012 ·Master's thesis
  18. Research and Implementation of Ethernet Link Failure Detection
    HanZuo ·WRI ·2012 ·Master's thesis
  19. Design and Realization of Convergent Multi-service Access System Based on EoPDH
    LiuKai ·WRI ·2012 ·Master's thesis
  20. Implementation of Precise Clock Synchronization Technology Based on Embedded Ethernet
    ZhouFeng ·Tianjin University ·2012 ·Master's thesis