Analog to digital and digital to analog converters

Similar documents
Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

A-D and D-A Converters

Electronics A/D and D/A converters

Analog to Digital Conversion

System on a Chip. Prof. Dr. Michael Kraft

Data Acquisition: A/D & D/A Conversion

Digital to Analog Conversion. Data Acquisition

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Lecture 9, ANIK. Data converters 1

Computerized Data Acquisition Systems. Chapter 4

Chapter 2 Signal Conditioning, Propagation, and Conversion

The need for Data Converters

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

Analog to Digital Converters

Cyber-Physical Systems ADC / DAC

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

CHAPTER ELEVEN - Interfacing With the Analog World

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps

Electronics II Physics 3620 / 6620

10. Chapter: A/D and D/A converter principles

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

16.2 DIGITAL-TO-ANALOG CONVERSION

Design And Simulation Of First Order Sigma Delta ADC In 0.13um CMOS Technology Jaydip H. Chaudhari PG Student L. C. Institute of Technology, Bhandu

Microprocessors & Interfacing

Chapter 2: Digitization of Sound

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Theoretical 1 Bit A/D Converter

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

Analogue-to-Digital Conversion

PHYS225 Lecture 22. Electronic Circuits

Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

How do ADCs work? Martin Rowe, Senior Technical Editor -- 7/1/2002 Test & Measurement World

LINEAR IC APPLICATIONS

CENG4480 Lecture 04: Analog/Digital Conversions

NZQA unit standard version 2 Page 1 of 6. Demonstrate and apply fundamental knowledge of digital and analogue electronics for IMC technicians

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

Analog to Digital Conversion

PC-based controller for Mechatronics System

NZQA registered unit standard version 1 Page 1 of 6

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Data Converters. Lecture Fall2013 Page 1

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

A REVIEW ON 4 BIT FLASH ANALOG TO DIGITAL CONVERTOR

EEE312: Electrical measurement & instrumentation

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

10 Speech and Audio Signals

EE 308 Spring Using the HCS12 PWM

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

Specifying A D and D A Converters

P a g e 1. Introduction

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Serial communication inverter. Lab bench scenario. Inverter Board, A/D, D/A, PWM, Filters, Encoders. Inverter board. and Dimmer introduction

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

CS302 - Digital Logic Design Glossary By

EE251: Tuesday October 10

Analogue to Digital Conversion

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

Chapter 8. Chapter 9. Chapter 6. Chapter 10. Chapter 11. Chapter 7

Analog-to-Digital i Converters

Data Acquisition & Computer Control

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation

Understanding the ADC Input on the MSC12xx

Telecommunication Electronics

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

Analog to Digital Converters (ADC) Rferences. Types of AD converters Direct (voltage comparison)

Microprocessor-Compatible 12-Bit D/A Converter AD667*

Applying the New CMOS MICRO-DAC

ANALOG-TO-DIGITAL CONVERTERS

Page 1. Midterm #2. OpAmp Review. Inverting & Non-inverting Circuits CS/ECE 6780/5780. Al Davis. Almost ubiquitous analog circuit element since ~1968

IES Digital Mock Test

L9: Analog Building Blocks (OpAmps, A/D, D/A)

L10: Analog Building Blocks (OpAmps,, A/D, D/A)

Outline. Analog/Digital Conversion

L9: Analog Building Blocks (OpAmps,, A/D, D/A)

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

Figure 1.1 Mechatronic system components (p. 3)

ADC Parameters. ECE/CS 5780/6780: Embedded System Design. Common Encoding Schemes. Two-Bit Flash ADC. Sixteen-Bit Dual Slope ADC

Section 1. Fundamentals of DDS Technology

Lab.3. Tutorial : (draft) Introduction to CODECs

APPLICATION NOTE. Atmel AVR127: Understanding ADC Parameters. Atmel 8-bit Microcontroller. Features. Introduction

Real Time Embedded Systems. Lecture 1 January 17, 2012

The simplest DAC can be constructed using a number of resistors with binary weighted values. X[3:0] is the 4-bit digital value to be converter to an

SYLLABUS of the course BASIC ELECTRONICS AND DIGITAL SIGNAL PROCESSING. Master in Computer Science, University of Bolzano-Bozen, a.y.

Software Programmable Gain Amplifier AD526

Design Implementation Description for the Digital Frequency Oscillator

Analog and Telecommunication Electronics

Analyzing A/D and D/A converters

Analog/Digital and Sampling

Linear Integrated Circuits

Analogue to Digital Conversion

Working with ADCs, OAs and the MSP430

SAMPLING AND RECONSTRUCTING SIGNALS

L10: Analog Building Blocks (OpAmps,, A/D, D/A)

EE292: Fundamentals of ECE

Transcription:

Analog to digital and digital to analog converters A/D converter D/A converter ADC DAC ad da Number bases Decimal, base, numbers - 9 Binary, base, numbers and Oktal, base 8, numbers - 7 Hexadecimal, base 6, numbers 9 and A - F

The structure of a decimal number Integer number 346= 3 + 3 + 4 + 6 Number with decimals 5.857= 5 8 + -+ 5 - + 7-3 Conversion between bases Decimal to hexadecimal 346 6 46 6 = 46 = 9 6 6 9 6 = 9 6 = 6 9 = 9 6 ( 346 ) = ( 9A) 6 = A 6

Conversion between bases cont. Decimal to octal 346 = 93 8 8 93 = 36 5 8 8 36 = 4 4 8 8 4 = 4 8 8 4 4 5 ( 346 ) = ( 445) 8 Conversion between bases cont. Decimal to binary 346 73 73 = = 586 586 = 93 93 = 46 46 = 73 73 = 36 36 = 8 8 = 9 9 = 4 4 = = = ( 346 ) = ( ) 3

Conversion between bases cont. Hexadecimal to binary ( 3AD ) 6 = ( ) One hexadecimal digit = four binary bits Word length 8 bits = byte (char) 6 bits = word (short, short integer, some times integer) 3 bits = long word or double word (long, long integer, some times integer) 64 bits = long long word 4

Floating point numbers IEEE754 3 3 3 S Exponent, E Mantissa, M N = S E 7 ( ) (.M) < E < 55 Sign bit Smallest number 6,8 38 Largest number 7 3 38 ( ) 3.4 Integer values Fixed point Fractional numbers 5

Negative numbers Sign bit value Two complement ( ) value = value + value Two complement ( ) = ( ) invert all bits ( ) add one to LSB 6 + ( 38) ( 6) = ( 38) + ( 6) = ( ) ( ) = ( ) + ( ) = + = ( ) 6

General A/D- and D/A-quantities n bits gives n N= different values Resolution or N max = = = N n max n nipolar and bipolar converters n/ - Out - max (- -(n-) ) max In - n/ 7

Conversion error, SQNR nipolar SQNR = unipolar = max log = max n maximal level log maximal log error level = log max = max log = max N n + ( ) = ( n+ ) log( ) = 6. ( n+ ) 6 ( n+ ) SQNR Conversion error, SQNR bipolar = = log maximal Bipolar maximal amplitude max log = max n error level log = log max = n ( ) = n log( ) = 6. n 6 n max log = max N Number of bits 8 6 4 SQNR [db] 48 7 96 44 8

Logarithmic converter compander.9.8.7 A-law, A=87.56 A- and µ-law companding µ-law, µ=55.6.5.4.3.....3.4.5.6.7.8.9 Operational amplifiers 9

Comparator + in - out ref in < ref out negative in > ref out positive Comparator cont. in < in out negative in > in out positive

Inverting amplifier in out out in R R R R I I = = = Summing amplifier in, 3 in, 3 out 3 out in, in, 3 R R R R R R R I I I = = + = +

Non-inverting amplifier out R + R = R R = + R in Buffer out = in

Buffer cont. in source load out Buffer cont. in + out 3

Integrating amplifier out in = t R C D/A-converters Resistance ladder converter MX 4

Current summing D/A One bit = max out, LSB = max Current summing D/A Two bits = max out, LSB = 4 max = max out, bit = max 5

Current summing D/A Four bits R-R ladder D/A One bit I ref = R ref + R = R ref I f I ref = = R max max = I f R f = = 6

R-R ladder D/A Two bits R-R ladder D/A Four bits 7

D/A-converted signal Smoothing filter Amplitude.8.6.4. -. -.4 -.6 -.8 -..4.6.8 Time Amplitude Smoothed DAC signal.8.6.4. -. -.4 -.6 -.8 -..4.6.8 Time A/D converters Flash converter Decoding net 8

A/D converters Flash converter cont. Interval ref 4 ref ref 4 Bits from comparators Binary word ref 3 ref 4 3 ref ref 4 p-counting ADC 9

p-counting ADC cont. p-counting ADC cont. Limitations Large variation in conversion time The conversion time depends on the level of the input voltage npredictable conversion time

p-counting ADC cont ADC using succesive approximation

ADC using succesive approximation cont. max Voltage in Time Single-slope integrating ADC S C out ( ) ref = R C ref t = t R C - ref R - Integrator + + Analog input in Clock Comparator - Control logic Stop conversion Start/stop count Counter Digital output n bits

Single-slope integrating ADC cont. ref t R C Dual-slope integrating ADC 3

Dual-slope integrating ADC cont. Voltage Variable slope Fixed slope Phase in = t R C ref in RC ref RC Phase = Phase ref t R C Time Phase Phase Fixed interval t ref Variable interval t x Aliasing H Aliased signals True signals f s / f s f 4

Sampling cont. Sampling theorem: For faithful reproduction of the sampled signal the sampling frequency has to be more than twice the highest signal frequency Sampling cont. 5

Oversampling Sample & Hold 6

Sample & Hold cont..8.6.4 Sampled signal with hold circuits Amplitude. -. -.4 -.6 -.8 -..4.6.8 Time Sample & Hold cont..8.6.4 Sampled signal with track and hold circuit Amplitude. -. -.4 -.6 -.8 -..4.6.8 Time 7

Sigma-delta modulator Sigma-delta modulators and noise Noise shaping 8

ADC with multiplexed inputs Analog inputs ADC with multiplexed inputs cont. Maximal sampling frequency with single channel f s, max Maximal sampling frequency with N channels f s, max N 9

Angle decoders Incremental decoders Angle decoders cont. Absolute decoders 3

Angle decoders cont. Absolute decoders Decimal Bit Bit Bit 3 4 5 6 7 Angle decoders cont. Absolute decoders cont. Bit Bit Bit Decimal 3 Correct/False Correct False 6 False 4 Correct 3

Angle decoders cont. Absolute decoders cont. Gray coding Decimal Bit Bit Bit 3 4 5 6 7 Voltage to frequency converters 3

Converter specifications Voltage span Resolution Accuracy Conversion time (ADC) Settling time (DAC) Offset error Amplification (scale factor) error Linearity error Converter specifications cont. Offset error n - Out -n max (- -n ) max In 33

Converter specifications cont. Amplification (scale factor) error n - Out -n max (- -n ) max In Converter specifications cont. Linearity error n - Out -n max (- -n ) max In 34

Skew in parallel communication Bit Bit Bit Skew Bit 3 35