B I O E N / Biological Signals & Data Acquisition

Similar documents
VIRTUAL INSTRUMENTATION

Major Differences Between the DT9847 Series Modules

Sample. Data Acquisition and Signal Conditioning. Course Manual. Course Software Version 2011 February 2012 Edition Part Number P-01

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Analogue Inputs Resolution Assignment

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

Workshop III: Analog and Sensors

Introduction To LabVIEW and the DSP Board

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

OPTIMUM Power Technology: Low Cost Combustion Analysis for University Engine Design Programs Using ICEview and NI Compact DAQ Chassis

Chapter 1. Introduction to Digital Signal Processing

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

Amplification. Most common signal conditioning

Digitization: Sampling & Quantization

Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y

Converters: Analogue to Digital

Decade Counters Mod-5 counter: Decade Counter:

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Digital Systems Principles and Applications. Chapter 1 Objectives

Real Time Bio-signal Acquisition System

Introduction: Overview. EECE 2510 Circuits and Signals: Biomedical Applications. ECG Circuit 2 Analog Filtering and A/D Conversion

Experiment 9 Analog/Digital Conversion

AI-1616L-LPE. Features. High-precision Analog input board (Low Profile size) for PCI Express AI-1616L-LPE 1. Ver.1.02 Ver.1.01

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

AD16-64(LPCI)LA. Non-isolated high precision analog input board for Low Profile PCI AD16-64(LPCI)LA 1. Ver.1.01

Getting Started with the LabVIEW Sound and Vibration Toolkit

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

1.1 Digital Signal Processing Hands-on Lab Courses

Analog to Digital Conversion

Lab experience 1: Introduction to LabView

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

Transducers and Sensors

UNIT V 8051 Microcontroller based Systems Design

ni.com Digital Signal Processing for Every Application

Towards More Efficient DSP Implementations: An Analysis into the Sources of Error in DSP Design

Note 5. Digital Electronic Devices

CHAPTER 3 ECG SIGNAL RECORDING USING LABVIEW

EC14150A AC-Coupled, 14-Bit ExpressCard Digitizer

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Sound and Vibration Data Acquisition

Quick Reference Manual

How advances in digitizer technologies improve measurement accuracy

Experiment # 5. Pulse Code Modulation

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

DT9837 Series. High Performance, USB Powered Modules for Sound & Vibration Analysis. Key Features:

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Fig. 1. The Front Panel (Graphical User Interface)

AI-1664LAX-USB. Features. 100KSPS 16-bit Analog Input Unit for USB AI-1664LAX-USB 1. Ver.1.01

by Giovanni Moschioni Researcher Politecnico di Milano, Facoltà di Ingegneria di Lecco, Italy

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

SignalTap Plus System Analyzer

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

LabView Exercises: Part II

Introduction to Embedded Microcomputer Systems Lecture Discrete digital signal. Continuous analog signal

Digital Logic Design: An Overview & Number Systems

Session 1 Introduction to Data Acquisition and Real-Time Control

(Refer Slide Time 1:58)

Experiment 2: Sampling and Quantization

ni.com Sensor Measurement Fundamentals Series

Analog Input & Output

medlab One Channel ECG OEM Module EG 01000

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

What s New in Raven May 2006 This document briefly summarizes the new features that have been added to Raven since the release of Raven

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

Introduction to Computers and Programming

Modified Sigma-Delta Converter and Flip-Flop Circuits Used for Capacitance Measuring

DPD80 Visible Datasheet

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules

Experiment 13 Sampling and reconstruction

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

Analog-to-Digital Conversion

Introduction to Mechatronics. Fall Instructor: Professor Charles Ume. Analog to Digital Converter

DPD80 Infrared Datasheet

Digital Strobe Tuner. w/ On stage Display

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

Virtual Vibration Analyzer

Machinery Fault Diagnosis and Signal Processing Prof. A R Mohanty Department of Mechanical Engineering Indian Institute of Technology-Kharagpur

Sound and Vibration Data Acquisition

ECSE-4760 Real-Time Applications in Control & Communications INTRODUCTORY LAB EXPERIMENT

Chapter 11 Sections 1 3 Dr. Iyad Jafar

RF Record & Playback MATTHIAS CHARRIOT APPLICATION ENGINEER

Chapter 2 Signals. 2.1 Signals in the Wild One-Dimensional Continuous Time Signals

Logic Analysis Basics

AD16-16U(PCI)EV. Features. High-Speed & Resolution Analog Input Board for PCI AD16-16U(PCI)EV 1. Ver.1.02

Logic Analysis Basics

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711

Scanning A/D Converters, Waveform Digitizers, and Oscilloscopes

Analyzing Modulated Signals with the V93000 Signal Analyzer Tool. Joe Kelly, Verigy, Inc.

2 MHz Lock-In Amplifier

Experiment # 4 Counters and Logic Analyzer

Scalable Low cost Ultrasound Beam former

Table of Contents Introduction

The measurements are stored in non-volatile memory, which retains data even when the power down.

Sensor Development for the imote2 Smart Sensor Platform

Transcription:

B I O E N 4 6 8 / 5 6 8 Lectures 1-2 Analog to Conversion Binary numbers Biological Signals & Data Acquisition In order to extract the information that may be crucial to understand a particular biological event or system, analog signal processing techniques and digital signal processing techniques can be combined in a sophisticated data acquisition system. 1

Signal pathway Sensor body Analog Signal Conditioning Control Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display Analog / continuous Types of Processing Analog: filtering, triggering, amplifying / Discrete : filtering, averaging, spectral analysis, correlation, statistical analysis, interpretation Sensors Transducers convert one energy domain to another Sensors typically mech/chem/optical electronic Actuators typically electric/electronic mech/chem/etc. Act via Modulation of applied power, e.g. photodetector, strain gauges Transduction of power in measured system, e.g. EKG, EMG, capacitive microphones Signal pathway Sensor body Analog Signal Conditioning Control Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display 2

Analog signal conditioning Amplify: multiplicative increase in voltage* Filter: modify amplitude as a function of frequency* Trigger: Convert signal transitions into clock pulses *Output/input function should be linear wrt amplitude Signal pathway Sensor body Analog Signal Conditioning Control Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display Analog to digital conversion Continuous discrete because we use discrete computers Quantize amplitude by increments of v (floating pt.) Sample in time at intervals of t = 1/f S What we measure: v(t) after amplifier & low pass filter What get from ADC: c(n), c and n integers How we interpret it: v c(n t) v n (t n ) Sensor body Analog Signal Conditioning Control Signal pathway Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display 3

Source of the ECG Superior vena cava Sinoatrial node Internodal paths Atrioventricular node Bundle of His Right bundle branch The ECG a measure of the electrical activity of the heart. Continuous from the heart, but discrete in our plot. Voltage (mv) time Time ECG seconds mv 0.000 0.065 0.008 0.095 0.016 0.135 0.024 0.085 0.032 0.055 0.040-0.015 4

More Analog to digital conversion What we really get when we convert A to D is a sequence of numbers. We need to store t 0 and t in order to recover timing LabVIEW waveform Might also want v and amplifier gain Signal pathway Sensor body Analog Signal Conditioning Control Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display processing Processes: filtering, frequency transformation, scaling, event detection, counting, statistical analysis, control Hardware: Logic array, microcontroller, microprocessor Software: MATLAB, Excel, R, C, ImageJ, LabVIEW Signal pathway Sensor body Analog Signal Conditioning Control Analog to (A/D) to Analog Signal Processing Modeling Analysis Storage Display 5

Converting continuous to discrete Analog signals need be digitized before they can be stored in digital formats and later digitally processed. The conversion can be performed by using an Analog-to- Converter (ADC). This is where we use binary numbers. Binary numbers in A-to-D Conversion Computers, and hence ADCs, use binary numbers Each binary number is composed of 1s and 0s; each binary digit is one bit The number of possible values in a b-bit number is 2 b 2 3 = 8, 2 8 = 256, 2 12 = 4096, 2 16 = 65,536 Usually count 0 2 b 1 6

Binary Decimal Hexadecimal Binary Decimal Hexadecimal 0001 1 1 1010 10 A 0010 2 2 1100 12 C 0011 3 3 1111 15 F 0100 4 4 0101 5 5 Binary Decimal Hex 0110 6 6 0001 1010 26 1A 1000 8 8 0011 0110 54 36 1001 9 9 1111 1111 255 FF B I O E N 4 6 8 (text) 42 49 4F 45 4E 34 36 38 (hex) 3 4 3 6 3 8 0011 0100 0011 0110 0011 1000 or 316 (integer) = 0000 0001 0011 1100 7

Analog-to- Conversion The computer can store the numbers as: Unsigned Integers (whole numbers) Signed integers (positive and negative) Floating point numbers (mantissa and exponent) Integers usually 8, 16, or 32 bits FP numbers Single precision (32-bit) Double precision (64-bit) Analog-to- Converter (ADC) is really a Continuous-to-discrete converter Assume input range 0 < v in < 10 V Quantized into 2 12 = 4096 parts 9,007.56 4095 Analog (mv) 12-bit ADC 7.34 4.88 2.44 < 2.44 3 2 1 0 8

The ECG a measure of the electrical activity of the heart. Continuous from the heart, but discrete in our plot. Voltage (mv) time Time ECG seconds mv 0.000 0.065 0.008 0.095 0.016 0.135 0.024 0.085 0.032 0.055 0.040-0.015 Within ADC int16 2130 3113 4424 2785 1802-492 v = c v ADC output float or int 65 95 135 85 55-15 t = n t Assume 16-bit ADC over ± 1 V range v = 2000 mv / 2 16 =.00305 mv f s = 125 Hz = 1/(0.008 sec) Amplifier gain 1000 V/V Time ECG seconds mv 0.000 65 0.008 95 0.016 135 0.024 85 0.032 55 0.040-15 Divide by amp gain Time ECG seconds mv 0.000 0.065 0.008 0.095 0.016 0.135 0.024 0.085 0.032 0.055 0.040-0.015 9

Analog-to- Conversion An ADC has a finite resolution. Suppose the ADC has b bits resolution and the input peak-to-peak voltage range is V pp. Then the smallest quantizable voltage, represented by the least significant bit (LSB), is q = V pp / 2 b. b usually from 8 to 16 Analog-to- Conversion For a 12-bit ADC device with a maximum input voltage range [0,,+10] volts (V pp =10), the smallest detectable voltage is: q = 10 /2 12 V = 10/4096 V 2.44 mv The range [0 +10] is the dynamic range 0 V (analog) integer 0 (digital) +10 V (analog) 4096 1 (digital) 10

USB-6008 / 6009 USB-6008 ADS7871 What we really get when we convert A to D is a sequence of numbers. We need to store t 0 and t in order to recover timing Might also want v and amplifier gain ADS7871 in USB-6008 / 6009 USB-6008 ADS7871 11

Data I/O with software MATLAB provides DAQ toolbox and GUI generator LabVIEW (National Instruments, Austin) Inherently a combination of user interface, data I/O interface, and signal manipulator Motto: The Software is the Instrument. LabVIEW tradeoffs Strengths Continuous operation Quick programming (once you know how) Designed for data flow, in form and function Choice of complexity of functions Industry standard, very well supported License for UW -> low software cost Weaknesses Array handling Time axis on plots NI hardware is pricey; LabVIEW expensive for research/industry 12