Development of Embedded Controller and Its Application in Process Experimental Unit

Author
HuangZuo
Advisor
TianXueMin , WangYuHong
School
China University of Petroleum
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
64
Citations
0

Request the full text

Abstract

With the development of technology, the embedded system has been widely used in the field of industry control for the characteristics of high speed, large capacity and strong timeliness. As the embedded system has superior portability and the ability of internet communication and human-computer interaction, it is well expandable and can be conveniently embedded into other systems. Thus the embedded system may be possible to replace the control method based on micro-controllers and obtain great development. Therefore, in view of the structure system and function requirements of the process experiment equipment A3000, the subject studies and develops a kind of embedded controller suitable for industry process control based on C8051F023 and the embedded operating system Small RTOS51, and the subject also defines each function of the controller and designs the relevant monitoring and control software of the upper computer. The main work of the paper is the hardware circuit design of the embedded controller, the system software design and the control algorithm composition, the communication between the upper computer and the embedded controller, after practices , the monitoring and control to A3000 is realized based on the above finally. The following are the major work in this thesis:This paper confirms the general scheme of the control system and the principle of hardware design, develops main control module, power supply module, signal sampling module, analog output module, man-machine interaction module and communication module according to the functions of embedded controller, and the composition of each circuit module above is analyzed and discussed in detail.In this paper Small RTOS51 is adopted as software development platform after analysis and comparison of some kinds of RTOS, the processes of transplantation, configuration and clipping methods on C8051F023 are given in detail, and the superiority of RTOS is analyzed. This paper given task partition method reasonably based on system requirements。The system task is divided into TaskSample, TaskControl, TaskCom, TaskKey and TaskLcdDisplay respectively. Each task application program, driver program and the communication software of upper-computer are analysised and designed in detail. And this paper also develops relavant program codes to improve the system performance from software anti-interference measures. This paper realizes monitoring and control functions to the experimental unit by software of upper computer, including parameter display, dynamic curve drawing and sound and light alarm when parameters overrun. The embedded controller developed in this paper is applied to the process control experiment equipment A3000, and the control scheme is verified by the PID experiment.The application of this embedded controller on A3000 process control experimental device demonstrated the feasibility of the control scheme by the experiment of PID control.This paper ports embedded RTOS to small RAM processor, develops embedded controller, improves processor utilization efficiency by software methods, shorten software development period, and strenghens the stability, reliability and maintainability of control system. The development of the embedded controller has great reference value and significance to the improvement of control mode based on microcontroller.

Table of contents

Abstract 4-5 Abstract 5-10 Chapter 1 Introduction 10-16 1.1 project background and significance 10-11 1.2 Research and Application of domestic and international issues 11-15 1.2.1 Development of industrial process control 11-12 1.2.2 Development of Industrial Control Technology, the new demands 12-13 1.2.3 development of embedded technology 13-14 1.2.4 Embedded technology trends 14 1.2.5 Embedded Internet in industrial control specific applications 14-15 1.3 Content and structure of the paper topics arrangements 15-16 Chapter 2 monitoring system based on embedded devices functional design 16-22 2.1 Control Objects Introduction 16-18 2.2 monitoring system based on embedded device structure 18 2.3 lower machine main function 18-20 2.3.1 Loop Control 19 2.3.2 Communication Function 19-20 2.3.3 screen display and key operating functions 20 2.4 PC main function 20-21 2.5 Chapter Summary 21-22 Chapter 3 embedded controller hardware design and development 22-31 3.1 System Description 22 3.2 microcontroller selection and presentation 22-23 3.3 system hardware design and development 23-30 3.3.1 master module 23-24 3.3.2 Power Module 24-25 3.3.3 signal acquisition module 25-26 3.3.4 Analog Output Module 26-27 3.3.5 HCI module 27-29 3.3.6 Communication Module 29-30 3.4 Summary 30-31 Chapter 4 embedded operating system and system software development 31-51 4.1 embedded real-time operating system 31-35 4.1.1 RTOS advantage 31-32 4.1.2 embedded real-time operating system of choice 32 4.1.3 Small RTOS51 Overview 32-35 4.2 Small RTOS51 on C8051F023 MCU Porting 35-38 4.2.1 Small RTOS51 transplantation on the processor's basic requirements 35-36 4.2.2 Small RTOS51 transplant 36-38 4.2.3 operating system, cutting 38 4.3 embedded controller task division and create 38-41 4.3.1 task partitioning 39-41 4.3.2 task creation 41 4.4 embedded controller tasks module development 41-47 4.4.1 Data acquisition task 41-43 4.4.2 control tasks 43-44 4.4.3 communication tasks 44-46 4.4.4 Key tasks 46-47 4.4.5 LCD display tasks 47 4.5 LCD driver functions are implemented 47-49 4.6 software anti-jamming design 49-50 4.6.1 analog input and output of anti-jamming measures 49-50 4.6.2 software during program execution interference measures 50 4.7 Chapter Summary 50-51 Chapter 5 PC software development 51-61 5.1 user interface and software features 51-54 5.2 Communication Program Design 54-55 5.3 real-time dynamic curve drawing 55-60 5.3.1 Coordinate setting 56-57 5.3.2 curve dynamic display 57-60 5.3.3 software simulation test 60 5.4 Summary 60-61 Chapter 6 Control algorithm design 61-71 6.1 PID control of the basic principles of 61-62 6.2 digital PID controller design 62-64 6.3 PID control parameters tuning 64-66 6.4 PID control and experimental curve analysis 66-70 6.5 Chapter Summary 70-71 Summary 71-72 References 72-76 Appendix 76-81 A.1 control board circuit diagram 76-77 A.2 signal circuit board schematics 77-78 A.3 power supply circuit board schematics 78-79 A.4 experimental circuit and A3000 devices kind 79-81 master's academic achievements during 81-82 Thanks 82

Related dissertations

  1. Effects of the Multi-National Corporation to China embedded industrial agglomeration
    ZhengLiFang ·Capital University of Economics ·2014 ·Master's thesis
  2. The Remote Wireless Control System Based on ARM Processor
    WangHui ·Nanchang University ·2014 ·Master's thesis
  3. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  4. Engine Room Monitoring System Based on the Embedded Web Server
  5. Rearch on Intelligent Monitoring Technology That Access to Internet
  6. Design of Indoor Environmental Quality Monitoring System Based on ARM
  7. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
  9. 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
  10. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
  11. Embedded Software Design of AC Field Detection Instrument Based on ARM
  12. Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
    WangZuo ·Harbin Engineering University ·2013 ·Master's thesis
  13. Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
    GuoJia ·Henan Agricultural University ·2013 ·Master's thesis
  14. Design and Implementation of Video Capture System Based on Embedded Technology
    RanYuFeng ·Shandong University ·2013 ·Master's thesis
  15. Research of Surface Roughness Network Data Collector System Based on ARM
  16. The Design and Implementation of Gateway and Client of Embedded Smart Home System
  17. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  18. A Design of Embedded Motion Controller for4-axis Industrial Robot
    LiuZhiWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Study on Function Modules of the Mobile Robots in Sudden Accident
    ZhangChen ·Hebei University of Technology ·2013 ·Master's thesis
  20. Research on Embedded Control System for Palletizing Robot
    YangYang ·Nanjing Forestry University ·2013 ·Master's thesis