Lecture 10 A/D and D/A converter for Digital Filter 2007. 11. 23 Prof. C.M Kyung.

Slides:



Advertisements
Similar presentations
14장 DAC and ADC Slide 1 (of 13).
Advertisements

Analog-to-Digital Converter (ADC) And
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC)  Read.  Homework #13 and Lab #13 due next week. 
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Data Acquisition ET 228 Chapter
Digital to Analogue Conversion Chapter 13. Why is conversion needed? Most signals in the world are analogue. Microprocessors and most computers computers.
Lecture 8 Digital waveform generator using u-controller 2007/11/09 Prof. C.M. Kyung.
EET 252 Unit 6 Analog-to-Digital Conversion
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
AD Converter UNIT 19 로봇 SW 교육원 조용수. 학습 목표 AD Converter AD Converter Register 2.
Analog to Digital Converter
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Analogue to Digital Conversion
Interfacing ADC to 8051.
EE 472 – Senior Project Hang B. Lee, Applied Physics & EE Advisor: Prof. Robert Grober “Noise Characterization of A/D Converter on PIC Microcontroller”
Analog-to-Digital Converters Lecture L11.2 Section 11.3.
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
EE 1106: Introduction to EE Freshman Practicum
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
ECE-L304 Lecture 6 Review of Step 5 Introduction to Step 6 and 7 Final Lecture Quiz Next Week.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1HSSPG Georgia Tech High Speed Image Acquisition System for Focal-Plane-Arrays Doctoral Dissertation Presentation by Youngjoong Joo School of Electrical.
Analog to Digital Converters (ADC) 1
Final Lecture Review Step 7 Deliverables Final Course Information.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.
ENGR 104: Data Acquisition Lecturers: Dr. Binh Tran Dr. Otto Wilson Jr. © The Catholic University of America Dept of Biomedical Engineering.
Lecture 11 FIR Filter design using 8051 u-controller
MICROPROCESSOR AND MICRO CONTROLLER LAB
Minimum System Requirements Clock Generator Memory Interfacing.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Module #7 Assessment Quiz.
Team 2 Yimin Xiao Jintao Zhang Bo Yuan Yang.  The project we propose is a digital oscilloscope with playback function that provides almost any function.
Analog-to-Digital and Digital-to-Analog Conversion
Digital Control CSE 421.
Interfacing Data Converters. D/A converters Design an O/P port with the address FFh to interface the 1408 D/A converter that is calibrated for 0 to 10V.
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Analog to Digital Conversion - ADC Mark Neil - Microprocessor Course 1 Device Drivers – Measuring Voltages.
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Electronic instrumentation Digitization of Analog Signal in TD
Digital-to-Analog Analog-to-Digital
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
WEATHER MONITORING SYSTEM. User Requirements  Design a weather monitoring system that detects the following parameters  Temperature  Pressure  Relative.
FOR MORE CLASSES VISIT   ECET 340 Week 1 HomeWork 1  ECET 340 Week 1 iLab 1  ECET 340 Week 2 HomeWork 2  ECET 340 Week 2 iLab.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Digital Control CSE 421.
ECE-L304 Lecture 3.
ECET 340 Competitive Success/snaptutorial.com
ECET 340 Education for Service-- snaptutorial.com.
ECET 340 Teaching Effectively-- snaptutorial.com.
Engineering 4862 Microprocessors Lecture 25
Analog-to-Digital Converters
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC) Read. Homework #13 and Lab #13 due next week. Quiz.
Presentation transcript:

Lecture 10 A/D and D/A converter for Digital Filter Prof. C.M Kyung

Experimental Goal o GOAL is to get familiar with.. l A/D converter (ADC0804) l A/D – D/C converting l Simple FIR filter design

A/D converter o A/D converter l 직류 또는 교류의 아날로그 신호를 마이크로프로세서에서 인식할 수 있도록 디지털 값으로 변환해 주는 소자 o ADC0804 l l Easy interface to all microprocessors l l Differential analog voltage inputs l l 0V to 5V analog input voltage range with single 5V supply l l Works with 2.5V voltage reference l l Resolution : 8 bits l l Conversion time : 100 ㎲

Usage of ADC0804 o Pin usage Pin nameFunction /CS 칩 선택 (active low) /RD ADC 변환 값 읽을 때 (low) /WR ADC 변환 (low) CLK IN ADC 변환 clock 입력 /INTR ADC 변환 끝났을 때 low 출력 V IN (+) 차동 입력의 + V IN (–) 차동 입력의 – A GND 아날로그 접지 V REF /2 기준 전압의 ½ (2.5V) D GND 디지털 접지 DB0 ~ DB7 변환된 디지털 출력 CLK R ADC 변환 clock 출력 V CC (or V REF ) 전원 (5V)

Usage of ADC0804 o Typical Application

Usage of ADC0804 o Timing diagram Write operation Read operation /CS /WR Internal state of converter /INTR Not Busy Busy /INTR /CS /RD Out put Data TRI-STATE

A/D – D/C converting MicroprocessorADC DAC Function generator Oscilloscope 입력 출력 일정 지연 시간 ( 대기시간 ) = ADC conversion time + processing time of microprocessor ADC conversion time + processing time of microprocessor

A/D – D/C converting o 대기시간 구현 방식 l Delay function: Source code 의 main 함수에서 delay function 을 구현하여 일정 시간을 기다림 l Interrupt: microprocessor 의 interrupt pin 을 이용하여 구현 o Delay function vs. interrupt 구현 방식내용장점단점 Delay function 입력을 기다 리는 방식 구현이 용이 입력을 기다리는 중 다른 연산 수행 불가능 Interrupt 입력을 기다리는 중 다른 연산 수행 가능 이벤트 발생시 미리 정해 진 루틴을 따라야 함

A/D – D/C converting o 대기시간 구현 방식 예 – Delay function void delay(unsigned char time){ while(time--){ while(time--){ time++; time++; time--; time--; } } void main (void) { ADC 변환 시작 ADC 변환 시작 delay(100); delay(100); ADC 변환 값 read ADC 변환 값 read } Delay function 구현 Delay function 이용

A/D – D/C converting MicroprocessorADC DAC Function generator Oscilloscope 입력 출력 Maximum sampling rate = 1 / 대기시간 [Hz] Maximum frequency = Maximum sampling rate / 2 [Hz]

FIR filter design o Decimal calculation in FIR filter design l 8051 microprocessor does not have floating point operation unit. l Decimal calculation is very slow in 8051 microprocessor. o Modifying decimal calculation to integer calculation l Providing significantly higher performance while maintaining fidelity accuracy of FIR filter l How to do? Pre-report!

Experiment Requirements o COMPACT51 board o KEIL uVisionII program o PC o UART cable o Oscilloscope o Function Generator

References & Contact o Textbook l 8051 user’s manual l 8051 & C Programming, 문왕환, 도서출판 세화 l ADC 0804 manual o 10 th Week T.A. o Lecture Homepage