FPGA Implementation of Real Time Data Acquisition System Using Micro Blaze Processor.
FPGA Implementation of Real Time Data Acquisition System Using Micro Blaze Processor.
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Processor.
D.Sathish kumar CVR College of Engineering EIE Department Hyderabad, India R.Ganesh CVR College of Engineering ECE Department Hyderabad, India
Abstract The Progression of the human existence from the primitive state to the present technological complex state is just an outcome of observation of this environment. By observing the environment and controlling the various physical parameters like temperature, pressure of the environment we are able to sustain on this beautiful earth. In order to control physical parameters there is a need of a specific system called Data Acquisition System (DAS) . Man has developed many different Data Acquisition Systems like Microprocessor based, PLC based, from Rock world to the Rocket world. This paper describes the implementation of Data Acquisition Systems using Embedded Processors. Keywords Data Acquisition, Virtex 5 FPGA Board, Micro blaze, GPIO, RTD Transducer
1. INTRODUCTION
In the real world all the physical quantities are continuous and measurable in analog domain, whereas in the electronic world of microprocessors, data storage, and automation is a digital domain. The conversion of parameters from analog domain to digital domain is the major advancement in semiconductor world with improvement in sensitivity, speed of conversion and parallel processing. Data acquisition is the process of measuring quantities in the analog domain and converting it into the digital realm where any digital device can understand, record, and process and provides corresponding output in analog domain. The output could be visual, audible or any other electrical signal. The traditional method of data acquisition was to access analog data from field level and generates corresponding control action using comparators or any other analog circuitry. This paper describes a way to design and implement a high performance and parameterized DAS on a single Virtex5 FPGA, which has more flexibility, power-efficiency, reconfigurabilty. The proposed DAS design can be implemented by using Xilinx Embedded Development Kit (EDK) ver. 12.4.
Transducer
Signal conditioning
Signal converter
A/D converter
Digital recorder
Figure 1. Block diagram of FPGA - DAS The process of data acquisition is a step by step process, starting from sensing or collecting stimuli from external source or primary sensor to the final stage of proper alignment and storage of data in specific time duration.
www.ijsea.com
151
International Journal of Science and Engineering Applications Volume 2 Issue 7, 2013, ISSN-2319-7560 (Online)
functionality of different IP cores added to the processor. SystemC [4] programming language is used for developing software application
3.1. Transducers
They convert a physical quantity into an electrical signal which is acceptable by data acquisition system. For eg: Platinum RTD which functions on based on positive temperature coefficient principle can be used to acquire the temperature. RT = Ro [1+o(T - To)]; where Rt is the RTD resistance for change in temperature.
3.4. GPIO
A range of applications can be developed with Microblaze processor. The applications may range from a simple state machine to Full custom Embedded system. DAS is a full custom Embedded System, hence it uses UART, GPIO, Timer & Interrupt controller, External memory along with Microblaze , The expansion headers provided on FPGA board can be configured as a channel of communication between GPIO (target to Microblaze) and ADC 0809. EDK 12.4 tool helps to provide the communication between the master and slave by using Base system Builder (BSB) [5]
3.5.Digital Recorders
These records the data obtained by the Microblaze in nonvolatile memory for future reference. Normally UART can be used as a soft IP for recording the values. This paper implements the digital display of equivalent temperature obtained by the Transducer under supervision of Microblaze. 4. IMPLEMENTATION USING MICROBLAZE The implementation of data acquisition system include Micro Blaze User machine interface Shared memory
A. Micro blaze
Micro blaze is a 32 bit RISC Harward architecture soft core processor with advanced architecture options i.e., PLB interface, memory management unit, instruction and data-side cache, configurable pipeline depth, floating point unit, etc., .it has over 70-user configurable options, enabling virtually any processor use case from a very small footprint microcontroller 152
3.3.Micro blaze
The Micro blaze is a soft processor core designed for XilinxFPGAs from Xilinx. The Embedded development kit [5], [6] is used to implement hardware design consisting IP cores and a Microblaze Soft Processor. The DAS design is implemented by writing the ADC logic in EDK software application to run on the Microblaze processor. The software application controls the www.ijsea.com
International Journal of Science and Engineering Applications Volume 2 Issue 7, 2013, ISSN-2319-7560 (Online)
5. RESULTS
The results obtained by the Implementation of DAS using FPGA are provided in the digital format on the hexadecimal scale which can be converted into decimal format and displayed by HyperTerminal. The Table.1 gives the list of temperatures and their corresponding voltage outputs collected on HyperTerminal.
Temperature 61C 64C 67C 70C 73C 76C 79C 82C 85C 88C 91C 94C 97C
C. Shared Memory
A Dual Port Block Random Access Memory (DP-BRAM) is the memory used to store the values of coefficients computed by Microblaze processor. Block RAM (BRAM) IP Block and XPS BRAM Controller IP are added to the Microblaze system to implement Dual Port BRAM.
Voltage (V) 3.83 3.88 3.91 3.93 3.95 3.96 3.98 3.99 4.01 4.21 4.52 4.72 5.03
Table.1 Temperature and Voltage output values This data can be stored in a mass storage device like USB which can be designed as a soft IP on FPGA
D. Process Description
The temperatures from two different analog sensors i.e., RTD are converted to digital form using ADC and the latter is fed to Microblaze Processor operating at 125 MHz through voltage translators. To make proper communication with ADC, the Microblaze processor utilizes General Purpose Input Output (GPIO) soft IP in a programmed way for sending the signals from Microblaze and vice versa. The ADC is initiated by one of the data received by the FPGA is in digital format, which is processed and the temperature is displayed on screen. Here we can observe two different parameters are measured simultaneously.
International Journal of Science and Engineering Applications Volume 2 Issue 7, 2013, ISSN-2319-7560 (Online)
6. CONCLUSION
The Microblaze processor being a soft-core processor is added advantage compared to a hard processor which in turn is costly in terms of reconfiguring it. The programmable input output lines made it to interface with many of the real-time applications with the only cost of voltage translators or level shifters. The high speed clock of soft processor improves the speed of execution, the added advantage. The programmable input output lines of FPGA can be used to interface more number of digital devices and the slots can also be expanded in order to increase further more number of digital devices attached. Where for the other type of processors offers limited connectivity.
7. REFERENCES
[1] Embedded systems tool reference manual EDK
12.4 version.
[2] Shebli Anvar, Olivier gachelin, Pierre Kestener, Herve Le Provost, Irakli Mandjavidze,FPGA based System-onchip Designs for Real-Time Applications in Particle Physics,14th IEEE Real-Time Conference, Stockholm, Sweden, June 6-10, 2005. [3] S. Thanee S. Somkuarnpandit and K. Saetang, FPGA Based Multi Protocal data Acquisition System with High Speed USB Interface. [4] Microblaze Processor Reference Guide, Embedded Development Kit EDK 12.4 version. [5] A. Sagahyroon,T.Al-kudairi, FPGA Based Acquistion of sensor Data,InternationalConference on Information. and Communication Technology, ,ICTTA 2006. [6] http:/www.xilinx.com/tools/microblaze.html [7] Microblaze Processor Reference Guide
www.ijsea.com
154