The Research of Multi-Channel Data Acquisition and Processing System Based on ARM Embedded System
- Author
- ZhangLei
- Advisor
- KangXiaoTao
- School
- Jilin University
- Major
- Signal and Information Processing
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 716
- Citations
- 5
Abstract
The petroleum is one kind of precious underground mineral, and is applied every walk of life widespread. The oil field is based by petroleum gathering. The stability of the oil field production system will affect the stability of other industry. So the oil field will need a perfect data acquisition system.The multi-channel data acquisition supervisory system can input the much kind of signal. These signal will be carried on formal processing, automatic sampling, transformation and storage. The information processed by microprocessor will send to computer. Its meaning is to check different signal by the same system. The system will realize the interface of many sensors and computer, and will complete the processing and checking of much kind of signal. The sensor is usually unstable and the measuring accuracy is also low because of the overlapping sensitivity, So it is using the two-dimensional linear method to process the signal. In the article it uses the two-dimensional regression equation to establish the relation between the goal parameter and the sensor output, and calculate the coefficient of regression equation by the least squares method principle under the condition of mean error smallest. Moreover, this is the multi-channel gathering installment, the system gathering quantity is very large, in order to reduce the memory pressure, in the article it has used the data compression method, and it improves the system memory property.The entire data acquisition system divides into the two major parts of the main terminal and the substation. The main terminal is a central control place. Its responsibility is directing and compiling the data of each substation. It receives the data real time from every local computer and forms the total database. Finally it will display entire union station real time by the way of data, flow and curve. The substation is the scene post. It is responsible for the local data acquisition, the data display, and give an alarm and so on. The gathering data of the local computer can display the data by the way of by the data, the flow and the tendency chart. It can set up、operate and inquire the home station according to the right. The communication, carry on the information and acquisition data is completed by LAN or RS485 between the main terminal and the substation.This article primary completes the scene machine. The scene machine actually is the data acquisition system which is composed by a motherboard and each kinds of circuit board. Its responsibility is to transform the multi-channel delivering signal. It can transmitted to the main terminal or the substation, and can also receive the information from the higher authority.1、The Motherboard CircuitThe motherboard is mainly composed of the embedded system of ARM, and it controlled the display module and the memory module (SD card). This system chooses the LPC2132 of PHILIPS as the core processor. LPC2132 is a micro-controller computer of 16/32 bit ARM7TDMI-STM CPU which is supported real-time simulation and embedded track. 16 Thumb model will be used to reduce code size and performance of over 30% of small losses. Its maximum operating frequency can be achieved to 60 MHz. The ARM system which can be used to provide hardware, and which is also low cost, small size, electricity consumption, handling ability, good stability and hardware expansion is easy. The following brief introduction is to the various parts of the motherboard.(1) In power modules, it uses SPI1117 as the main power supply system chip. The chip can provide stable output current 0.8A, 1A stability peak current, Flow and temperature protection, to provide an effective system of stability and security.(2) Because of oil acquisition channel for more data, there is a specialized storage module for data storage. The design of the SD card used as a data storage module from the main control panel directly control, This will not only reduce costs, and also reduce the size of the system.(3) To meet the design requirements of independent tasks completed acquisition, the system designs the show circuit. It can display temperature-depth curves. This system uses the LCM240128ZK of Beijing Qingyun Company as a display screen. In terms of software it usesμC/OS- II which get across the Federal Aviation Administration (FAA) Commercial Vehicle Certification as the main operation system. The operating system has good real-time and stability, and it can fully meet the design requirements.2、The A/D Collection CircuitThe A/D circuit uses the MSC1210 for the MCU core. It will realize the acquisition of the digital signal after the conversion of sensor, and turn the digital signal to the analog signal. It will also process the data (simple computation, etc). It uses the SPI communication between the A/D circuit and ARM. The output of MSC1210 is 5.0V, and the SPI communication of ARM is 3.0V, so it uses the SPI communication board for the voltage conversion.It requests two A/D boards are in a acquisition state of place when I design the A/D circuit. When the main computer needs the sampling results, other computers give the results to the main computer thought the external interruption. And other computers need to make the calculation of the data.3、The Counting CircuitThe counting board also adopts MSC1210 modules to control. And it will count the output of the four channels of the sensor through the three counters of programmable counter/timer of 8253 and the TI of CPU. It will produce the precision timing of the real -time clock, and get the flow testing after the calculation in period of time. And it will finish the sampling. To facilitate the preservation and retrieval of measured results, the FM25040 is used to store acquisition results. In addition, it is also through the SPI communication between the main board and the counting board. The modal of communication is as the same as the A/D board. It is to decide whether to address the transmission of data.4、Data CompressionAs this data acquisition system has been applied to oil fields, the wells, and it needs enormous capacity. It also needs to work long hours in acquisition scene, so the system is very high demands on memory, and it needs for a large capacity storage devices. To alleviate pressure on memory storage in the system it uses the data compression technology. According to the accuracy of system acquisition, the compression technology must not be undermined. As the characteristic of this paper, this design uses predictive coding method combined with LZ77 dictionary, get a new compression method. The compression ratio can reach 34% more after comparative test data. Therefore we can see the compression ratio can be greatly improved after comparing this lossless data compression method with the traditional method.
Table of contents
Feed 4-7
first chapter 7-13
of 1.1 topics sources and background
1.2 engineering background and significance 7-9
1.2.1 engineering background 7-8
1.2.2 engineering significance 8-9
1.3 development status at home and abroad and the problems 9-10
1.4 system design 10-12
1.4.1 Introduction 10-11
1.4.2 system applications
1.4.3 Performance parameters 11-12
1.4.4 system parameters 1.5 Chapter Summary 12
12-13
second Chapter embedded systems and ARM processor About 13-20
2.1 Embedded Systems Overview 13-17
the 2.1.1 embedded systems definition 14 < br /> 2.1.2 Embedded systems Category 14-16
the 2.1.3 embedded systems development the 16-17 2.2 ARM processor introduction
17-19
2.2.1 ARM's, background 17-18
2.2.2 ARM architecture of 18-19
2.2.3 ARM processor Application Status 19
2.3 Chapter Summary 19-20
Chapter III system hardware design 20-40
3.1 system design principles and requirements 20-21
3.1.1 design principles 20-21
3.1.2 overall system design 21
3.2 system main control panel design 21-28
3.2.1 kernel Profile 22-24
3.2.2 powered unit 24-25
3.2.3 reset circuit 25
3.2.4 display unit 25-28
3.3 system A / D board design the 28-33
3.3.1 CPU core device selection the 3.3.2 of MSC1210 29-30
24 Σ-Δ ADC conversion 30-31
3.3.3 External Interrupt design 31-33
3.4 system design of the counting board 33-36
3.4.1 programmable timer / counter 34
3.4.2 SPI communication 34-36
3.5 System memory board design 36-39
3.5.1 SD Card Profile 36-38
3.5.2 to access the SD card's hardware design circuit 38 - 39
3.6 Chapter Summary 39-40
Chapter system software design 40-63
4.1 embedded operating system 40-44
of 4.1.1 embedded operating system development status 41-43
4.1.2 real-time operating system μC/OS- Ⅱ transplant 43-44
4.2 software overall structure 44
4.3 program flowchart 44-52
4.3.1 program flow of the main control board 44-46
4.3.2 A / the D board program flow 46-49
4.3.3 counting board program flow 49-51
4.3.4 Experimental results 51-52 <br / > 4.4 digital filtering program design 52-55
4.5 two-dimensional linear differential fill method 55-62
4.5.1 Imputation principle 55-56 < br /> 4.5.2 two-dimensional linear differential complement 56-62
4.6 Chapter Summary 62-63
Chapter data compression 63-77
5.1 data compression Overview the 63-67
5.1.1 Basic concept the 63-64
5.1.2 Data Compression basic methods 64-67
5.2 data compression technology applications the 67-72
5.2.1 Predictive Coding 67-69
5.2.2 LZ77, coding 69-71
5.2.3 LZSS algorithm the 71-72
5.3 compression flowchart 72-76
5.4 Experimental results 76
5.5 Chapter Summary 76-77
Chapter VI Full Summary 77-78
Reference 78-81
summary for 81-84
Abstract 84-88
Acknowledgements 88
Related dissertations
- The Design of Multi-channel Data Acquisition System for Marine
- Engine Room Monitoring System Based on the Embedded Web Server
- Study on Embedded Data Acquisition System Application
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Embedded Industrial Control Module Based on iCAN Protocol
- Research and Design on Embedded Face Recognition Entrance Guard System
- Research of the Embedded Tumor Medical Image Analyzer
- Research on Image Processing System of Embedded Digital Inkjet Printer
- The Video Data Processing and Transmition of the Laser Beam Quality Measurement
- Research on Noise of Dataacquisition and Data Compression in Power Recording System
- The Study and Design of Embedded Multifunction CNC Platform Based on ARM
- Plant3D Information Acquisition System Automatically
- Research and Implementation of Embedded Remote Monitoring System Based on ARM
- The Design of Embedded Data System Based on ARM
- Research on the Embedded Forest Resource Information Collection System Based on OMAP
- Design of Synchronous Data Acquisition System on Noise Signal Location
- Distributed Optical Fiber Temperature Measurement System Based on ARM