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

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

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Note 5. Digital Electronic Devices

Digital Fundamentals. Introduction to Digital Signal Processing

Decade Counters Mod-5 counter: Decade Counter:

Converters: Analogue to Digital

WINTER 14 EXAMINATION

WINTER 15 EXAMINATION Model Answer

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Analog Input & Output

ADC0804C, ADC BIT ANALOG-TO-DIGITAL CONVERTERS WITH DIFFERENTIAL INPUTS

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

Data Conversion and Lab (17.368) Fall Lecture Outline

Analog-to-Digital Conversion

PHYS 3322 Modern Laboratory Methods I Digital Devices

AD9884A Evaluation Kit Documentation

Digital Circuits. Innovation Fellows Program


-SQA-SCOTTISH QUALIFICATIONS AUTHORITY HIGHER NATIONAL UNIT SPECIFICATION GENERAL INFORMATION

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Analog to Digital Conversion

Experiment # 4 Counters and Logic Analyzer

ELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion. Eng. Salma Hesham

Delta-Sigma ADC

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Digital Systems Principles and Applications. Chapter 1 Objectives

Log-detector. Sweeper setup using oscilloscope as XY display

Chapter 11 Sections 1 3 Dr. Iyad Jafar

MBI5152 Application Note

EECS145M 2000 Midterm #1 Page 1 Derenzo

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

Converting between Analog and Digital Domains

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

Alice EduPad Board. User s Guide Version /11/2017

LABORATORY 14: ANALOG TO DIGITAL CONVERSION USING ADC0809

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

EECS 373 Design of Microprocessor-Based Systems

TV Character Generator

Notes on Digital Circuits

Notes on Digital Circuits

successive approximation register (SAR) Q digital estimate

A Novel Asynchronous ADC Architecture

Analog input and output

Contents Circuits... 1

Digital Audio Design Validation and Debugging Using PGY-I2C

AI-1204Z-PCI. Features. 10MSPS, 12-bit Analog Input Board for PCI AI-1204Z-PCI 1. Ver.1.04

MBI5050 Application Note

TV Synchronism Generation with PIC Microcontroller

Experiment 2: Sampling and Quantization

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Theory and Practice of Tangible User Interfaces. Thursday Week 3: Analog Input. week. Sensor 1: Potentiometers. Analog input

Displaying of Graphics on CRO through 8051 Microcontroller and Digital to Analog Converter

ECE 372 Microcontroller Design

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

GAMBIT DAC1 OPERATING MANUAL

THE KENYA POLYTECHNIC

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

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

Complete 10-Bit, 25 MHz CCD Signal Processor AD9943

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Tutorial Introduction

16 Stage Bi-Directional LED Sequencer

CDK3402/CDK bit, 100/150MSPS, Triple Video DACs

VIRTUAL INSTRUMENTATION

Complete 12-Bit 40 MHz CCD Signal Processor AD9945

A/D and D/A convertor 0(4) 24 ma DC, 16 bits

Complete 10-Bit/12-Bit, 25 MHz CCD Signal Processor AD9943/AD9944

THE STRUCTURE AND ADVANTAGES OF DIGITAL TRAINING SET FOR COMPUTER ENGINEERING

International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE)

3-Channel 8-Bit D/A Converter

8 DIGITAL SIGNAL PROCESSOR IN OPTICAL TOMOGRAPHY SYSTEM

Introduction to Serial I/O

Page 1. Introduction to Serial I/O. Definitions. A Serial Channel CS/ECE 6780/5780. Al Davis. Today s topics: Serial I/O

Design and Implementation of an AHB VGA Peripheral

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Analog-to-Digital Conversion (Part 2) Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Scans and encodes up to a 64-key keyboard. DB 1 DB 2 DB 3 DB 4 DB 5 DB 6 DB 7 V SS. display information.

Future of Analog Design and Upcoming Challenges in Nanometer CMOS

B I O E N / Biological Signals & Data Acquisition

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

(Refer Slide Time: 2:00)

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

Point System (for instructor and TA use only)

A 400MHz Direct Digital Synthesizer with the AD9912

Project Final Report. Z8 Arcade! 4/25/2006 James Bromwell,

Final Exam review: chapter 4 and 5. Supplement 3 and 4

REMOTE I/O R30 SERIES. PC CONFIGURATOR SOFTWARE Model: R30CFG Ver Users Manual

Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used

Interfacing the TLC5510 Analog-to-Digital Converter to the

Analogue Inputs Resolution Assignment

The Micropython Microcontroller

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

Is the Golden Age of Analog circuit Design Over?

Flip-flops, like logic gates are defined by their truth table. Flip-flops are controlled by an external clock pulse. C

COMP2611: Computer Organization. Introduction to Digital Logic

Chip-Level DFT: Some New, And Not So New, Challenges

Transcription:

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

In most of the cases, the PPI 8255 is used for interfacing the analog to digital converters with microprocessor. The analog to digital converters is treaded as an input device by the microprocessor, that sends an initialising signal to the ADC to start the analogy to digital data conversation process. The start of conversation signal is a pulse of a specific duration. A/D D/A Converter 2

The process of analog to digital conversion is a slow process, and the microprocessor has to wait for the digital data till the conversion is over. After the conversion is over, the ADC sends end of conversion EOC signal to inform the microprocessor that the conversion is over and the result is ready at the output buffer of the ADC. These tasks of issuing an SOC pulse to ADC, reading EOC signal from the ADC and reading the digital output of the ADC are carried out by the CPU using 8255 I/O ports. A/D D/A Converter 3

The time taken by the ADC from the active edge of SOC pulse till the active edge of EOC signal is called as the conversion delay of the ADC. It may range anywhere from a few microseconds in case of fast ADC to even a few hundred milliseconds in case of slow ADCs. The available ADC in the market use different conversion techniques for conversion of analog signal to digitals. Successive approximation techniques and dual slope integration techniques are the most popular techniques used in the integrated ADC chip. A/D D/A Converter 4

General algorithm for ADC interfacing contains the following steps: 1. Ensure the stability of analog input, applied to the ADC. 2. Issue start of conversion pulse to ADC 3.Read end of conversion signal to mark the end of conversion processes. 4. Read digital data output of the ADC as equivalent digital output. 5. Analog input voltage must be constant at the input of the ADC right from the start of conversion till the end of the conversion to get correct results. This may be ensured by a sample and hold circuit which samples the analog signal and holds it constant for a specific time duration. The microprocessor may issue a hold signal to the sample and hold circuit. A/D D/A Converter 5

6. If the applied input changes before the complete conversion process is over, the digital equivalent of the analog input calculated by the ADC may not be correct. A/D D/A Converter 6

Signals / PINS A/D D/A Converter 7

Analog input IN0 to IN7 Address Lines A B C Digital output bits D0 to D7 SC - Start conversion; input pin; a low to high pulse is given EOC -End of conversion; output pin; goes low when the conversion is over ALE - Input pin; low to high pulse is required to latch in the address Clock input - Clock input; to provide external clock A/D D/A Converter 8

Interfacing of ADC with 8255 A/D D/A Converter 9

A/D D/A Converter 10

A/D D/A Converter 11

Digital to Analog Converter A/D D/A Converter 12

Digital to Analog Converter The digital-to-analog converter (DAC) is a device widely used to convert digital pulses to analog signals. two methods of creating a DAC: binary weighted and R/2R ladder. The first criterion for judging a DAC is its resolution, which is a function of the number of binary inputs. The common ones are 8, 10, and 12 bits. The number of data bit inputs decides the resolution of the DAC since the number of analog output levels is equal to 2, where n is the number of data bit inputs. Therefore, an 8-input DAC such as the DAC0808 provides 256 discrete voltage (or current) levels of output. Similarly, the 12- bit DAC provides 4096 discrete voltage levels A/D D/A Converter 13

MC1408 DAC (or DAC0808) In the MC1408 (DAC0808), the digital inputs are converted to current (I out ), and by connecting a resistor to the I out pin, we convert the result to voltage. The total current provided by the I out pin is a function of the binary numbers at the DO D7 inputs of the DAC0808 and the reference current (I re f), and is as follows: A/D D/A Converter 14

where DO is the LSB, D7 is the MSB for the inputs, and I re f is the input current that must be applied to pin 14. The I re f current is generally set to 2.0 ma. A/D D/A Converter 15

A/D D/A Converter 16