ARM- based μC/OS- Ⅱ embedded switch machine tester design
- Author
- QianXiaoLiang
- Advisor
- WangAn
- School
- Northwestern Polytechnical University
- Major
- Control Science and Engineering
- Classification
- TP368.12 Microprocessor
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 290
- Citations
- 4
Abstract
The Electric Point Machine is the terminal execution machine of the orbit switch equipment in railway system, it is mainly used to tow the points in order to change the direction of points and to indicate the points’ position. The portable Electric Point Machine Tester is a special instrument used on the spot, which is applied to test the electric point machine on the orbit. It is mainly used to test the change of output force and current of the Electric Point machine when it is running , thus, it can help the worker to analyse the working state of orbit switch system immediately.In this thesis, the whole process of designing the portable Electric Point Machine Tester based on μC/OS-II is particularly illustrated. First, the tester’s requirements about operating functions and precision are analyzed; the whole structure of the tester and how to meet the requirements of the precision are advanced. Then, the tester’s hardware circuit and hardware driver programme are completed .At last, the μC/OS-II is transplanted to the ARM, and the application is completed in the form of multitask.The LPC2214 which is the ARM7TDMI microcontroller of Philips is the core of the tester’s hardware circuit, the circuit also contains 1M bytes’ SRAM and 64M bytes’ Flash, thus, the tester can process a large number of data in a short time, and the user can get a large data space which is used to save the tests’ record. The tester have a 320*240 graphics LCD which can make the user see the tests’ curve clearly in the sun. Instead of RS-232 serial port, using USB1.1 interface can decrease the transmission time between the tester and PC evidently.The design of software is based on the real time operating system μC/OS-II, then, the application is carved up a number of tasks which is managed by the real time core. The real-time process of tester is kept by the method called "time-interrupt". In the form of multitask, the stability of the application is enhanced and the designer can upgrade the application easily. The tester can get all the native correlative information from the PC through the USB interface, then, the user can select the correlative information from the menu of tester, besides, the tester can also transmit all the saved tests’ recorder to the PC and form database for later browsing, analyzing and
Table of contents
Abstract 3-4
ABSTRACT 4-6
directory 6-9
first chapter 9-12 <br / > 1.1 research background 9-10
1.2 portable electric switch machine tester Introduction 10
1.3 embedded system Introduction 10-11 <br / > 1.4 in the design of embedded systems applications 11
1.5 in this thesis, the main work 11-12
Chapter instrument design requirements with the overall framework 12-19
2.1 instrument design requirements 12-16
2.1.1 measuring accuracy requirements 12-14
2.1.2 instrumentation functions requirements 14-16
2.1.3 instrument accessibility requirements 16
2.2 overall framework instrument 16-19
2.2.1 instrument Block diagram 16-18
2.2.2 measuring accuracy to meet 18-19
Chapter instrument hardware part of the design 19-36
3.1 overall structure of the instrument hardware circuit 19-20
3.2 power supply design 20-21
3.3 sensor signal conditioning circuit design 21-24
3.3.1 The force sensor adjustment circuit design 21-22
3.3.2 current Sensor adjustment circuit design 22-24
3.4 micro- controller and interface circuit design 24-33
3.4.1 Why use ARM 24-25
3.4.2 ARM selection 25-26
3.4.3 JTAG Interface Circuit Design 26
3.4.4 memory expansion circuit design 26-28
3.4.5 I ~ 2C bus keyboard interface circuit design 28-29
3.4 .6 LCD interface circuit design 29-30
3.4.7 USB interface circuit design 30-32
3.4.8 clock interface circuit design 32-33 < br /> 3.5 auxiliary function circuit design 33-36
3.5.1 LCD backlight , contrast control circuit design 33-34
3.5.2 battery charging circuit design 34-35
3.5.3 power Switch circuit design 35-36
Chapter hardware driver design 36-48
4.1 keyboard Interface driver Design 36-37
4.2 A / D converter driver design 37
4.3 LCD module driver design 37-40
4.3.1 LCD module hardware driver design 38-39
4.3.2 basic LCD display function design 39-40
4.4 USB driver Design 40 -48
4.4.1 firmware programming ideas 41-43
4.4.2 firmware programming realization 43-48
Chapter μC/OS- Ⅱ migration and application design 48-67
5.1 Why use μC/OS- Ⅱ embedded real-time operating system 48-49
5.2 μC/OS- Ⅱ embedded real-time operating system Introduction 49-50
5.3 μC/OS- Ⅱ on the LPC2214 transplant 50-59
5.3.1 μC/OS- Ⅱ transplant conditions 50-51
5.3.2 μC/OS- Ⅱ transplantation principle 51-52
5.3.3 μC/OS- Ⅱ code ported to the general procedure 52-55
5.3.4 porting code applied to the LPC2214 55-59
5.4 application design 59-67
5.4.1 μC/OS- Ⅱ tasks 59-61
5.4.2 μC/OS- Ⅱ in the communication mechanism 61-62
5.4.3 division of tasks and the logical relationships between tasks 62-65
5.4.4 application running process analysis 65-67
Chapter VI design results and verification 67-71
6.1 tester user interface 67-68
6.2 tester measured results and analysis 68-71
Chapter Summary and Outlook 71-73
7.1 Summary of design work 71-72
7.2 design deficiencies and improvement 72-73
References 73-76
during the master's degree published papers 76-77
Thanks 77-78
Related dissertations
- The Design and Implement of the File System of Embedded CNC System Using ARM Processor
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Large Network Monitoring System Based on ARM
- The Research on Fire-fighting Based on Image Processing in Large Space
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Excogitation and Implementation of Monitor System for the Greenhouse’s Host Machine
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- Battery Sorting Detect System Design and Application
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology