International Journal of Advanced Research in Computer Science and Software Engineering

Similar documents
DDS. 16-bit Direct Digital Synthesizer / Periodic waveform generator Rev Key Design Features. Block Diagram. Generic Parameters.

RF Measurements Using a Modular Digitizer

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

SR2000 FREQUENCY MONITOR

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

POCKET SCOPE 2. The idea 2. Design criteria 3

DAC Digital To Analog Converter

FREQUENCY RESPONSE ANALYZERS

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Non-Data Aided Carrier Offset Compensation for SDR Implementation

CHAPTER 11: Flip Flops


QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Demonstration of a Software Defined Radio Platform for dynamic spectrum allocation.

Open Flow Controller and Switch Datasheet

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

Lab 3: Introduction to Data Acquisition Cards

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Serial port interface for microcontroller embedded into integrated power meter

STUDY ON HARDWARE REALIZATION OF GPS SIGNAL FAST ACQUISITION

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Understanding the Effect of Uncorrelated Phase Noise on Multi-channel RF Vector Signal Generators and Analysers

ADS9850 Signal Generator Module

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

Application Note. Introduction to. Page 1 / 10

Microtronics technologies Mobile:

[Download Tech Notes TN-11, TN-18 and TN-25 for more information on D-TA s Record & Playback solution] SENSOR PROCESSING FOR DEMANDING APPLICATIONS 29

How To Use A High Definition Oscilloscope

Jitter Transfer Functions in Minutes

Lab 1: Introduction to Xilinx ISE Tutorial

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Lab 1. The Fourier Transform

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

Impedance 50 (75 connectors via adapters)

GnuRadio CONTACT INFORMATION: phone: fax: web:

ALFFT FAST FOURIER Transform Core Application Notes

DS1621 Digital Thermometer and Thermostat

PCM Encoding and Decoding:

ECONseries Low Cost USB DAQ

DS1104 R&D Controller Board

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

Disturbance Recoder SPCR 8C27. Product Guide

Spectrum analyzer with USRP, GNU Radio and MATLAB

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

Ultrasound Distance Measurement

Keil Debugger Tutorial

1. SAFETY INFORMATION

APPLICATION NOTE GaGe CompuScope based Lightning Monitoring System

Design of Strong-motion Monitoring System for Dam-reservoir D s e i s gn of Stro r ng-mo m tion Monito t ri r ng Syst s em

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

AFG-100/200 series USB Modular Arbitrary Function Generator. Date: Oct, 2014

High-Resolution Doppler-Polarimetric FMCW Radar with Dual-Orthogonal Signals

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

Digital Signal Controller Based Automatic Transfer Switch

Manchester Encoder-Decoder for Xilinx CPLDs

LLRF. Digital RF Stabilization System

IMPEDANCE MEASURING SYSTEM BASED ON A DSPIC

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Computer Controlled Generating Stations Control and Regulation Simulator, with SCADA SCE

Implementation of Modified Booth Algorithm (Radix 4) and its Comparison with Booth Algorithm (Radix-2)

ugrid Testbed. Rein in microgrid complexity. With ease.

Timer A (0 and 1) and PWM EE3376

Signal Processing in So.ware and Electric Field Sensing

Nutaq. PicoDigitizer 125-Series 16 or 32 Channels, 125 MSPS, FPGA-Based DAQ Solution PRODUCT SHEET. nutaq.com MONTREAL QUEBEC

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Accurate Measurement of the Mains Electricity Frequency

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

Programming Logic controllers

Manual for the sound card oscilloscope V1.24 C. Zeitnitz english translation by P. van Gemmeren and K. Grady

US-Key New generation of High performances Ultrasonic device

AC Measurements Using the Oscilloscope and Multimeter by Mr. David Fritz

DS1621 Digital Thermometer and Thermostat

Experiment 3: Double Sideband Modulation (DSB)

Developing applications under CODE COMPOSER STUDIO

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

USB - FPGA MODULE (PRELIMINARY)

Frequency Response of Filters

US-SPI New generation of High performances Ultrasonic device

LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER

Step Response of RC Circuits

FFT Frequency Detection on the dspic

A Network Analyzer For Active Components

DSPDemo. By Moe Wheatley MoeTronix.

The 104 Duke_ACC Machine

AN3252 Application note

International Journal of Advancements in Research & Technology, Volume 2, Issue3, March ISSN

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

Keywords RFID READER, FPGA, GSM.

Simulation and Analysis of PWM Inverter Fed Induction Motor Drive

Recommendations for TDR configuration for channel characterization by S-parameters. Pavel Zivny IEEE GCU Singapore, 2011/03 V1.

A/D Converter based on Binary Search Algorithm

Lab 5 Getting started with analog-digital conversion

CW46S GPS Sensor P R O D U C T B R I E F. Description. Features. Applications. Block Diagram

The new frontier of the DATA acquisition using 1 and 10 Gb/s Ethernet links. Filippo Costa on behalf of the ALICE DAQ group

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Transcription:

Volume 2, Issue 8, August 2012 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Development of Data Acquisition and Analysis System on Virtex 5 Santosh P. Gujare *, Gaurav Jagtap, D.C. Gharpure Department of Electronic Science University of Pune Abstract This paper presents the development of Virtex5, Field Programmable Gate Array (FPGA) FPGA based data acquisition and analysis system. The system consists of data sampling and acquisition followed by Fast Fourier Transform Processor. The output Transformed data is read on host PC via RS232 for plotting and analysis. C and MATLAB codes are developed for testing and verification and the FPGA subsystems are developed in VHDL. Keywords FPGA, Data Acquisition, FFT, VHDL, ADC I. INTRODUCTION Data acquisition and analysis is a very common practice in the field of communication. Frequency analysis plays an important role in communication system design. Fourier transform is the most commonly used technique to convert time domain signal to frequency domain [1]. It is well known that the calculation of Fourier Transform involves many complex multiplication and additions. This makes it time consuming as the number of points goes on increasing. FFT algorithm reduces the computation complexities and speeds up the computation [1]. Parallel processing is a key factor for the fast computation. FPGA is a device which gives freedom of true parallel processing with high clock speed and at low power cost. Flexibility and customization in design makes FPGAs a first choice for the high speed data acquisition and processing systems This paper deals with the design of a very simple data acquisition and analysis system. Current system acquires a data with rate of 100 MSPS. The data is stored in an internal block RAM and input to FFT block for frequency analysis. II. SYSTEM ARCHITECTURE The overall system consists of high speed ADC interface card, Virtex 5 FPGA, Serial interface RS232, switches for mode selection and LEDs for indication. A.Overview A 14 bit ADC LTC 2255 samples and digitizes the signal with sampling rate of 100 MSPS [2]. FPGA internal Block RAMs are used to store the 1024 points data. Sampled data is then fed to FFT core which produces the transformed data in the form of real as well as imaginary component. Real and imaginary component are stored in different block RAMs. Each block RAM is read via RS232 port on host machine. An application is developed in C which converts the hex data to an integer and MATLAB code is developed for plotting the FFT output in the 0 to Fs/2 range. Switches are used for the triggering the processes and the LEDs indicate completion of certain processes. The block diagram given below gives an idea about the overall system architecture. B. System functionality Basically, system is working in 4 different processes data acquisition, FFT computation and data read out and plotting 1) Data sampling and acquisition process: In data sampling and acquisition process ADC samples the data at 100 MSPS with resolution of 14 bit. The sampled data is in the 2 s compliment hex format. FFT required a 16 bit signed data. To get the 16 bit data signed data 14 th bit was checked and copied to 15 th and 16 th bit. The first 1024 samples are stored in the block RAM. Reset switch triggers the acquisition process and LED glows after the completion of data storage. 2) FFT computation process: In this process sampled data is fed to FFT core which computes 1024 point FFT of the given data set. The output of FFT core is in the form of real and imaginary 27 bits, 2 s compliment hex format, which is stored in two different blocks RAMs. One push to on switch triggers the FFT start signal and an LED is switched on to indicate that the computation is done and data is stored in block RAMs. 3) Data read out and plotting: This process is associated with the data reading on host PC and plotting. DIP switch setting is used to decide to read the data via RS 232 port. The data obtained by FFT core is 27 bits, signed hex data. RS 232 port can send data only in single byte format thus 5 bits are appended to MSB and make data 32 bit, 2 complement 2012, IJARCSSE All Rights Reserved Page 46

hex format. The Read process sends output data, byte by byte to transmit unit. The output data is then converted to an integer and MATLAB code is used to plot the data. Fig.1 Block diagram of system III. TESTING AND VERIFICATION The main difficulty with the FPGA devices is testing and debugging the system. All the system component were tested module wise and then integrated to realize the whole system. There are test bench and waveform tools for simulation with some limitations. A. ADC calibration ADC calibration is necessary in every data acquisition system. ADC used in this experiment is LTC 2255 with 14 bit resolution. To test the ADC-FPGA interface ADC is calibrated with static voltage as well as dynamic signals. Figure 2 represents the expected values vs experimental results obtained. Linear graph shown below validates the interface. Fig.2 ADC calibration B. RS232 Port To test the RS232 port transmit module, first some known characters were sent and tested using storage oscilloscope. Later data was filled into block RAM and read back on PC to verify working of the transmit module. Receive module is also tested with the help of LEDs. The designed module is set with the baud rate of 9600. 2012, IJARCSSE All Rights Reserved Page 47

C. Block RAM interface Block RAM read / write operation was tested initially for small chunk of memory wherein switches were used for address generation and 8 bit data generation. LEDs were used for the data display. Once the interface is validated, serial port is used for the data entry and read out. D. FFT core FFT core is the main component of the design. FFT core is also tested initially for the 128 points. FFT core triggers on the FFT start signal which is given by the external switch. FFT core requires a 2 s compliment hex data. To check the behaviour of the core a data for sine wave is generated by C code and stored in the block RAM memory. On activating the start signal, FFT core fetches the data and computes the FFT. Output of the FFT core is again 2 s compliment hex format [3]. Results obtained by FFT core testing are then compared with the results obtained by the MATLAB FFT () function for the same data set. In figure 3 the upper signal shows a time domain sinusoidal signal of frequency 20 Hz simulated and stored in the block RAM. Middle signal shows the results of MATLAB function and the last signal plot represents the results obtained by FPGA hardware. Fig. 3 Results of FFT core test 128 pt. FFT To test the FFT core performance for non sinusoidal signals, C code is developed which generates sine waves of 50 Hz, 230 Hz and 360 Hz and adds them together. The time domain mixed signal is represented by the upper plot in the fig.4. The time domain data set fed to the MATLAB FFT() function and FPGA hardware FFT core. The middle plot represents the results of MATLAB FFT function where as third plot represents the results obtained by the implemented FFT core in FPGA. Fig.5 Results of FFT core test 1024 pt FFT (mixture of 3 signals) The results comparison of FFT core output and MATLAB output gives certification of valid interface and implementation of core. IV. RESULTS A Data acquisition and analysis system is realized by integrating all modules. This system is capable of showing the spectra of input signals with a bandwidth of 50 MHz. The system is tested for various signals with different frequencies. Figures shown below represent the outputs of the spectral analysis system. Fig 6 FFT of 500 KHz signal Fig.7FFT of 1MHz signal 2012, IJARCSSE All Rights Reserved Page 48

Fig 8 FFT of 3 MHz signal Fig 9 FFT of 5MHz signal Fig 10 FFT of 10 MHz signal Fig 11 FFT of 10 MHz signal Fig 12 FFT of 18MHz signal Fig 13 FFT of 20 MHz signal Fig 14 FFT of 30MHz signal Fig 15 FFT of 40 MHz signal FFT computation for different waveforms like sine, triangular, square, noise signal and arbitrary waveform (sinc function) were carried out. The following diagram shows the FFT plot for noise and Arbitrary waveform. Fig 13 FFT of noise signal Fig 14 FFT of arbitrary signal V. CONCLUSION A Proposed data acquisition and analysis system is designed and implemented successfully on Virtex 5 FPGA [5]. Presently system consists of single channel for data acquisition, which works over a bandwidth of 50 MHz with 100 KHz spectral resolution. The testing and validation of a system is carried out with the help of various hardware and software tools. Currently the system operates under manual control. Spectral resolution can be increase by increasing a number of points for FFT computation. The whole system design language is VHDL; MATLAB is used only for the verification and plotting purposes which is one of the major achievements of the design team. Proposed Data acquisition and analysis system is having a large number of applications. Presently work to make it fully automated and multichannel is underway 2012, IJARCSSE All Rights Reserved Page 49

ACKNOWLEDGMENT This research work is funded by the Physics research Laboratory (PRL, Ahmadabad) and Indian Space Research Organization (ISRO, Bangalore). REFERENCES [1] J. G. Proakis, D. G. Manolakis, Digital Signal Processing. Principles, Algorithms and Applications. New Jersey: Prentice-Hall. 1996. [2] LTC 2255 ADC data sheet LINEAR TECHNOLOGY CORPORATION USA, 2005. [3] Fast Fourier Transform v7.1 Xilinx core user manual, March 2011. [4] Bruno Stuber, Member IEEE, Dino Zardet, A. Benz, Ch. Monstein, H. Meyer, V. Hungerbühler, FPGA implementation of a 32k accumulating FFT with 2-Gs/s throughput IEEE_FFT_Pub_V1d.doc, Sep 2005. [5] Virtex-5 Family Overview user manual, DS100 (v2.1) October 12, 2006. [6] Magnus Nilsson, FFT, REALIZATION AND IMPLEMENTATION IN FPGA, Signal Processing Laboratory, School of Microelectronic Engineering, Griffith University Brisbane/Gothenburg 2000/2001. 2012, IJARCSSE All Rights Reserved Page 50