Design of Customized Controller Platform
- Author
- ZhangZuoYan
- Advisor
- WuAiGuo
- School
- Tianjin University
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 94
- Citations
- 4
- embedded system
- Real-time Operation System
- ARM
- AT91RM9200
- Linux
- Xenomai
- Industrial controller
- development platform
Abstract
In the industrial control field, customize controller has good value and marketprospects [1]. To develop the tailor-made controller for the industrial customers, aplatform with high performance, hardware adaptability and software compatibility isneeded. In this project, a customize controller development platform has been madedsuccessfully, including the mechanical structure, hardware design, operating systemsporting, performance testing, devices driver templates design, control software designand genetic algorithm implementation, supplying a powerful architecture for theresearch and develop of specified industrial controller series.To ensure the openness, adaptability and real-time performance, the controllerplatform chooses ARM9 processor and adopts hybrid operationg system as Linuxcombined with Xenomai.Hardware system is modular in design and convenient for expansion and maintenance.Now the design and testing of basic modules has finished, including the mainprocessor board, backplane, analog input and output board as well as CAN businterface board.The hybrid operating system consists of Linux and Xenomai. Xenomai is apreemptive real-time nanokernel built under the bottom of Linux kernel. Taking overall interrupt sources, Xenomai has increase the real-time performance of Linux. Forinstance, the average delay of processes switching was 18 microseconds whenAT91RM9200 running at 180Mhz. Xenomai also provides APIs for a wide range ofmainstream real-time operating system, including VxWorks, pSOS +, VRTX anduITRON. Application procedures based on such thease RTOS formerly can be portedto the controller platform seamlessly.As Xenomai is implemented below Linux, it is good at hardware accessing.Combining the original Linux driver and the mapping mechanism of Xenomai, aninnovative method of hardware register direct accessing was created. This methodhighly improved the ability of application procedures to control the hardware. Relying on the powerful ARM9 processor computing feature and the support ofexisting library for complex computing, the genetic algorithm was implemented onthe controller platform and successfully applied to PID parameter setting. It had beenproved that the dual–core operating system can handle the real-time control task andcomplex algorithm computing simultaneously.
Table of contents
Abstract 3-4
ABSTRACT 4-8
first chapter 8-15
1.1 industrial control system status 8-12
1.1.1 Distributed Control System DCS
1.1.2 Programmable Logic Controller PLC 8-9
1.1.3 PC-based soft-logic controller 9-10
1.1.4 remote control and data acquisition system, the SCADA 10-11
1.1.5 fieldbus control system of the FCS 11
1.1.6 dedicated controller 11-12
1.1.7 Domestic PLC development opportunities 12
1.2 dedicated controller technical characteristics 12-13
1.3 this project completed work 13-15
second chapter dedicated controller architecture 15-27
2.1 architecture 15-16
2.2 operating system 16-17
2.3 hardware design 17-25
2.3.1 select the host processor 17-18
2.3.2 Memory configuration 18-19
2.3.3 Ethernet Interface Design 19-20
2.3.4 Expansion Bus design 20-22
2.3.5 the main processor board, power supply 22-23
2.3.6 extend the board's power supply 23
2.3.7 Analog input and output expansion card design 23-24
2.3.8 CAN-bus expansion card design 24-25
2.4 PCB signal integrity design 25-27
control program operating environment to establish 27-38
Development Environment 3.1 host 27-30
3.1.1 modify the software source 27-28
3.1.2 minicom installation configuration 28
3.1.3 NFS service, installation and configuration 28-29
3.1.4 cross compiler chain installation 29
3.1.5 C compiler tool chain and the ncurses library installation 29-30
3.2 target runtime environment to establish 30-33
3.2.1 U-boot access and modify 30-31
3.2.2 kernel configuration 31-33
3.2.3 compile the Xenomai real-time library files 33
3.3 Xenomai performance testing 33-38
Chapter the Xenomai of driver template 38-45
4.1 Xenomai architecture 38-39
4.2 device registration 39-40
4.3 real-time kernel abstraction layer 40-42
4.4 device files 42
4.5 SPI bus driver 42-45
Chapter
control software design 45-55
5.1 typical Linux-driven way of working 45-46
5.2 Xenomai with the traditional Linux drivers collaborative 46-47
5.3 register direct access 47
5.4 Application the Xenomai of synchronization mechanism 47-49
5.5-tuning PID parameters based on genetic algorithm 49-55
5.5.1 Genetic algorithm in the ARM processor to achieve 49-51
5.5.2 Genetic Algorithm control effectiveness analysis 51-55
Chapter VI Summary and Outlook 55-56
References 56-59
research note 59-60
Acknowledgements 60
Related dissertations
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- AGV car design and development of image recognition and motion control technology based on
- Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
- Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
- Design and Implementation of the Client of Remote Vechicle Surveillance System Based on ARM Linux
- Bicycle Anti—Theft Surveillance and Wireless Transmission System Research
- Research on the Digital Vibration Sensation Threshold Detection System
- Design of Control System in Ground Source Heat Pump Central Air-Conditioner and the Application in Smart Home
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- Design of Industrial Ethernet Motion Controller Based on ARM
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve