Development of Intelligent DC Tester Based on ARM and μC/OS-Ⅱ
- Author
- LiuYi
- Advisor
- LuoLiPing
- School
- Nanchang University
- Major
- Mechanical and Electronic Engineering
- Classification
- TM933.12 DC measurement
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 81
- Citations
- 1
Abstract
At present, the precision grade of the majority of domestic universal measurement equipment of DC parameters is generally 0.5 or 0.2 class, and the measuring instrument with higher precision is 0.1~0.05 class. However, most CPU adopted by its digital meter is still 8/16-bit single chip microcomputer. Due to the slow processing speed, it’s not easy to realize more functions. Moreover, still using of assemble language programming and traditional liner program flow is not convenient to software upgrade and maintenance. Considering the price of foreign measurement equipment with the same precision is often high, therefore, in order to improve the accuracy, precision and rapidity in the calculation process, to better meet the future consumers’ requirements for upgrading instrument functions, to overcome the limitations of the current domestic DC parameter measuring instrument and to achieve higher performance-price ratio, the design of intelligent DC ammeter based on 32-bit ARM and embedded real-time operating systemμC/OS-II is developed under the intensive analysis and absorption of the advanced technology and experience of current digital meter at home and abroad in this paper, which precision reaches 0.05 class. Being one of domestic DC parameter measuring instruments featuring in the highest performance, this instrument can be widely used in laboratories, metrology institutes, and power departments respectively as 0.1~0.05 class DC voltages, current measuring standard and field detection.This paper first analyzes the various measuring functions and requirements for measuring precision of DC tester, and proposes the overall framework of instrument and the measures to meet the demands of measuring precision. The kernel hardware in this device is ARM structure, in which the system of control core with ARM Microcontroller LPC2134 of NXP Corporation can realizes the functions of measure, calibration, communication and display. The design of application programming based onμC/OS- II platform in software .After introductioning hardware circuit design of the entire DC tester and the compiling drivers of each hardware device, general programming design of the instrument is given based on embedded real-time operating systemμC/OS- II. After a brief introduction of some basic concept aboutμC/OS- II is presented, and it explain how theμC/OS-II real-time operating system has been transplanted in LPC2134.Finally, the error classification and causes are illustrated and the experimental results are analyzed.
Table of contents
Abstract 3-4
ABSTRACT 4-9
first chapter 9-14
1.1 Background and Significance topics 9 - 10
1.2 research status 10-12
1.3 dissertation research 12-14
intelligent DC Chapter of the overall program design table 14-19
2.1 design basis 14
2.2 The main technical indicators 14-15
2.3 overall design 15-18
2.3 .1 scheme selection 15-16
2.3.2 meter overall block diagram 16-18
2.4 measuring accuracy requirements 18-19
Chapter III intelligent DC table hardware design 19-36
3.1 design Overview 19
3.2 signal conditioning circuit 19-23
3.2.1 voltage signal conditioning circuit 19-21
3.2.2 current signal conditioning circuit 21-22
3.2.3 measurement selection 22
3.2.4 can be programmed gain amplification and range switching 22-23
3.3 sampling circuit design 23-28
3.3.1 AD7703 Introduction 24-26
3.3. 2 AD7703 in system 26-28
3.4 micro-controller system 28-30
3.4.1 microcontroller choice 28-29 < br /> 3.4.2 JTAG interface circuit design 29-30
3.4.3 reset circuit and clock circuitry 30
3.5 keyboard interface circuit design 30-32
3.5.1 programmable logic device GAL 31-32
3.5.2 keyboard interface circuit design 32
3.6 LCD interface circuit 32-33
3.7 communication interface 33-34
3.8 power supply circuit 34
3.9 hardware system anti-jamming design 34-36
Chapter hardware driver design 36-46
4.1 keyboard Interface Driver 36
4.2 A / D converter driver 36-38
4.2 .1 AD7703 calibration 36-38
4.2.2 AD7703 output value is read 38
4.3 LCD driver 38-40
4.4 serial driver 40-42
4.4.1 serial port initialization 41
4.4.2 serial receive and transmit 41-42
4.5 IAP module program 42-46
4.5.1 IAP programming principles 43-44
4.5.2 IAP programming C language 44-46
Chapter μC/OS- Ⅱ and application design 46-66
5.1 embedded real-time operating system of choice 46-47
5.2 μC/OS- Ⅱ file architecture 47-48
5.3 μC/OS- Ⅱ core principle 48-51
5.3.1 tasks and task management 48
5.3.2 tasks switching and scheduling 48-49
5.3.3 inter-task communication and synchronization 49-50
5.3.4 beat the clock and clock management 50 <br / > 5.3.5 interrupts and Interrupt handling 50-51
5.4 μC/OS- Ⅱ on ARM transplant 51-52
5.5 program structure Plan 52 -55
5.5.1 *. h file group 53-54
5.5.2 arm file group 54
5.5.3 scf file group 54
5.5.4 target file group 54
5.5.5 μC/OS- Ⅱ file group 54-55
5.5.6 block file group 55
5.5.7 user file group 55
5.6 task Analysis 55-58
5.6.1 division of tasks 55-57 <br / > 5.6.2 tasks Associated 57-58
5.7 task Design 58-66
5.7.1 keyboard task 58-59
5.7.2 Show Task 59-61
5.7.3 calibration tasks 61
5.7.4 measurement tasks 61-64
5.7.5 serial task 64-66
Chapter measurement error and data processing 66-74
6.1 classification of measurement errors 66-67
6.2 error processing technology 67-70
6.2.1 systematic error 67-69
6.2.2 random error processing 69-70
6.3 analysis 70-74
Chapter Summary and Outlook 74-76
7.1 work Summary 74-75
7.2 job Outlook 75-76 <br / > Thanks 76-77
References 77-79
table in Appendix A DC circuit 79-80
Appendix B, table circuit board diagram DC 80-81
pursue a degree during the research 81
Related dissertations
- 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
- 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
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Design of Remote Strain Measurement System Based on FGPA
- Industrial Field Data Acquisition System Design Based on CAN Bus