© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the Digital-to-Analog.

Slides:



Advertisements
Similar presentations
Sensors Interfacing.
Advertisements

Digital to Analogue Conversion
Digital-to-Analog & Analog-to-Digital Conversion BJ Furman 17APR2014.
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
Data Acquisition Risanuri Hidayat.
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.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Lecture 9: D/A and A/D Converters
10/23/2003ME DAC Lecture1 DAC Sunij Chacko Pierre Emmanuel Deliou Thomas Holst Used with modification.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Data acquisition and manipulation
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Previous Lecture 12 Voltage Dividers with Resistive loads.
EET260: A/D and D/A converters
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.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Digital I/O Connecting to the Outside World
Digital to Analog Converters
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Digital Communication Techniques
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: CL06B Sensors Fundamentals Dragos Bogdan, MCU Application.
T IMERS - 2. O UTPUT U NIT Each capture/compare block contains an output unit. The output unit is used to generate output signals such as PWM signals.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the different.
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose:  This training module provides a technical description of Renesas.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Lecture 13 A/D Converter & D/A Converter. Outline Basic Operation Single Scan Mode Continuous Scan Mode Group Scan Mode Interrupt Sources Registers D/A.
ELN5622 Embedded Systems Class 7 Spring, 2003 Aaron Itskovich
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
RX Voltage Detection Circuit (LVD) and Power-On Reset (POR)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose This course provides an overview of the peripheral functions.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This course provides an introduction to the peripheral functions.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This training course provides an overview of the CPU architecture.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the peripherals.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose This course provides an overview of the standard peripheral.
Design of Digital-to-Analog Converter Qin Chen Yong Wang Dept. of Electrical Engineering Feb. 6th, 2006 EE597G Presentation:
CHAPTER 19 Data Conversion. Objectives Describe and Analyze: Analog vs. Digital Signals Resolution Digital-to-Analog Conversion Analog-to Digital Conversion.
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
CSE Fall Introduction - 1 What’s Inside the Buffer? IhIh IlIl Write Reg This device always “drives” either high or low. Current is a function.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the PWM type Digital-to-Analog.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This course provides an introduction to the peripheral functions.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
Digital to Analog Converter (DAC)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Chapter 3 Parallel Ports, Power Supply and the Clock Oscillator The aims of this chapter are to introduce: Why we need parallel input/output; How simple.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
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.
Components of a typical full-featured microcontroller.
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),
Lecture Notes / PPT UNIT III
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Timers and Event Counters
EMBEDDED SYSTEMS Unit 3.
Digital-to-Analog Analog-to-Digital
Digital Acquisition of Analog Signals – A Practical Guide
Lesson 8: Analog Signal Conversion
Presentation transcript:

© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the Digital-to-Analog (D/A) converter (or simply, D/A) peripheral function that H8 series microcontrollers (MCUs) provide. Objectives  Understand the basics of D/A converters.  Discover key design facts about the D/A that H8 MCUs provide.  Gain insights about how to get the best performance from an on-chip D/A converter. Content  15 pages  3 questions Learning Time  25 minutes

© 2008, Renesas Technology America, Inc., All Rights Reserved 2 Digital-to-Analog Converters Typical Applications Digital servo tracking systems (~100Hz) Software programmable power supplies Simple sound generators (warning tones, etc.) Modem output circuits LCD contrast controls Text-to-speech outputs Alarm generators CPU D/A Converter Analog Voltage or Current

© 2008, Renesas Technology America, Inc., All Rights Reserved 3 Types of D/A Converters Two basic types: Low resolution (most common) Scaled Resistor Scaled Current Sources R-2R Ladder High resolution PWM types Scaled Resistor D/A Scaled Current Source

© 2008, Renesas Technology America, Inc., All Rights Reserved 4 R-2R Ladder Type D/A AVss DA Output AVref 1 Step3 Steps15 Steps255 Steps The number of output steps = 2n-1 where n is the number of bits.

© 2008, Renesas Technology America, Inc., All Rights Reserved 6 Typical H8 MCU D/A Converter DACR: D/A Control Register DADR0: D/A Data Register 0 DADR1: D/A Data Register 1 Control Circuit 8-bit D/A, 2 channels DADR1DADR1 DACRDACR Bus Interface Module Data Bus Internal Data Bus AVref AVCC AVSS DA0 DA1 DADR0DADR0 R-2R type Two separate converters 8-bit resolution Voltage reference (AVref) input is available so output value can be easily scaled. Module Stop

© 2008, Renesas Technology America, Inc., All Rights Reserved 7 D/A Control Register DAE: D/A Enable bit; enables the D/A converter. (This bit is shared by the two D/A channels; setting or clearing it affects both channels.) DAOE0, DAOE1: D/A Output Enable bits, one for each channel DACR Note: The D/A Control Register is set to the default state by either a Reset or by entering the Hardware Standby mode. Essentially, then, if you need to retain the analog output, use Software Standby mode. If you use Hardware Standby mode, you must re-initialize the D/A converter.

© 2008, Renesas Technology America, Inc., All Rights Reserved 8 Port Structure Transmission Gate Digital Buffer

© 2008, Renesas Technology America, Inc., All Rights Reserved 9 Basic CMOS Analog Switch Transmission Gate R ON R DS on

© 2008, Renesas Technology America, Inc., All Rights Reserved 11 H8S/2148A D/A Characteristics Condition A: Vcc and Avcc = 5.00V ±10%; AVref = 4.5V to Avcc Condition B: Vcc and Avcc = 4.5 to 5.5V; AVref = 4.0V to Avcc Condition C: Vcc and Avcc = 3.0 to 5.5V; AVref = 3.0V to Avcc

© 2008, Renesas Technology America, Inc., All Rights Reserved 12 D/A Conversion Time

© 2008, Renesas Technology America, Inc., All Rights Reserved 13 Filtering the D/A Output  This low-pass filter’s cut-off is about RC = 10 x 10 3 x = The cut-off frequency, F = 1/RC = 1kHz  In most cases, an active filter with better characteristics (such as a sharper roll-off, enhanced resistance to loading, etc.) is recommended at the output of the D/A.

© 2008, Renesas Technology America, Inc., All Rights Reserved 14 Maximum Output Frequency  Nyquist criteria: Must generate output samples at 2x the highest frequency of the waveform being recreated (This is the minimum requirement—a higher sample rate is better.)  Conversion time = 10µs (100kHz sample rate)  Therefore, the theoretical maximum output frequency = 50kHz  Problems/Limitations: - D/A conversions reduce CPU time available for other processing. (Typically, for an H8S/2148A, the highest frequency generated by the D/A will be less than 10kHz.) - If you sample at twice the frequency, you need a filter with a very sharp roll off. If you sample at higher rates, you can use simpler, less-expensive filters.

© 2008, Renesas Technology America, Inc., All Rights Reserved 16 Summary  Applications for D/A converters  D/A basics  Typical D/A performance