Development of ARM9 Controller Configurable Software Based on Web
- Author
- HanFei
- Advisor
- WuAiGuo
- School
- Tianjin University
- Major
- Control Theory and Control Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 50
- Citations
- 0
Abstract
With the development of computer and control technology, controller based on embedded technology has wide market prospects due to the high performance-price ratio and strong applicability. The application of embedded controller needs support of good process control software. Traditional embedded controller development software has its certain shortage such as long developing circle, unitarity of control algorithm and high cost. Combining the development trend of embedded system with that of configurable software, on ARM controller this paper designs modularized, configurable, multi-algorithm and low cost development software based on network, which can be applied to different industry situation. First, background and present situation of industry control system is outlined, features, categories and development trends of embedded control system are concluded, and then concept of configurable software is introduced.According to the hardware resources now available, this dissertation utilizes memory technology device tool to realize managing partitions of flash memory space online, which makes configuration information and data can be stored immediately; comparing the filesystems prevalent nowadays, double filesystem which combined ext2 root filesystem based on ramdisk with jffs2 filesystem is adopted. According to the contrast analysis of remote control network structures, the Brower/Server module is used to construct the three layers of the ARM control system, including MMI layer, layer dealing with configuration information and layer realizing control algorithms; the development environment of control system is built, including establishing cross-compiling environment, choosing and transplanting the boa web server and sqlite database to the target board, making the root file system and making kernel image with both linux kernel and Xenomai micro-kernel; double driver is realized by taking advantage of both realizing SPI device driver in kernel space and realizing AD/DA device driver in user space, also the critical resource of the device is protected by synchronization primitive.At last, applying the multi-tasking mechanism of xenomai, this dissertation develops modularized all-purpose control software including the PID control algorithm, fuzzy control algorithm and neural PID control algorithm, based on web browser realizes the whole design of configuration software of the control system.This software meets the requirements which can control four different loops, and for each loop customers can configure control algorithm, parameter, scan period and so on. The experimental results show this software has a very friendly HMI and it can control the four loops strictly according to the need of customer.
Table of contents
Abstract 3-4
ABSTRACT 4-9
first chapter 9-16
1.1 industrial control system status 9-11
1.1.1 programmable controller PLC 9-10
1.1.2 PC-based soft-logic controller 10
1.1.3 Distributed Control System DCS 10-11
1.1.4 fieldbus control system of the FCS 11
1.1.5 embedded control systems 11
1.2 embedded systems 11-14
1.2.1 embedded systems development 11-12
1.2.2 embedded systems. 12-13
1.2.3 Web-based control system 13-14
1.3 configuration software of control procedures 14-15
1.3.1 configuration software concept 14
1.3.2 configuration software development trends 14-15
1.4 of this research project the main content and contribution 15-16
Chapter II system resource analysis and development environment to establish 16-26
2.1 controller hardware platform 16-18
2.1.1 microprocessor AT91RM9200 16-17
2.1.2 outlined the AT91RM9200-based system 17-18
2.2 embedded operating system 18-19
2.3 Embedded Development Environment 19-23
2.3.1 cross-compile environment to build 20
2.3.2 HyperTerminal, Minicom configuration and use 20-21
2.3.3 NFS file system 21
2.3.4 tftp service configuration 21-23
2.4 Common Gateway Interface technology 23-24
2.4.1 CGI work principle 23
2.4.2 CGI delivery method 23-24
2.5 HTML language and the introduction of the CGIC library 24-26
2.5.1 HTML page Introduction 24-25
2.5.2 CGIC library transplantation 25-26
the third chapter of embedded remote control system platform to build 26-43
3.1 Remote Control Mode Selection 26-28
3.1.1 host centralized mode 26
3.1.2 client - server C / S mode 26-27
3.1.3 browser - server B / S mode 27-28
3.2 boa server transplantation 28-30
3.2.1 web server to select 28-29
3.2.2 boa server transplantation 29-30
3.3 embedded database transplantation 30-33
3.3.1 embedded database choice 30-31
3.3.2 the sqlite transplantation 31-33
3.4 file system deployment 33-40
3.4.1 storage devices and mtd 33
3.4.2 file system type and contrast 33-34
3.4.3 dual file system design 34-38
3.4.4 file system modifications 38-40
3.4 kernel transplantation 40-43
3.4.1 kernel configuration 40-42
3.4.2 Xenomai real-time library files compiled 42-43
the fourth chapter of the system software architecture, design and driver to achieve 43-52
4.1 control system for the overall design 43-44
4.2 driver About 44-46
4.2.1 device type 44-45
4.2.2 driver modular 45
4.2.3 users to access the form of equipment 45-46
4.3 SPI device driver implementation 46-50
4.3.1 kernel and user space and the realization of dual drive 46-47
4.3.2 SPI device kernel driver implementation 47-48
driver in the 4.3.3 application 48-50
4.4 Concurrency and race handling 50-52
configuration features of the application implementation 52-74
5.1 configuration software, achieving an overall 52-59
5.1.1 interactive interface produced 52-54
5.1.2 main design 54-56
5.1.3 single-threaded scanning cycle test 56-58
5.1.4 algorithm thread 58-59
5.2 control algorithm to achieve 59-74
5.2.1 PID algorithm 59-61
5.2.2 fuzzy control algorithm to achieve 61-65
5.2.3 Neural Network pid algorithm 65-69
5.2.4 Experimental results 69-74
Chapter VI Summary and Outlook 74-76
References 76-79
to participate in the research note 79-80
Acknowledgements 80
Related dissertations
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Study on Embedded Data Acquisition System Application
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- AGV car design and development of image recognition and motion control technology based on
- Research and Design on Embedded Face Recognition Entrance Guard System
- The Operating System Transplant Based on the Xenomai and its Applications in the Soft PLC
- Design of Electroacoustic Air Defense Alarm Controller Based on ARM9
- The Designand Realization of Embedded USB Mass Storage System
- Design and Realization of intelligent mobile video surveillance system based on embedded and OpenCV
- Video Based on S3C6410Processing Terminal Design
- Ad Hoc Network Protocol Design by nRF24l01under the ARM-linux Environment
- Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
- The Research on the Terminal Equipment in Power Quality Online Monitoring System
- The design of intelligent Home Furnishing monitoring system based on ARM
- Design of On-line Monitoring System for Circuit Breaker in Metro Based on Embedded System Traction Substation
- Research and Design of New Portable Family ECG Monitorring System
- The Crane Remote Monitoring System Based on Embedded Linux Research