© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.

Slides:



Advertisements
Similar presentations
Jordan Barry Victor Brzeski
Advertisements

Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Analogue to Digital Conversion
Introduction of Holtek HT-46 series MCU
EET260: A/D and D/A converters
H. Huang Transparency No.11-1 The 68HC11 Microcontroller Chapter 11: 68HC11 Analog to Digital Converter The 68HC11 Microcontroller Han-Way Huang Minnesota.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Renesas Electronics America Inc. © 2011 Renesas Electronics America Inc. All rights reserved. RX210 Multi-Function Pin Controller (MPC) Ver
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
Digital I/O Connecting to the Outside World
Digital to Analog Converters
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Digital Power Supply, Design and Architectural Trade-offs.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: CL06B Sensors Fundamentals Dragos Bogdan, MCU Application.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the different.
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 15.
Background   Who does this project addresses to?   Handicapped.   Amputated limbs.   Paralyzed.   Motivation Statistics.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
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.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
ELN5622 Embedded Systems Class 7 Spring, 2003 Aaron Itskovich
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
© 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.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.
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 Course Introduction Purpose This course provides an overview of the standard peripheral.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the Digital-to-Analog.
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.
Microcontroller Applications ELEC 421 Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Lab 3: ADC.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
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.
Components of a typical full-featured microcontroller.
Wireless Smoke Detector System Andrew Chiu Chi-Ming Wang ECE 445.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Electronic Devices and Circuit Theory
RASH DRIVING WARNING SYSTEM FOR HIGHWAY POLICE
MICROCONTROLLER AND INTERFACING
Clock Signals: 555 Timer 555 Timer Digital Electronics TM
Timers and Event Counters
Analog-Digital Conversion
Microcontroller Applications
AVR Addressing Modes Subject: Microcontoller & Interfacing
RX 8-Bit Timer (TMR) 4/20/2011 Rev. 1.00
ECE 354 Computer Systems Lab II
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
PIC18F458 Analog-to-Digital
Lecture 13 A/D Converter & D/A Converter
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
MSP432™ MCUs Training Part 6: Analog Peripherals
UNIT 5 Analog signals.
Presentation transcript:

© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces that H8S MCUs provide. Objective  Review the features and understand the operation of the A/D converter, D/A converter, and 14-bit PWM. Content  25 pages  4 questions Learning Time  35 minutes

© 2008, Renesas Technology America, Inc., All Rights Reserved 2 A/D Converter Successive-approximation type Up to 16-channels, each with 10-bit resolution High-speed conversion  8.4µs/channel at 16 MHz (H8S/2239) Built-in sample-and-hold function Two modes of operation  Single mode: Single-channel conversion  Scan mode: Sequential conversion on multiple channels Three kinds of trigger  Software, timer, ADTRG_ pin Interrupt generated at end of conversion

© 2008, Renesas Technology America, Inc., All Rights Reserved 3 A/D Converter Circuit

© 2008, Renesas Technology America, Inc., All Rights Reserved 4 Successive-Approximation Process AVcc = Vcc = Vref =5V AN0 Input = 3V AVss = Vss = 0V First Comparison Second Comparison Third Comparison 2.5V 3.75V 3.125V Successive-comparison Register ADDRA Sent to ADDRA at end of conversion Lower 6 bits are always 0 Higher than 2.5V Lower than 3.75V Lower than 3.125V

© 2008, Renesas Technology America, Inc., All Rights Reserved 5 Single-Mode Operation

© 2008, Renesas Technology America, Inc., All Rights Reserved 6 Scan-Mode Operation

© 2008, Renesas Technology America, Inc., All Rights Reserved 8 Conversion Precision

© 2008, Renesas Technology America, Inc., All Rights Reserved 9 A/D Design Tips Be sure to use good analog design practices when applying the A/D converter. Keep the input source impedance below 5000 ohms.  This ensures that the sampling capacitor will charge to the correct voltage before the A/D starts a conversion. Always use a low-pass filter on the input.

© 2008, Renesas Technology America, Inc., All Rights Reserved 10 D/A Converter Converts digital signals into analog outputs Contains up to six D/A channels, each with 8-bit resolution Has an output voltage range of 0V to Vref Has a hold function in Software Standby mode H8S MCUs have R-2R type D/A converters. R-2R D/A Circuit

© 2008, Renesas Technology America, Inc., All Rights Reserved 11 D/A Converter Function Module STOP The Module STOP bit is set by reset or Hardware Standby.

© 2008, Renesas Technology America, Inc., All Rights Reserved 12 D/A Control Registers DADR0, DADR1 DAOE0, DAOE1 MSTPCRC

© 2008, Renesas Technology America, Inc., All Rights Reserved 13 D/A Operation

© 2008, Renesas Technology America, Inc., All Rights Reserved 14 D/A Converter Applications  Digital servo tracking at 100Hz  Software-programmable power supply  Simple sound generator  Modem  Text-to-speech  Generating warning tones  LCD contrast control

© 2008, Renesas Technology America, Inc., All Rights Reserved 16 Pulse Width Modulation PWM can be used to implement high-resolution D/A converters.  Effects of capacitance and resistive loading are virtually eliminated.  Resolution is determined only by the number of bits in counter and compare circuit; semiconductor process technology is not a limiting factor.  PWM function on H8S MCUs (PWM14) is a 14-bit design.

© 2008, Renesas Technology America, Inc., All Rights Reserved 17 PWM Conversion Basics t1t2 t1 = t volts 2.50 volts Vout = Vcc x duty cycle 0 5

© 2008, Renesas Technology America, Inc., All Rights Reserved 19 Reducing Filter Constraints 0 3 Output A Output B 25% f1f1 f2f2 High frequencies are easier to filter out than low frequencies.

© 2008, Renesas Technology America, Inc., All Rights Reserved 20 PWM14 Circuit Module STOP The Module STOP bit is set by reset or Hardware Standby

© 2008, Renesas Technology America, Inc., All Rights Reserved bit PWM Register Set

© 2008, Renesas Technology America, Inc., All Rights Reserved bit PWM Operation

© 2008, Renesas Technology America, Inc., All Rights Reserved bit PWM D/A Overview When the 14-bit PWM is used as a D/A converter, its output pulse is subdivided into multiple base cycles to reduce ripple. There are four operating modes. They encompass two resolution settings and two base-cycle settings. The base cycle can be set to Tx64 or Tx256, where T is the resolution.

© 2008, Renesas Technology America, Inc., All Rights Reserved 24 PWM D/A Converter Applications H8S Microcontroller Filter Voice-coil Motor PWMX Out Driver Position Feedback High-Accuracy Digital Servo Signal to track Other Applications: High-resolution analog outputs Radio tuners High-resolution, high-precision voltage-to-frequency converters

© 2008, Renesas Technology America, Inc., All Rights Reserved 26 Module Summary A/D converter D/A converter 14-bit PWM D/A circuit To get detailed information about all MCU solutions from Renesas including H8S MCUs. Please visit our website: