The Design of Modularized Control System Based on Embedded Technology

Author
NingZhiMing
Advisor
ZhaoYongSheng
School
Dalian Maritime University
Major
Detection Technology and Automation
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2009
Downloads
96
Citations
3

Request the full text

Abstract

Data acquisition and control is an important branch of information science field. develop as yet has become a specialized technology,widely used in the industrial field. The emergence and development of fieldbus enhanced communication capability of data acquisition and control system,making relation among equipment more and more closer.Ethernet,which based on TCP/IP protocol,with long distance transmission power and convenient features,has develop to the data acquisition and control filed. Control equipment join up ethernet,becoming a trend,can greatly enhance its geographical distribution ability.Traditional acquisition and control system usually designed for particular scene of control,with low adaptability.When new control demand comes up,the system need to re-design,wasting time and labor.In response to this demand,PLC,DCS and other control equipments come up,they are modular design,powerful,flexible and stable, and can meet the control demand very well.However,these equipments are often designed by foreign manufacturers,technological security at the same time.These products occupy a high rate of domestic industrial control market,which is unacceptable for us.In recent years,embedded systems technology and high performance ARM micro-processor are developing very fast,these provides a material base for us to design a powerful and flexible control system.The main task of this paper is committed to design a modular control system based on embedded technology.The system structure is master-slave style.Acquisition and control modules use AT89S52 as core,main controller uses S3C2410 as core.The control modules in charge of collecting the underlying data and outputing control result,the main controller responsible for data processing and computing,with many function modules inside.Users can achieve control capability by write configuration file call these modules,flexible and at liberty.The system,which we designed,use CAN bus and ethemet as internal and external commtmieation mode.Acquisition control modules and main controller communicate by CAN bus.At the same time,the main controller has network interface,users can remotely download or modify the configuration file, meet their control demand.In this paper,we give a brief introduction to the relative technology first,followed by the overall design of the system hardware and software solutions and selection,and then introduced hardware design of control modules and main controller.And then we give an explicit statement about the software design,including control modules and main controller.Finally we summarized the overall design course and illuminate the problem we meet in design process.

Table of contents

Abstract 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-15 1.1 subject background and significance 11-12 1.2 subject research tasks 12-13 1.3 main topic and thesis structure arrangements 13-15 Chapter 2 technical background 15-27 2.1 embedded systems 15-18 2.1.1 embedded system structure 15-16 2.1.2 Embedded Processor Introduction 16-17 2.1.3 ARM architecture Introduction 17-18 2.2 CAN bus 18-21 2.2.1 CAN Bus Overview 18-19 2.2.2 CAN bus communication reference model 19-20 2.2.3 CAN bus frame format 20-21 2.3 Ethernet technology 21-23 2.3.1 Ethernet Summary 21 2.3.2 TCP / IP protocol 21-23 2.4 embedded operating system 23-25 2.4.1 embedded operating system is characterized by 23-24 2.4.2 embedded operating system 24-25 250 domestic and international control systems Overview 25-27 2.5.1 Distributed Control System 25 2.5.2 Programmable logic controller 25-26 2.5.3 distributed IO system 26-27 Chapter 3 system design 27-37 3.1 system, the overall structural design 27-28 3.2 system hardware solutions Overview 28-32 3.2.1 embedded host controller hardware solutions 28-30 3.2.2 acquisition and control module hardware solutions 30-32 3.3 system software solutions Overview 32-37 3.3.1 embedded host controller software program 32-36 3.3.2 Acquisition and Control Module software solutions 36-37 Chapter 4 hardware circuit design 37-49 4.1 acquisition and control module hardware circuit design 37-44 4.1.1 processor circuit design 37-38 4.1.2 Digital Input circuit design 38-39 4.1.3 digital output circuit design 39-40 4.1.4 Analog input circuit design 40-41 4.1.5 Analog output circuit design 41-42 4.1.6 CAN communication interface circuit design 42-44 4.2 embedded host controller hardware circuit design 44-49 4.2.1 core board Overview 44-45 4.2.2 Power circuit design 45 4.2.3 serial circuit design 45-46 4.2.4 the CAN interface circuit design 46-47 4.2.5 network interface circuit design 47-49 Chapter 5 acquisition control module software design 49-65 5.1 SmallRTOS51 operating system configuration 49-53 5.2 digital input / output software design 53-54 5.3 analog input / output software design 54-57 5.4 CAN communication protocol design 57-60 5.5 CAN communication module software design 60-65 Chapter 6 embedded host controller software design 65-94 6.1 embedded development environment to build 65-67 6.1.1 host cross-development environment to establish 65-67 6.1.2 configuration and porting the Linux kernel 67 6.2 CAN driver 67-71 6.3 Software Design and Implementation 71-82 6.3.1 module package and run 71-74 6.3.2 hardware configuration and Implementation 74-75 6.3.3 data access interface implementation 75-78 6.3.4 logic module design 78-81 6.3.5 features modular design 81-82 6.4 master control program design 82-88 6.4.1 master control program initialization 82-84 6.4.2 input sampling program implementation 84-85 6.4.3 configuration sequence of program execution to achieve 85-87 6.4.4 to control the output program 87-88 6.5 network communications programming 88-94 conclusions 94-96 References 96-98 Acknowledgements 98

Related dissertations

  1. Design and Application of the Distributed Monitoring System Based on Embedded Web
  2. Embedded Software Design of AC Field Detection Instrument Based on ARM
  3. Design of Industrial Ethernet Motion Controller Based on ARM
  4. Movement Gait Control Research of Six Feet Bionic Robot
    XuShuai ·Ningxia University ·2013 ·Master's thesis
  5. Research on Embedded Control System for Palletizing Robot
    YangYang ·Nanjing Forestry University ·2013 ·Master's thesis
  6. Implementation of Precise Clock Synchronization Technology Based on Embedded Ethernet
    ZhouFeng ·Tianjin University ·2012 ·Master's thesis
  7. The design and application of the system master control EtherCAT based on Industrial Ethernet
  8. Research and Design on Embedded Face Recognition Entrance Guard System
    LiuXinPeng ·Hebei University of Engineering ·2013 ·Master's thesis
  9. The Design and Implementation of Embedded High Definition Video Monitoring System
  10. Embedded TCP streaming media playing system based on
  11. Research on Embedded Network Video Monitoring System Based on the ARM
  12. Design and Realization of Multi-bus Gateway for Integrated Bridge System
    RenKangJian ·Harbin Engineering University ·2013 ·Master's thesis
  13. Design and Research of Cabin Monitoring System Based on CAN Bus
    HuangChengWei ·Wuhan University of Technology ·2013 ·Master's thesis
  14. Speech-recognition-based Automotive Air Conditioning Control System
    ShaoXueBin ·Tianjin University ·2012 ·Master's thesis
  15. The Design and Analysis of Electrical Control System for the Big and Mobile Tower Crane Based on Can Bus
    ZhaoZuo ·Yanshan University ·2012 ·Master's thesis
  16. The Study of Intelligent Traffic Signal Based on Fuzzy Neural Network
    ZhouXianWen ·West China University ·2012 ·Master's thesis
  17. System of Video Surveillance on Slip-form Paver
    WangJiangTao ·Chang'an University ·2013 ·Master's thesis
  18. Design of Mine Underground Personnel Positioning System Based on CAN Bus
  19. Design of the ECG Telemobitoring Terminal Based on Embedded Linux and GPRS
    LiGuan ·Tianjin Medical University ·2009 ·Master's thesis
  20. Design and Research on Chinese Medicine Coating’s Monitoring System Based on ARM-LINUX
    LouZuo ·Nanchang University of Aeronautics and ·2011 ·Master's thesis