II. DEVELOPMENT ENVIRONMENTS

Similar documents
FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Reconfigurable System-on-Chip Design

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

2.0 Command and Data Handling Subsystem

9/14/ :38

Design and Verification of Nine port Network Router

Post-Configuration Access to SPI Flash Memory with Virtex-5 FPGAs Author: Daniel Cherry

Chapter 13. PIC Family Microcontroller

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

Microtronics technologies Mobile:

7a. System-on-chip design and prototyping platforms

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

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

Interfacing Analog to Digital Data Converters

Rapid System Prototyping with FPGAs

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

ON SUITABILITY OF FPGA BASED EVOLVABLE HARDWARE SYSTEMS TO INTEGRATE RECONFIGURABLE CIRCUITS WITH HOST PROCESSING UNIT

Concept Engineering Adds JavaScript-based Web Capabilities to Nlview at DAC 2016

Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs. MicroBlaze

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

SDLC Controller. Documentation. Design File Formats. Verification

8051 MICROCONTROLLER COURSE

Implementation of Web-Server Using Altera DE2-70 FPGA Development Kit

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Reconfigurable Low Area Complexity Filter Bank Architecture for Software Defined Radio

How To Fix A 3 Bit Error In Data From A Data Point To A Bit Code (Data Point) With A Power Source (Data Source) And A Power Cell (Power Source)

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

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

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

NIOS II Based Embedded Web Server Development for Networking Applications

Serial port interface for microcontroller embedded into integrated power meter

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Chapter 6: From Digital-to-Analog and Back Again

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Technical Aspects of Creating and Assessing a Learning Environment in Digital Electronics for High School Students

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Simple SDR Receiver. Looking for some hardware to learn about SDR? This project may be just what you need to explore this hot topic!

ZigBee Technology Overview

Simplifying Embedded Hardware and Software Development with Targeted Reference Designs

Figure 1 FPGA Growth and Usage Trends

Lab Experiment 1: The LPC 2148 Education Board

STEPPER MOTOR SPEED AND POSITION CONTROL

Embedded Ethernet Interface Using Arm Processor

A Scalable Large Format Display Based on Zero Client Processor

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

DECT Module UM-9802 Datasheet

USB - FPGA MODULE (PRELIMINARY)

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

EEM870 Embedded System and Experiment Lecture 1: SoC Design Overview

Design of a High-speed and large-capacity NAND Flash storage system based on Fiber Acquisition

Abstract. Cycle Domain Simulator for Phase-Locked Loops

MATLAB/Simulink Based Hardware/Software Co-Simulation for Designing Using FPGA Configured Soft Processors

Chapter 2 Logic Gates and Introduction to Computer Architecture

High-Level Synthesis for FPGA Designs

Test Driven Development of Embedded Systems Using Existing Software Test Infrastructure

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

DESIGN AND IMPLEMENTATION OF ONLINE PATIENT MONITORING SYSTEM

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Design and Functional Verification of A SPI Master Slave Core Using System Verilog

LogiCORE IP AXI Performance Monitor v2.00.a

Development of a Research-oriented Wireless System for Human Performance Monitoring

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

Modeling Registers and Counters

Switch Fabric Implementation Using Shared Memory

Digital Guitar Effects Pedal

Multiplexers Two Types + Verilog

Digital Signal Controller Based Automatic Transfer Switch

MSME TOOL ROOM, HYDERABAD CENTRAL INSTITUTE OF TOOL DESIGN

PART B QUESTIONS AND ANSWERS UNIT I

Testing of Digital System-on- Chip (SoC)

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

INDUSTRIAL CONTROL TECHNOLOGY. A Handbook for Engineers and Researchers. Peng Zhang. Beijing Normal University, People's Republic of China

Lecture N -1- PHYS Microcontrollers

Atmel Norway XMEGA Introduction

CHAPTER 11: Flip Flops

W a d i a D i g i t a l

Propagation Channel Emulator ECP_V3

Soft processors for microcontroller programming education

Lab 2.0 Thermal Camera Interface

International Journal of Scientific & Engineering Research, Volume 4, Issue 6, June ISSN

Pre-tested System-on-Chip Design. Accelerates PLD Development

How to design and implement firmware for embedded systems

Conversion Between Analog and Digital Signals

HARDWARE IMPLEMENTATION OF TASK MANAGEMENT IN EMBEDDED REAL-TIME OPERATING SYSTEMS

PROGRAMMABLE ANALOG INTEGRATED CIRCUIT FOR USE IN REMOTELY OPERATED LABORATORIES

SoC Curricula at Tallinn Technical University

DS1104 R&D Controller Board

Microcontroller-based experiments for a control systems course in electrical engineering technology

UNIT 4 Software Development Flow

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Manchester Encoder-Decoder for Xilinx CPLDs

SYSTEM-ON-PROGRAMMABLE-CHIP DESIGN USING A UNIFIED DEVELOPMENT ENVIRONMENT. Nicholas Wieder

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Transcription:

FPGA Realization of Multi Channel Data Acquisition System using Softcore Embedded Processor K.Babulu [1],M.Meher Chaitanya [2] Abstract -- To avoid threats from underwater Mines and Torpedoes a naval ship must produce very low acoustic and magnetic signatures. Most of these signatures are at very low frequencies; this makes designing data acquisition system for measuring acoustic and magnetic signatures very complex. This paper describes the way of designing data acquisition systems with nominal analog circuit.a complete six channel data acquisition system utilizing FPGA as a main processing element has been designed and realized. A soft-core processor (Microblaze) used to control the sampling rates, serial programming of ADC, enabling and disabling the filters (bypassing), and data acquisition from each channel. Finally a RS232 based debug module implemented in FPGA to debug application software and also uploading data from NAND flash and the total hardware realized using Spartan3 device. Keywords: DAS-Data Acquisition System, EDK-Embedded Development Kit, FPGA-Field Programmable Gate Array, PLL-Phase Locked Loop, SPI-Serial Peripheral Interface. I. INTRODUCTION The Underwater Technology Laboratory is actively researching several topics associated with the deployment of high technology systems beneath the surface of the ocean. The goal is to support the development of such systems for deployment by the oceanographic and industrial community and also to advance the state-of-the-art of underwater engineering globally. These include target detections, target imaging, proud and buried target detections and classifications using structural clues. To determine the limitations that a fluctuating environment places on these target detection methods, a data acquisition system was developed [1]. Data acquisition is the process of measuring quantities in the analog domain and converting it into the digital stream.das consists of the following input and processes. Signal Conditioning Data Conversion Data Processing Multiplexing Data handling with associated transmission Display and Storage This paper mainly concentrated on Data processing and data handling with associated transmission. A soft-core processor is a dynamically re-configurable processing core (on an FPGA). When the source of a soft-core is available, it is extremely easy to adapt this core to the designer s own needs and wishes. Extra peripherals like UARTs can be added or removed easily. II. DEVELOPMENT ENVIRONMENTS The proposed work has been developed using the following environments as shown in Table 1. Table 1. Development Tools Platform Language Target Device ISE Design suite13.1, MAT lab Virolog HDL,C Spartan 3 FPGA Device 286

III. DESIGN ASPECTS In this section we present a detailed description of the designed system together with the measured relevant performances namely, Clock Management SPI Communication ADC Interfacing Filter Designing Memory Mapping Figure.1 shows the block diagram of the data acquisition system using soft-core processor with FPGA as main processing element and describes in two sections Analog Section Digital Section Fig.1.Block diagram of multichannel DAS using Softcore processor A. CLOCK MANAGEMENT PLL is used to synthesize new frequencies which are a multiple of a reference frequency, with the same stability as the reference frequency. PLL IP cores are used for generating clock signals. It takes the FPGA input clock as the reference frequency and generates required frequencies for each module.figure.2 shows the RTL Schematic of PLL IP core instantiations and simulated result is shown in Fig.3. B. SPI COMMUNICATION SPI (Serial Peripheral Interface) bus, which is commonly used for communication between integrated circuits or sensors. SPI is a synchronous serial data link that operates in full duplex. Devices communicate using a master/slave protocol (shown in Fig.4), in which the master starts the data frame. When the master generates a clock then selects a slave device, data may be transferred in either or both directions simultaneously [3]. The TLC2578 ADC requires a falling clock edge while the chip select pin is in the high state in order to release the output data. This requirement can be satisfied by writing to a second device on the serial bus, while holding the ADC s chip select pin high [4].ADC in conjunction with the DAC, creating a complete data acquisition system and simulation result is shown in Fig.5. 287

Fig.2. Generation of PLL Fig.3. Simulation of PLL clock Fig.4.SPI Communication C. ADC INTERFACING Sigma-delta (ΣΔ) ADCs are inherently oversampling converters, and the resulting relaxation in the baseband ant aliasing filter requirements. The 16bit ADS1606 ADC is controlled by an external clock signal to be applied to the CLK input pin. For any high-speed data converter, a high quality clock is essential for optimum performance. Data retrieval is controlled through a simple parallel interface. The falling edge of the DRDY output indicates available data.figure.6 shows us the simulation of 16bit ADC. 288

Fig.5.Simulation of TLC2578 ADC Fig.6. Simulation result of ADS1606 ADC D. FILTER DESIGNING Analog section of DAS comprises magnetic, seismic, acoustic, ELFE and depth sensors. Preconditioning circuits of these are already incorporated in the hardware [7]. The present invention relates generally to low power, relatively high speed (e.g., with sample rates of roughly 200 kilo samples per second (KSPS)) data acquisition circuitry, especially to multi-channel data acquisition circuitry that includes SAR ADCs.The sensor outputs fed to pre-amplifier circuit for preconditioning and followed by a low pass anti aliasing filters. Magnitude and Phase responses of FIR low pass filters are shown in Fig.7 and Fig.8. Fig.7.Magnitude response 289

Fig.8.Phase response E. MEMORY MAPPING Memory Mapped I/O is a method of performing input/output between the processor and devices. A soft-core embedded processor Microblaze is used as a host processor. The Microblaze is a soft processor core designed for Xilinx FPGAs. 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 functionality of different IP cores added to the processor. The main features of this Microblaze processor on FPGA are user interface and shared memory [5]. i) User Interface The physical interface between FPGA and ADC is made through UART. A timer peripheral IP is added to allow the processor to measure time delays. A delay function will be used to create the required signal timing for the ADC interface.figure.9 shows the memory / bus interface. Fig.9.Memory /Bus Interface ii) 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. Memory sharing using micro blaze is shown in Fig.10. 290

Fig.10.Shared Memory IV. PROGRAMMING CONCEPTS Xilinx released its Embedded Development Kit (EDK) software to easily modify the Micro Blaze core. Extra peripherals like UART, SPI controllers or other IP cores can be easily configured using EDK. It also offers the capability of generating an ASIC design out of the Micro Blaze FPGA design. Xilinx Platform Studio and a set of IP cores those are required for developing embedded systems using Micro Blaze Processor.Figure.11 shows us how an EDK can configure and generate required design. Fig.11.EDK Tool Flow Diagram After implementing the Microblaze processor C programming language is used for develop software application. The software application controls the functionality of different IP cores added to the processor. The protocol includes sending of commands NAND flash, reading NAND ID, writing reading data from NAND flash memory. A verilog HDL coding is used to program NAND flash and memory modules. A RS232 based debug module implemented in FPGA to debug application software and also uploading data from NAND flash. A hyper terminal is created to get results from host processor.figure.13 shows the performance of the data acquisition system with a nominal analog circuit. V. CONCLUSION This design is purely hardware oriented and hence used to develop a single chip which can be used widely for data acquisition, data storage and data transmission applications. In this paper, we have implemented different modules like PLL clocking, soft core processor implementation; filter designing and NAND flash modules. It is 291

obvious that the simple implementation cannot compete with state of the art of integrated solutions. The disadvantages arises from circuit form factor introducing higher parasitic effects and overall design simplicity. Fig.12.Flowchart Fig.13.NAND Flash Result REFERENCES [1] A.Longoni, C.Fiorini, C.Guazzoni, A.Gianoncelli, L.Strüder, H.Soltau,P.Lechner, A.Bjeoumikhov, J.Schmalz, N.Langhoff, R.Wedell, "A new XRF spectrometer based on a ring-shaped multi-channel Data Acquisition System", IEEE Trans. Nucl. Sci., Vol. 49,no.3, June 2012, 1001-1005. [2] S.Ohkawa, M.Yoshizawa, K.Husimi: Direct synthesis of the gaussian filter for nuclear pulse amplifiers, Nucl. Instr. Meth. 138 (1976) pp. 85-92. [3] XILINX Spartan User Manual. [4] G. F. Knoll, Radiation Detection and Measurement, 3rd ed., Ed. [5] ADS1606, AD7765, TLC2578 datasheets. 292

[6] Mishra, P. and Dutt, N., Architectural description languages for programmable embedded systems, IEE Proceedings of Computers and Digital Techniques, May 2005, pp. 285 297. [7] Ernst, R.: Codesign of embedded systems: status and trends, Proceedings of IEEE Design and Test, April June 1998, pp.45 54. [8] Xilinx Incorporated Website, www.xilinx.com, June 2006. [9] MicroBlaze Processor Reference Guide, Xilinx Corporation, October5, 2011. [10] Lombardi, A., Bonizzoni, E., Malcovati, F. Maloberti, A Low Power Sinc3 Filter for SD Modulators,2007, ISBN 1-4244-0921-7 AUTHOR BIOGRAPHY Dr.K.Babulu 1 received the Ph.D. degree in VLSI from JNTUA, India in the year 2010. At present he has been working as Professor and headed with the department of ECE, UCEK, JNTUK, Kakinada, India. His research interests include VLSI Design, Embedded System Design, ASIC Design and PLD design. He has published over 41 papers in various national and international journals and conferences. M.Meher Chaitanya 2 is a Project Associate pursuing her MTech Degree with computer and Communications specialization in the department of Electronics and Communication Engineering, UCEK, JNTUK, Kakinada. 293