FPGA-BASED DATA ACQUISITION SYSTEM WITH RS 232 INTERFACE

Similar documents
Embedded Power Supply Controller

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Controller IP for a Low Cost FPGA Based USB Device Core

Design and Simulation of UART for Serial Communication

Keywords: Soft Core Processor, Arithmetic and Logical Unit, Back End Implementation and Front End Implementation.

International Journal of Informative & Futuristic Research ISSN (Online):

Design and Implementation of Hamming Code on FPGA using Verilog

32 bit Arithmetic Logical Unit (ALU) using VHDL

A Low-Cost Energy Management System That Compares Power Consumption of Electronic Home Appliances

PERFORMANCE OF DMA MODE UART IP SOFT CORE IN EMBEDDED SYSTEMS

ISSN Vol.05, Issue.12, December-2017, Pages:

DESIGN AND IMPLEMENTATION OF FPGA BASED MULTIPURPOSE REAL-TIME CONTROLLER FOR HYBRID STEPPER MOTOR

Designing Embedded AXI Based Direct Memory Access System

IMAGE COMPRESSION ON FPGA AND TRANSFER USING ZIGBEE/I2C PROTOCOL

DEVELOPMENT OF FPGA MICROBLAZE PROCESSOR AND GSM BASED HEART RATE MONITORING SYSTEM

Health monitoring of an power amplifier using an ethernet controller

Hardware Design of Safety Arming Mechanism using FPGA

Design of Dual Port SDRAM Controller with Time Slot Register

HIGH-PERFORMANCE RECONFIGURABLE FIR FILTER USING PIPELINE TECHNIQUE

IMPLEMENTATION OF DISTRIBUTED CANNY EDGE DETECTOR ON FPGA

A Modified Radix2, Radix4 Algorithms and Modified Adder for Parallel Multiplication

Design of a Pipelined 32 Bit MIPS Processor with Floating Point Unit

Design of 2-D DWT VLSI Architecture for Image Processing

DESIGN OF WISHBONE INTERFACED I2CMASTER CORE CONTROLLER USING VERILOG

Intelligent Pressure Measuring System

DESIGN AND IMPLEMENTATION OF VLSI SYSTOLIC ARRAY MULTIPLIER FOR DSP APPLICATIONS

High Speed Data Transfer Using FPGA

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

Introduction to ARM LPC2148 Microcontroller

An Efficient Designing of I2C Bus Controller Using Verilog

DESIGN AND PERFORMANCE ANALYSIS OF CARRY SELECT ADDER

Data Encryption on FPGA using Huffman Coding

Design and Implementation of Multi-Rate Encryption Unit Based on Customized AES

Implementation of Double Precision Floating Point Multiplier on FPGA

PS2 VGA Peripheral Based Arithmetic Application Using Micro Blaze Processor

Design, Analysis and Processing of Efficient RISC Processor

UNIVERSAL VERIFICATION METHODOLOGY BASED VERIFICATION ENVIRONMENT FOR PCIE DATA LINK LAYER

Optimization of Task Scheduling and Memory Partitioning for Multiprocessor System on Chip

FPGA Implementation of A Pipelined MIPS Soft Core Processor

Designing an Improved 64 Bit Arithmetic and Logical Unit for Digital Signaling Processing Purposes

Rewa Engineering College, Rewa. Rewa Department OF Electrical Engineering

HCTL Open Int. J. of Technology Innovations and Research HCTL Open IJTIR, Volume 4, July 2013 e-issn: ISBN (Print):

Development of Monitoring Unit for Data Acquisition from Avionic Bus 1 Anjana, 2 Dr. N. Satyanarayan, 3 M.Vedachary

RECONFIGURABLE SPI DRIVER FOR MIPS SOFT-CORE PROCESSOR USING FPGA

Reliability of Memory Storage System Using Decimal Matrix Code and Meta-Cure

Design and Implementation of VLSI 8 Bit Systolic Array Multiplier

Design of an Efficient FSM for an Implementation of AMBA AHB in SD Host Controller

Microcontroller basics

Implementation of Pipelined Architecture Based on the DCT and Quantization For JPEG Image Compression

IMPLEMENTATION OF DOUBLE PRECISION FLOATING POINT RADIX-2 FFT USING VHDL

Basics of UART Communication

Implementation of Lifting-Based Two Dimensional Discrete Wavelet Transform on FPGA Using Pipeline Architecture

ISSN Vol.03,Issue.29 October-2014, Pages:

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP(

Hardware Resources in Digital Systems Teaching

A Novel Architecture of Parallel Multiplier Using Modified Booth s Recoding Unit and Adder for Signed and Unsigned Numbers

Laboratory Finite State Machines and Serial Communication

DSP BASED MEASURING LINE-SCAN CCD CAMERA

Advanced Spam Detection Methodology by the Neural Network Classifier

Microcontroller Based Data Acquisition System

FPGA based Design of Low Power Reconfigurable Router for Network on Chip (NoC)

Analysis of Radix- SDF Pipeline FFT Architecture in VLSI Using Chip Scope

DESIGN AND VERIFICATION OF LOW SPEED PERIPHERAL SUBSYSTEM SUPPORTING PROTOCOLS LIKE SPI, I 2 C AND UART

FPGA Development Board For Applications in Cosmic Rays Physics

Design of High Speed DMA Controller using VHDL

Environmental Data Acquisition Using (ENC28J60)

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

FPGA CAN BE IMPLEMENTED BY USING ADVANCED ENCRYPTION STANDARD ALGORITHM

Design and Verification of Serial Peripheral Interface 1 Ananthula Srinivas, 2 M.Kiran Kumar, 3 Jugal Kishore Bhandari

Resource Efficient Multi Ported Sram Based Ternary Content Addressable Memory

Matrix Manipulation Using High Computing Field Programmable Gate Arrays

New Logic Module for secured FPGA based system

Design and Implementation of Lossless Data Compression Coprocessor using FPGA

International Journal of Research Available at

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

80C31 Microcontroller Driven Electroluminescent Display II. System Level Block Description

PROFIBUS-DP to G-64 CONFIGURABLE INTERFACE

Implementation of FFT Processor using Urdhva Tiryakbhyam Sutra of Vedic Mathematics

DESIGN AND VERIFICATION OF UART USING VERILOG HDL

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017

FULL DUPLEX BIDIRECTIONAL UART COMMUNICATION BETWEEN PIC MICROCONTROLLERS

I Introduction to Real-time Applications By Prawat Nagvajara

Design and Analysis of 64 bit Multiplier using Carry Look Ahead Logic for Low Latency and Optimized Power Delay Product

EFFECTIVE SYSTEM ARCHITECTURE BASED RISC STRATEGY

UART TO SPI SPECIFICATION

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Digital Circuits Part 2 - Communication

Amarjeet Singh. January 30, 2012

Design and Implementation of Arbiter schemes for SDRAM on FPGA

Implementation of Low Power High Speed 32 bit ALU using FPGA

VLSI DESIGN OF AMBA BASED AHB2APB BRIDGE

DESIGN AND IMPLEMENTATION OF SDR SDRAM CONTROLLER IN VHDL. Shruti Hathwalia* 1, Meenakshi Yadav 2

CO SIMULATION OF GENERIC POWER CONVERTER USING MATLAB/SIMULINK AND MODELSIM

A PIC-based LCD Display for Stand-Alone Instrumentation

Design And Implementation Of USART IP Soft Core Based On DMA Mode

VHDL IMPLEMENTATION OF FLOATING POINT MULTIPLIER USING VEDIC MATHEMATICS

Development of PROFIBUS Analog IO Using ASIC VPC3+S for Industrial Communication

DESIGN AND IMPLEMENTATION OF I2C SINGLE MASTER ON FPGA USING VERILOG

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

Transcription:

FPGA-BASED DATA ACQUISITION SYSTEM WITH RS 232 INTERFACE 1 Thirunavukkarasu.T, 2 Kirthika.N 1 PG Student: Department of ECE (PG), Sri Ramakrishna Engineering College, Coimbatore, India 2 Assistant Professor, Department of ECE (PG), Sri Ramakrishna Engineering College, Coimbatore, India 1 arasu455@gmail.com, 2 Kirthika.natarajan@srec.ac Abstract This describes implementation of data acquisition system on FPGA.FPGA works as a data acquisition system and transfers data from the ADC to the output device. At the end of data acquisition, the FPGA data can be transmitted to the PC through the RS 232 interface.the system is controlled by software written in the visual C++. It allows the user to be able to interface to a PC for data restoration and monitoring..all modules were designed in VHDL& simulated using Xilinx-ISE 12.3 and Xilinx Spartan -3E. Keywords FPGA, ADC, Xilinx, and Spartan-3E kit I. INTRODUCTION The data acquisition systems are widely used as automatic test and measuring equipments in many industries. It can be used to collect the data from number of peripheral input devices, such as meters, sensors and etc.the measured data could be stored in the personal computer through controlling software. The values can be displayed numerically and their relationship can be displayed graphically on the screen. Data acquisition system is mainly depends on bus is used in it. Buses are main part of data transmission between the electronic devices. The aim of implementing bus is used to collect the data from sensors or analog to digital converters. This paper proposed a design of the data acquisition system using FPGA interfacing to a PC. The system has capability to receive the digital signals from sensors with parallel ADC protocols. Parallel protocol implanted on FPGA kit and modeled using VHDL. II. OVERALL SYSTEM The overall system is shown in Fig 1. It presents the connection to the ADC (analog to digital converter) with parallel protocol. The FPGA collects the individual data from ADC. It processes in the ADC protocols. At the end it produces a stream of data through the output UART port, which sends these ADC data to the PC. We have written a specific application software program to control the PC. This program has a responsibility to communicate to the FPGA so that the PC could prepare itself for the data transfer. Firstly, the PC will check the FPGA for data availability on the system. After that it will send a set of the instructions to the FPGA for getting these data from UART port. The data will be interpreted into separate data bytes for the individual channels. Finally, the data can be shown to the user, and saved to the main database at the same time. Fig -1: Overall system diagram The System would process parallel protocols and produce data at the output. Which intern connected to the PC to visualize the output waveform. 5

A. FPGA Selection III. DEVICE SELECTION The processing unit SPARTAN-3E from Xilinx Company is employed for this design. It has 2160 capacity logic elements or about 100,000 gates, Four 18K-bit block RAMs (72K bits) and 3 numbers of 8 pin header to interface VLSI based experiment modules. It supports the power supply at 2 levels, which are 5V, 3.3V. The maximum on board operating frequency is 24 MHz. This design has used VHDL as the language for writing the code program. This kit works as the center of the acquisition of the data from ADC. Its responsibility is to bridge the signals between the ADC inputs to the RS232 connection namely, to send/receive the data with the PC. B. ADC Selection ADC0804 is a very commonly used 8-bit analog to digital convertor. It is a single channel IC so can take only one analog signal as input. Since it is 8 bit ADC the digital outputs varies from 0 to a maximum of 255. By setting the reference voltage at pin9 the step size can be adjusted. When this pin is not connected, the reference voltage is the operating voltage(vcc) ADC0804 needs a clock source to operate. The time taken to convert the analog value to digital value is dependent on this clock source. Always an external clock can be given at the Clock IN pin. ADC 0804 also has its own inbuilt clock which can be used in absence of external clock. A reliable RC circuit is connected between the Clock IN and Clock R pins to use the internal clock. IV. DESIGN OF CONTROL MODULE OF FPGA FPGA is the center of the whole system control, which controls the data acquisition system, storage. Therefore, according to the role of FPGA needs in the system, it realizes to control the data acquisition module, and UART interface module within the FPGA A. ADC Communication The communication between ADC0804 with other peripheral device is parallel bus communication. Parallel communication is a method of conveying multiple binary digits (bits) simultaneously. The Fig 2 illustrates the parallel communication between the transmitting and receiving side. B. ADC Communication with FPGA Fig -2: Parallel interface The ADC communication with FPGA depends on three ADC signals namely, read, write and interrupt signals. The Figure 3 illustrates the connection between the ADC and FPGA. 6

Fig -3: ADC and FPGA connection C. Implementation of parallel bus This protocol is the traditional type for most ADC. It has the advantage of the high speed throughput. This design uses ADC0804 for the peripheral device. Fig 4 illustrates the simulation of how the FPGA gets data from this ADC. There are two main steps in the conversion process: The FPGA issues the start signal to activate the ADC then it will wait for the acknowledge signal. After finishing the data converting the ADC will send the acknowledge signal to the FPGA and FPGA reads the data from the bus. After that the FPGA gives the start signal to activate ADC again for getting the data on next read cycle. Obviously, this data acquisition is so simple and fast. Thus, this protocol should be employed with the high speed system. Parallel bus protocol used in some particular applications where connections needs parallel line like Display/printer.. Fig -4: Simulation results of parallel ADC Once FPGA starts getting all ADC data, then all the data s are transmitted to FPGA UART port for PC interface using RS 232. The Fig 5 illustrates the simulation results of UART 7

Fig -5: Simulation results of UART V. PC INTERFACING The FPGA is interface with PC using RS 232 serial communication. This RS 232 provides communication between the FPGA and PC. The application program allows user can interface with PC. The Fig 6 illustrates the communication between FPGA UART Tx Rx Rx Tx PC DB9 PORT Fig -6:UART and PC connection Hardware layer: Continuously sends the read request and it will return with one or more data, and put the data in a stack from which the data acquisition layer can read it. Data acquisition layer: This used to collects the data, and save them into the PC. When this layer runs, it moves the data from the queue shared with the hardware layer into its own container, and updates the current value shared with the presentation layer. This application is responsible to read data from ADC and presents them to the user in the style of both numeric value and also a graphic relationship. Fig 7 illustrates the operation of application program. 8

Fig -7: Operation of application program VI. CONCLUSION Using FPGA to control the entire work process and complete the data collection, processing, storage. We could claim that our data acquisition system is one of the useful solutions for the data acquisition. Having contained the input channels with a ADC protocols, our system can interface to the ADC input devices with any protocols to the PC independently. In addition, with an enormous number of the I/O ports in the FPGA, it is feasible to add more channels in the future. References [1] Ye Fan, FPGA based data acquisition system, IEEE international conference on signal processing, communications and computing,2011 [2] Swamy TN, Rashmi KM,Data Acquisition system based on FPGA, International Journal of Engineering Research and Applications,2013 [3] Douglas L. Perry VHDL Programming By Example, 4 edition,mcgraw-hill, USA, 2002. [4] George Shepherd, David Kruglinski Programming with Microsoft Visual C++.NET, 6 ed., Microsoft Press, Washington, 2003. [5] Data sheets of Xilinx SPARTAN 3E and ADC0804. [6] Authors Short Profile: 1. Thirunavukkarasu.T completed his Bachelor of Engineering at Jayam College Of Engineering and Technology, Dharmapuri, Tamil Nadu India in 2011.He is Pursuing Master in Engineering at Sri Ramakrishna Engineering College, Coimbatore, India. 2. Kirthika.N completed her M,E.at Anna university, Chennai, Tamil Nadu, India. She is working as Assistant Professor in the department of ECE (PG) at Sri Ramakrishna Engineering College, Coimbatore, India. 9