Constitution of Application System Using to Carry-on Fault-diagnosis Based on Embedded Linux Operating System
- Author
- LiuGuoBao
- Advisor
- WangQiXin , TangDeYao
- School
- Xiangtan University
- Major
- Mechanical and Electronic Engineering
- Classification
- TH165.3 Fault diagnosis and maintenance
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 146
- Citations
- 0
Abstract
Along with the quick development of computer technology and net technology, embedded systems are comprehensively applied in the fields of automatic control, industrial production, and military technology and consumer electronic products. The embedded system itself also develops very fast—it has changed from original systems controlled directly through assemble language to current systems connected with the Internet.The industrial control computer PC104 of some locomotive carry-on fault-diagnosisis equipment is used as the experimental platform to constitute embedded Linux application system based on X86 hardware platform. A new method, i.e. layer-dividing ways based on component, is introduced.The main work of the paper is as follows:This thesis researches the fundamentals of Linux Operating System. First, the components of DiskOnChip2000 and its driving mechanism on Linux platform are analyzed. Then, the embedded Linux system is constituted in it and it was made to a device that has the booting ability.This thesis deeply analyzes terminal device driving mechanism on Linux platform and then elicits serial driving process and its driving mechanism.Under the guidance idea of constituting embedded system base on components, the thesis encapsulates application interface functions which takes 232 and 485 modes into consideration based the kernel interfaces. Thus the embedded application programs faced to specific application would become simpler and has a better transplantation.As far as the key A/D data acquiring card is concerned, a comparatively common A/D data acquiring model is constituted according to the guidance idea. The thesis puts forward two schemes concerning A/D data models. Each one is executed on the hardware platform. The experimental waveforms caused by different input signals are compared. The problems appeared in the experiment are carefully researched and the causes to these problems are found. Finally, an A/D data acquiring model that is adaptive to the hardware device is adopted.Graphical user interface is an important constitution component of an embedded system. And the customizing methods are different from system to system. Through comparing several common embedded GUI systems, the MiniGUI is selected as the graphical application development platform and the GUI system based on MiniGUI is developed in the hardware platform.
Table of contents
Abstract 5-6
Abstract 6-10
first chapter 10-18
1.1 Overview of embedded systems 10 -11
1.2 embedded operating system features 11-12
1.3 Linux as an embedded operating system superiority 12-13
1.4 nbsp guiding ideology thesis ; 13-16
1.5 thesis is organized 16-18
Chapter DOC2000 Linux device driver and system migration 18-32
2.1 Introduction 18
2.2 DOC2000 features and schema 18-21
2.2.1 DOC2000 system architecture 19-20
2.2.2 TrueFFS technology 20-21
2.3 Linux system structure and MTD technology 21-23
2.3.1 Linux system architecture 21-22
2.3.2 Linux kernel directory 22
2.3.3 MTD technical presentations 22-23
2.4 Linux boot process description 23-25 ??
2.5 kernels cut and compile 25-31
2.5.1 patch to the Linux kernel source code 25
2.5.2 kernel configuration 25-27
2.5.3 kernel compile 27
2.5.4 production DOC2000 storage devices 27-28
2.5.5 production DOC2000 bootable device 28-31
2.6 startup script can be customized 31-32
chapter serial device driver under Linux API implementation process and 32-45
3.1 Introduction 32
3.2 Overview of character device driver 32-33
3.3 About tty management and related data structures 33-39
3.3.1 tty management 33-34
3.3.2 related data structures 34-39
3.4 serial device driver 39-43
3.4.1 open process 39-40
3.4. 2 writing process 40
3.4.3 Readings 40-42
3.4.4 interrupt process 42-43
3.5 API package 43
3.6 16C554 four serial card driver implementation 43-45
Chapter AD data acquisition model and driver development 45-57
4.1 Introduction 45
4.2 AD acquisition card basic features 45-46
4.3 application model proposed 46-47
4.4 AD data acquisition card model building program proposed 47-49
4.4.1 circular buffer mode based on the construction of 48-49
4.4.2 data samples based model Construction 49
4.5 device driver layer to achieve ( a ) 49-54
4.5.1 kernel data structures 49-50
4.5.2 device driver layer implementation process function call relationship 50-52
4.5.3 experimental data analysis 52-54
4.6 device driver layer implementation ( two ) 54-56 < br /> 4.6.1 device driver layer to achieve two of the proposed 54-55
4.6.2 device driver layer to achieve two data analysis 55-56
4.7 application program interface implementation 56
4.8 Conclusion 56-57
Chapter MiniGUI-based graphical user interface system development 57-72
5.1 the embedded Linux GUI overview 57
5.2 GUI for embedded systems currently implemented 57-58
5.3 MiniGUI features and Architecture 58-62
5.3.1 MiniGUI 's features 59
5.3.2 MiniGUI technical advantages 59-61
5.3.3 architecture 61-62
5.4 MiniGUI configuration and installation 62-63
5.5 device MiniGUI runtime environment 63-64
5.6 embedded device keyboard driver development 64-72
5.6.1 underlying driver implementation 64-66
5.6.2 IAL input engine 66-69
5.6.3 MiniGUI mechanisms underlying message 69-72
Conclusion and Outlook 72-73
References 73-75
Thanks 75-76
Appendix : Authors of papers published during the master's degree 76
Related dissertations
- The Research on the Data Acqusistion and Monitoring System of the Gamma Camera Based on ARM
- Design and implementation of embedded Linux audio player
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design and Implementation of Wireless Smart Home Gateway Base on ARM9
- Research and Implementation of Intelligent Regulator Based on ARM
- Research and Implementation of Multiple Payment Methods on Purchasing Website
- Research of Detection and Tracking on the Chinese Micro-blog Topic and System Design
- Design and Implementation of the Motion Control System Based on USB Interface
- API Design and Implementation of Message Service Component
- The Design of Video Surveillance Terminal Hardware System for Vehicle
- Safe and Reliable Software Upgrade Design for HD Cable Set-Top Box
- Study on LAN Phone Terminal
- Study on Bearing Capacity and Dynamic Disaster of Hexagonal Spudcan Foundation
- The Design and Implementation of Intelligent Bus Information Transmission Terminal Based on3G Technology
- The Design of Loader Detecting System Based on Embedded Technology
- Functional data analysis and control of air pollution in Beijing
- The Design and Implementation of a Graphic Display System in Fire Control Center Based on ARM
- Marketing Strategy Analysis for Glimepiride API of Company S
- Research and Implementation of the Embedded Wireless Video Surveillance System Based on ARM11