Design of Embedded Industry Controller Based on ARM
- Author
- WeiJunFeng
- Advisor
- GaoAnBang
- School
- Harbin University of Science and Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TM571 Controller
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 259
- Citations
- 3
Abstract
Recently, the PC as well as its micro-controller equipment has been fully developed. For the rich software resource, embedded system has been a hot sport of research and application. Embedded system is the speciality computer system, which the bottom hardware, the RTOS and the application software are united. It has been used in the fields of control, consumer electronic product and etc. it has been one of the most important research aspect of the electron field.The general platform of the embedded controller based on ARM andμC/OS-II real-time embedded operating system is conceived and exploited based on analyzing the actual need and the current developing trends of controller in this paper. The hardware flat of the embedded general controller, which is centered on the PHILIPS co. LPC2880 is designed after analyze the ARM7 frame and the ARM7TDMI kernel. The following application modules are finished according to the actual application requirements of the embedded general controller. They are including analog to the hutone model, external extended memory block, LCD display, the keyboard block and etc. Furthermore the interface function of the various modules has been finished, the application function libraries are established. It offers convenience to the following codes application and the code transplant. The step-motor driver based on L297/L298 chips and the servo-motor driver based on LMD18200 chips are developed after the author’s careful researches on the moter driving control theory. In order to accomplish the communication between controller and PC machine, we decide to chooses USB2.0 communication interface as the main communication method. Analyzing the characteristics of universal serial bus software and hardware, the author presents the connecting principle graph of the main controller and the system software framework of the main controller according to the chip characteristics of LPC2880 and realizes the embedded USB master mode communication method.Embedded RTOS is the supporting platform of the embedded system application software development. After compared some present real-time embedded operate system,μC/OS-II is adopted as the RTOS. We analyzes the working theory ofμC/OS-II kernel, and improves the defects of break and clock processing in this paper. Then, theμC/OS-II system is transplanted into ARM microprocessor successfully. At the same time, we accomplishes the analogue debugging function, the test of the transplanted system by ADS Development Tools. The embedded general controller platform designed in this dissertation accomplishes the expected target.
Table of contents
Abstract 5-6
Abstract 6-12
Chapter 1 Introduction 12-19
1.1 embedded systems Introduction 12-13
1.1.1 embedded systems defined 12
1.1.2 embedded system characteristics 12-13
1.2 embedded system status and development trend 13-14
1.3 Motion Controller Development Status 14-16
1.3.1 computer-based standard bus motion controller 15
1.3.2 the Soft-type motion controller 15
1.3.3 embedded structure motion controller 15-16
1.4 research background and significance of 16-17
1.5 subject source 17
The main tasks and objectives of the
1.6 topics 17-19
Chapter 2 system hardware circuit design and development 19-41
2.1 overall hardware design 19-20
2.2 the ARM family of embedded microprocessor 20-23
2.2.1 ARM architecture 20-21
2.2.2 ARM processor mode 21-22
2.2.3 ARM abort 22-23
2.3 LPC2880 microprocessor About 23-25
2.4 System hardware module design 25-35
2.4.1 power circuit 25-26
2.4.2 reset circuit, the circuit design of the system clock 26-27
2.4.3 JTAG interface circuit 27-28
2.4.4 keyboard circuit 28-29
2.4.5 LCD interface circuit 29-31
2.4.6 USB interface circuit 31-32
2.4.7 Memory expansion circuit 32-34
2.4.8 Control circuit board anti-jamming measures 34-35
2.5 motor drive circuit design 35-39
2.5.1 servo motor drive design 35-37
2.5.2 stepper motor driver 37-39
2.6 stepper motor drive test 39-40
2.7 Summary 40-41
Chapter 3 μC / OS-II analysis and improvement of 41-55
3.1 of μC / OS-II real-time operating system Introduction 41-44
3.1.1 μC / OS-II real-time operating system features 41-43
3.1.2 μC / OS-II of the works 43
3.1.3 use the μC / OS-II should be noted that 43-44
3.2 μC / OS-II kernel analysis 44-51
3.2.1 μC / OS-II of the Task Manager 45
3.2.2 Task Status 45-47
3.2.3 task scheduling 47-49
3.2.4 interrupt handling 49-50
3.2.5 task communication and synchronization 50-51
3.3 μC / OS-II of the improvements 51-54
3.3.1 μC / OS-II interrupt improve 51-53
3.3.2 system clock interrupt improvements 53-54
3.4 Summary 54-55
Chapter 4 μC / OS-II operating system transplant 55-67
4.1 transplant μC / OS-II to meet the conditions 55
4.2 μC / OS-II on the LPC2880 transplant 55-63
4.2.1 OS_CPU. H 56-59
4.2.2 OS_CPU_C. C 59
4.2.3 OS_CPU_A is the ASM files 59-63.
4.3 portable code, test 63-66
4.4 Summary 66-67
Chapter 5 Creating library functions and applications to write 67-75
5.1 LCD program is designed 67-68
5.2 keyboard keys programming 68
5.3 USB interface program 68-74
5.4 Summary 74-75
conclusions 75-76
References 76-80
pursue a degree during the academic 80-81
Acknowledgements 81
Related dissertations
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- The Designand Realization of Embedded USB Mass Storage System
- Design and Implementation of Industrial Gateway Device Based on ARM
- Research and Design of Truck-Mounted Weighing System
- Refueling machine control device based on IFSF protocol
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- CANopen gate winding hoist machine experiment platform based on design and research
- The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
- Design and Implementation of Security Defense System Based on the Hyperchaotic
- The Design and Implement of the File System of Embedded CNC System Using ARM Processor
- The Study of the Embedded Controller Based on the Wireless Networks
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM