1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Lecture Notes Part 2Lecture Notes Part 2 ET 438 b Digital Control and Data Acquisition et438b-2.pptx1.
Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
EET 252 Unit 6 Analog-to-Digital Conversion
Digital to Analogue Conversion
Digital to Analog and Analog to Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Shuvra Das University of Detroit Mercy
Instrumentation - Introduction 10/9/2013Ohio University - Dr. Cyders1 Engineering measurements are usually taken by some form of transducer. A transducer.
Lecture 9: D/A and A/D Converters
Digital to Analog Converters Alexander Gurney Alexander Pitt Gautam Puri 1.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez.
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
CMOS VLSIAnalog DesignSlide 1 CMOS VLSI Analog Design.
Digital to Analog Converters
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Analog to Digital Data Conversion
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.
University of Tehran 1 Interface Design Transforms Omid Fatemi.
AD/DA Conversion Techniques - An Overview J. G. Pett  Introductory tutorial lecture for :- ‘Analogue and digital techniques in closed-loop regulation.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
CSCI1600: Embedded and Real Time Software Lecture 14: Input/Output II Steven Reiss, Fall 2015.
Analog/Digital Conversion
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
A/D and D/A Converters. Digital-to-analogue converters The digital-to-analog converter, known as the D/A converter (read as D-to-A converter) or the DAC,
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Electronic instrumentation Digitization of Analog Signal in TD
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Lecture Notes / PPT UNIT III
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World.
Digital Thermometer using 8085A 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전자공학과 박 찬식
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Data Acquisition ET 228 Chapter
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
EI205 Lecture 13 Dianguang Ma Fall 2008.
Chapter 3 Sampling.
Digital Control Systems Waseem Gulsher
Chapter 2 Signal Sampling and Quantization
Analog to Digital Data Conversion
لجنة الهندسة الكهربائية
Filters A filter removes a signal’s unwanted frequency components.
Lesson 8: Analog Signal Conversion
Digital to Analog Converters (DAC)
Conversation between Analogue and Digital System
Sampling and Quantization
Chapter 7 Converters.
 Both data about the physical world and control signals sent to interact with the physical world are typically "analog" or continuously varying quantities.
Presentation transcript:

1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식 교육관 325 호, T. 3259

목차 Binary Code Sampling Concepts Digital To Analog Converters 2

3 Signal Conversion System n Analog to Digital u Conversion of Sensor Output to Binary Code n Digital to Analog u Conversion of Binary Code to Analog Signal

4 Binary Code n Numbers in Base 10 u = 4     n Numbers in Base 2 u 1101 = 1     2 0 = 13 (Decimal) n n bits Binary Number u Unipolar: 0 ~ 2 n –1 u Bipolar: - 2 n-1 ~ 2 n-1 –1 n Binary Strings as a fraction of full scale u Used in ADC u 0 ~ 1 – 2 -n u 1101 = 1     2 -4 = 13/16 (Decimal) u See Figure 4.2, for 4 bits Natural Binary Code

5 Resolution and MRV n For n bits Binary u Resolution : 2 -n n MRV (Minimum Representable Voltage) u MRV = Full Scale  Resolution u Example F Full Scale of 10V, 4-bit Encoding F MRV = 10/16 = 625mV F Impossible to represent a voltage lower than 625mV u To improve accuracy of conversion, Increase n F Example: n = 8 F MRV = 10 / 28 = 39mV

6 BCD and Gray Code n Binary Coded Decimal u 4 bit is used to represent 0 ~ 9 F 2 4 = 16 (6 개는 버림 ) u Example F 283 Decimal F Binary F BCD n Gray Code u Useful when angle is measured u Change by only one bit as it proceed from one bit pattern to the next

7 Bipolar Codes

8 Code Conversion

9

10 Sampling Concepts n Sampling n Fourier Transform

11 Sampling Theorem n The conditions for exact representation and recovery are: The Signal must be band limited, and the sampling frequency must not be lower than twice the highest frequency present in the signal n In real, Sensor output has infinite harmonics n The use of low pass filter before sampling u To band limit signal u To Avoid Aliasing u Loss of high frequency information F Error of omission

12 Aliasing n When sampling frequency is less than twice the highest frequency of the signal, Signal is no longer recoverable by low pass filtering n Homework #4-1 u 1 초에 30 번 돌아가는 바퀴를 1/30 초 단위로 촬영한 영화를 보면 ? u 바퀴가 뒤로 돌아가는 것처럼 보인다면 실제 바퀴의 회전속도는 ? F 가능한 최소값을 구할 것 n Cosine wave Example Spectrum of cosine wave Low pass Filter reconstruct cosine wave Of lower frequency (fs – fo)

13 Interpolation n The process of reconstructing a signal from its values at discrete instants of time u Zero order hold or One Point u Linear or Two Point u Band limited or Low pass Filtering

14 Digital to Analog Converters n n-bit DAC u n Latches hold Binary Number u n transistor switch Register network u Voltage reference controls the range of output u OP amp provides summing function n Concept: 4-bit DAC u 1010B  Eout ?? F Bit 3 (1000B) Eout = R/2R x Eref F Bit 1 (0010B) Eout = R/8R x Eref F Total (1010B) Eout = Eref/2 + Eref/8 u Eout: 0 ~ (15/16 x Eref)

15 Implementing DAC n Usually Single Chip n A Realistic Value of R in IC is 5K  u 4 bit DAC F 2 4 R = 80K  u 8 bit DAC F 2 8 R = 1.28M  u 12 bit DAC F 2 12 R = 20.48M  n Large R is hard to implement in IC u Needs very large area n Hope to design a DAC with Small, Equal-Value Resistors u Easy to implement with IC technology

16 Practical DAC based on R-2R ladder network n Resistive Ladder Network n Require twice R n But small value u 5K  and 10K  n Homework #4-2 u Show that Eout = Eref x (bit3/2 + bit2/4 + bit1/8 + bit0/16) 2R||2R=R R+R=2R

17 Actual 8-bit DAC n Analog Devices AD558 n DAC for PC prototype board Separate Analog and Digital Ground To reduce noise

18 C Program for DAC Generating Sawtooth waveform  Only the LS 8 bits of 16-bit integer are used since this is 8-bit DAC