ARM9-based All-purpose Controller Software Design
- Author
- LiBin
- Advisor
- WuAiGuo
- School
- Tianjin University
- Major
- Control Theory and Control Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 159
- Citations
- 2
Abstract
With the rapid development of control technology and computer science , industrial controls and industrial control software showing intelligence, information technology , versatility and openness trends . Traditional controller software or the existence of inflexible , long development cycle , the function of a single drawback , or high cost, difficult to spread ; currently popular ARM processor and controller PC development trend , this article proposed and designed a kinds configurable , multi- algorithm , network , high flexibility of the underlying controller software to adapt to different occasions and application . The software is based on the ARM9 processor and embedded Linux operating system , give full play to the function of the high performance of the former and the latter provides network communication , process scheduling . Orthogonal software architecture based on a vertical stratification and horizontal block of the controller software abstraction layer separation equipment , embedded operating system layer and the application layer, the number of modules with inheritance and reusability characteristics , as the subsequent development of the program and upgrade expansion . The software is flexible configuration and use the controller on the AD / DA analog channel , the I / O input and output points of hardware resources , and provides several common algorithms for people to choose and configuration parameters , based formula the I / O point configuration mechanism can also be through the running state of the underlying Modbus / TCP protocol is sent to the host computer in order to monitor the use of the controller 's versatility , information technology and ease of use . In order to achieve the controller software , I mainly do the following work : the layered structure of the controller software partitioning , the development of a controller device drivers under Linux requires modifying the Linux operating system , the development of the main the control procedures , as well as various functional modules , the configuration of a formula - based digital processing method , the algorithm joined interface and guidelines , and the driver and application correctness and usability testing .
Table of contents
Chinese Abstract 2-3
ABSTRACT 3-7
The first chapter 7-18
1.1 Classification and characteristics of industrial controllers 7-10
1.1.1 electronic circuit 7
1.1.2 Programmable Logic Controller (PLC) 7-8
1.1.3 DDC controller 8
1.1.4 general-purpose computers and industrial computer (PC-based) 8
1.1.5 dedicated control chip 8-9
1.1.6 programmable logic device 9
1.1.7 Embedded Processor 9-10
1.2 Embedded Systems 10-13
1.2.1 Definition and characteristics of embedded systems 10-11
1.2.2 Classification of embedded systems 11
1.2.3 ARM Profile 11-12
1.2.4 ARM-based embedded industrial controller features 12-13
1.3 Control Software 13-16
1.3.1 Configuration Software Overview 13-14
1.3.2 controller programming software overview 14-16
1.4 In this thesis, the main work and results 16-18
1.4.1 The main work of this thesis 16
1.4.2 The main research achievements 16-17
1.4.3 papers layout structure 17-18
Chapter II system resources and functional analysis 18-30
2.1 controller hardware platform 18-23
2.1.1 microprocessor AT91RM9200 18-19
2.1.2 AT91RM9200-based System Overview 19-20
2.1.3 analog expansion boards 20-22
2.1.4 Digital Expansion board 22-23
2.2 controller software platform 23-26
2.2.1 Embedded operating system 23-24
2.2.2 operating system migration 24-26
2.3 software development platform 26-29
2.3.1 compiler built environment 26-27
2.3.2 Makefile 27-28
2.3.3 software development and debugging 28-29
2.4 control software functional requirements analysis 29-30
CHAPTER software architecture and overall design 30-34
3.1 Software Architecture Overview 30-31
3.2 Stratification and chunking combining orthogonal software architecture 31-32
3.3 module data interface definition 32
3.4 main diagram design 32-34
Chapter IV device driver implementation 34-46
4.1 Linux driver basics 34-36
4.1.1 mechanisms and strategies 34
4.1.2 Linux driver classification and characteristics 34-35
4.1.3 modules and devices 35
4.1.4 Module Functions 35-36
4.1.5 Interrupt Handling 36
4.2 AD / DA driver 36-39
4.2.1 AD / DA driver realize 37
4.2.2 AD / DA driver's test 37-39
4.3 Digital I / O driver 39-41
4.3.1 Digital I / O driver realize 39-40
4.3.2 Digital I / O driver's test 40-41
4.4 timer interrupt 41
4.5 Connect the driver into the kernel 41-46
4.5.1 modify the kernel file 42-43
4.5.2 configure and compile the kernel 43-46
Chapter applications with configuration features to achieve 46-65
5.1 Digital relevant part 46-48
5.1.1 Digital input configuration information 46-47
5.1.2 Digital inputs and outputs 47
5.1.3 Digital port logic mapping 47-48
5.2 Analog relevant part 48-51
5.2.1 Analog input configuration information 48-49
5.2.2 Analog input and output 49-51
5.3 algorithm part 51-59
5.3.1 algorithm program framework and new algorithms join mechanism 51-54
5.3.2 PID algorithm 54-55
5.3.3 neural network algorithm 55-57
5.3.4 fuzzy algorithm 57-59
5.4 Communication Part 59-60
5.4.1 Modbus / TCP Profile 59
5.4.2 communication mechanisms and procedures have 59-60
5.5 program testing 60-65
5.5.1 analog part of the test 60-62
5.5.2 digital part of the test 62
5.5.3 Communication function test 62-65
Chapter Summary and Outlook 65-68
6.1 controller software performance 65-66
6.2 Summary 66
6.3 ideas and experience 66-67
6.4 Prospects 67-68
References 68-71
published papers and scientific information note 71-72
Thanks 72
Related dissertations
- Engine Room Monitoring System Based on the Embedded Web Server
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Embedded Industrial Control Module Based on iCAN Protocol
- Research and Design on Embedded Face Recognition Entrance Guard System
- Research of the Embedded Tumor Medical Image Analyzer
- Research on Image Processing System of Embedded Digital Inkjet Printer
- The Study and Design of Embedded Multifunction CNC Platform Based on ARM
- Plant3D Information Acquisition System Automatically
- Research and Implementation of Embedded Remote Monitoring System Based on ARM
- The Design of Multi-channel Data Acquisition System for Marine
- Distributed Optical Fiber Temperature Measurement System Based on ARM
- Research and Design of the Embedded Network Control System Based on ARM&Linux
- Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
- Design of Embedded Remote Monitoring System for Intelligent Home
- Research and Implementation of Embedded System in Intelligent Household
- Design and Implementation of an Embedded Video Conferencing Systems Based on Android
- Research on the Economic Capital Management of A Commercial Bank
- The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
- Effects of the Multi-National Corporation to China embedded industrial agglomeration