Lecture 7: Analog Signals and Conversion

Size: px
Start display at page:

Download "Lecture 7: Analog Signals and Conversion"

Transcription

1 ECE342 Introduction to Embedded Systems Lecture 7: Analog Signals and Conversion Ying Tang Electrical and Computer Engineering Rowan University 1

2 Analog Signals Everywhere Everything is an analogy in the physical world Sound, light, and force, etc. We need convert them into electrical signals. Transducer: convert one type of energy to another 2

3 How to Get Digital Signals from Analog Convert physical phenomena to voltages. Physical phenomena Sensor Voltage A typical temperature sensor transfer function shown on the right Discretize continuous voltages. Voltage ADC ADC output Software Engineering Units 3

4 How to Convert Analog to Digital Comparator: compares the analog voltages on its two terminals, V+ and V. Its output is high if V+ >V and low if V+ <V.. Simple and cheap module Act like a one-bit ADC (not precise enough) 4

5 How to Get Digital Signals from Analog Discretize continuous voltages for successive approximation V(t) V(n) where v(n) is a sequence of binary values w/ a fixed number of bits V(t) f sampled (x) f (x) t T S 5

6 Represent the signal as fraction within the range of values 6

7 Accuracy vs. Precision Accuracy: How close a measurement is to its true value, which would be produced by an ideal system. This is easy to define but hard to measure Precision/Resolution: The number of distinct output values that a measurement can provide. Alternatively, it can be specified as the change in input that corresponds to the minimum change in output, 1 bit 7

8 Precision It is a function of the range and the number of bits (N) For a 10-bit ADC for 0-5 range: Q=5/2 10 = 4.88 mv For a 12-bit ADC for 0-5 range: Q=5/2 12 = 1.22 mv Note that: MSP430f5529 has a 12-bit ADC Quantization Error = V FS /2 N 8

9 How Successive Approximation Works? Example: an input voltage of V in = 0.4 V FS to a 4- bit ADC 9

10 How Successive Approximation Works? Example: an input voltage of V in = 0.4 V FS to a 4- bit ADC The input voltage V in is compared with the midpoint ½ V FS of the full range In this case V in < ½ V FS so the most significant bit (msb)=0 We now know that the input lies between 0 and ½ V FS. The input is next compared with the midpoint of this range, ¼ VFS We find Vin > ¼ VFS so the next bit is 1 10

11 How Successive Approximation Works? Example: an input voltage of V in = 0.4 V FS to a 4- bit ADC (cont.) The process illustrated in the previous slide continues until each binary bits are assigned a value Can you finish the process and find the binary representation of the analog signal V in = 0.4 V FS? 11

12 How To Implement ADC? Set control registers Specify where the input is coming from (which pin) Specify the reference range Specify the characteristics of the input signal Enable interrupt and set bits to start the conversion When the interrupt occurs, read sample from the data register Wait for a sample period and Repeat the process above 12

13 13

14 Input 12 external analog signals ADC12_A are multiplexed w/ digital port pins 4 internal analog signals 14

15 Input One of 16 analog signal Output 12-bit digital value of input relative to voltage references 15

16 Internal External Vref+ 1.5V, 2.5V, Vcc VeRef+ Vref- AVss VeRef- Voltage reference Lower reference by default is analog ground, but it can be external Upper reference by default is analog power supply, but can use internal/external reference 16

17 Clock Conversion clock Sampling clock ADC12OSC can be used for both that is a 5MHz Oscillator Timers A and B can be chosen for sampling clock sources 17

18 Sampling Timing Consideration All port inputs default to high impedance When sample starts (SAMPCON=1), inputs are enabled and modeled as a low-pass filter The capacitor C I voltage V C must be charged to within onehalf LSB of the source voltage V S for an accurate n-bit conversion, where n is the bits of resolution required. 18

19 Conversion Memory Registers Results from each channel are stored in the low 12-bit of a 16-bit conversation memory register (ADC12MEMx) Each memory register has a corresponding memory control register (ADC12MCTLx) to control: End-of-sequence (EOS): is the channel the end on a sequence of channels that are to converted; it is used for multichannel conversion. Reference voltage selection (ADC12SREFx) Analog input channel selection (ADC12INCHx) 19

20 How To Implement ADC in Code? Set control registers Two control register: ADC12CTL0 and ADC12CTL1 Clock source (ADC12SSELx) and divider (ADC12DIVx) Sample and hold behavior -- trigger source selection (ADC12SHSx) -- sample and hold time (ADC12SHT0x/ADC12SHT1x) -- ADC 12 pulse mode (ADC12SHP) Reference voltage -- need to clear REFMSTR=0 (see user guide Table 26-4) -- turn on the internal reference voltage (ADC12REFON=1) -- select either 2.5v or 1.5 v for V ref (ADC12REF2_5V=1or 0) Select conversion mode (ADC12ONSEQx): single vs. multiple 20

21 Sampling Time Extended sample mode (ADC12SHP=0) SHI signal directly controls SAMPCON and defines the length of the sample period 21

22 Sampling Time Plus sample mode (ADC12SHP=1) SHI signal is used to trigger the sampling timer. The ADC12SHT0x and ADC12SHT1x bits in ADC12CTL0 control the interval of the sampling timer that defines the SAMPCON sample period 22

23 How To Implement ADC in Code? Set control registers Select input channel(s): ADC12INCHx bits in ADC12MCTLx ADC12 has 12 (external) input signals (A0-A7, A12-A15) that are multiplexed with Ports 6 and 7 ADC12 has 4 (internal) analog signals, among which input channels 8, 9 & 11are connected to different reference voltages, and channel 10 to an internal Temperature sensor 23

24 Let s Look at an Example A digital current meter might measure the current by measuring the voltage across a sensing resistor. Can we use the ADC12 to measure the voltage across with the accuracy of 1V, 1mV or 0.1mV? Why and how? 24

25 Let s Look at an Example Set control registers Reset REFMSTR to hand over control of internal reference voltages to ADC12_A control registers REFCTL0 &= ~REFMSTR; Initialize the control register ADC12CTL0 ADC12CTL0 = ADC12SHT0_4+ADC12REFON+ADC12REFON2_5V+ADC12ON; Initialize the control register ADC12CTL1 ADC12CTL1=ADC12SHP; 25

26 Let s Look at an Example Set control registers Set conversion memory control register ADC12MCTL0 = ADC12SREF_1+ADC12INCH0; Configure the port to be used as ADC input P6SEL = 0x01; Enable interrupt and set bits to start the conversion, Or use polling without interrupts (we use the interrupt in our example) ADC12IE = 0x01; //enable interrupt ADC12CTL0 = ADC12ENC; //enable conversion 26

27 Let s Look at an Example When the interrupt occurs, read sample from the data register; Wait for a sample period and Repeat the process above Start sampling while (1) { ADC12CTL0 = ADC12SC; // Start conversion bis_sr_register(lpm0_bits + GIE); no_operation(); // SET BREAKPOINT HERE } 27

28 When the interrupt occurs, read sample from the data register; Wait for a sample period and Repeat the process above Write ADC ISR #pragma vector = ADC12_VECTOR interrupt void ADC12_ISR(void) { adc_value = ADC12MEM0; } 28

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #14: Using the ADC12 Analog-to-Digital Converter

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #14: Using the ADC12 Analog-to-Digital Converter ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #14: Using the ADC12 Analog-to-Digital Converter Reading for Today: Davies 9.2-3, 9.7, MSP430 User's Guide Ch 28 Reading for

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion The MSP in the name of our microcontroller MSP430G2554 is abbreviation for Mixed Signal Processor. This means that our microcontroller can be used to handle both analog and

More information

Lecture 5 ECEN 4517/5517

Lecture 5 ECEN 4517/5517 Lecture 5 ECEN 4517/5517 Experiment 3 Buck converter Battery charge controller Peak power tracker 1 Due dates Next week: Exp. 3 part 2 prelab assignment: MPPT algorithm Late assignments will not be accepted.

More information

ME 461 Laboratory #3 Analog-to-Digital Conversion

ME 461 Laboratory #3 Analog-to-Digital Conversion ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected

More information

MSP430 Teaching Materials

MSP430 Teaching Materials MSP430 Teaching Materials Lecture 6 Data Acquisition Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro, Humberto Santos University

More information

MICROPROCESSORS A (17.383) Fall Lecture Outline

MICROPROCESSORS A (17.383) Fall Lecture Outline MICROPROCESSORS A (17.383) Fall 2010 Lecture Outline Class # 07 October 26, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Finish Analog to Digital Conversion

More information

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing Module 13: Interfacing ADC Introduction ADC Programming DAC Programming Sensor Interfacing Introduction ADC Devices o Analog-to-digital converters (ADC) are among the most widely used devices for data

More information

The University of Texas at Arlington Lecture 10 ADC and DAC

The University of Texas at Arlington Lecture 10 ADC and DAC The University of Texas at Arlington Lecture 10 ADC and DAC CSE 3442/5442 Measuring Physical Quantities (Digital) computers use discrete values, and use these to emulate continuous values if needed. In

More information

Linear Integrated Circuits

Linear Integrated Circuits Linear Integrated Circuits Single Slope ADC Comparator checks input voltage with integrated reference voltage, V REF At the same time the number of clock cycles is being counted. When the integrator output

More information

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

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) Connecting digital circuitry to sensor devices

More information

Embedded Control. Week 3 (7/13/11)

Embedded Control. Week 3 (7/13/11) Embedded Control Week 3 (7/13/11) Week 3 15:00 Lecture Overview of analog signals Digital-to-analog conversion Analog-to-digital conversion 16:00 Lab NXT analog IO Overview of Analog Signals Continuous

More information

9. Data Acquisition. Chapter 9

9. Data Acquisition. Chapter 9 Chapter 9 9. Data Acquisition Microcontrollers offer a complete signal-chain on a chip for a wide range of applications. One of the most important interfaces between the microcontroller and the real word

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong. Department of Electrical Engineering Lecture 10 Analogue Interfacing 1 In this Lecture. Interface 8051 with the following Input/Output Devices Transducer/Sensors Analogue-to-Digital Conversion (ADC) Digital-to-Analogue

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion 02534567998 6 4 2 3 4 5 6 ANALOG to DIGITAL CONVERSION Analog variation (Continuous, smooth variation) Digitized Variation (Discrete set of points) N2 N1 Digitization applied

More information

P a g e 1. Introduction

P a g e 1. Introduction P a g e 1 Introduction 1. Signals in digital form are more convenient than analog form for processing and control operation. 2. Real world signals originated from temperature, pressure, flow rate, force

More information

MSP430 Interfacing Programs

MSP430 Interfacing Programs IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -5 1 MSP430 Interfacing Programs 1. Blinking LED 2. LED control using switch 3. GPIO interrupt 4. ADC & PWM application speed control of dc motor 5.

More information

Data Converters. Lecture Fall2013 Page 1

Data Converters. Lecture Fall2013 Page 1 Data Converters Lecture Fall2013 Page 1 Lecture Fall2013 Page 2 Representing Real Numbers Limited # of Bits Many physically-based values are best represented with realnumbers as opposed to a discrete number

More information

Lab 10. Speed Control of a D.C. motor

Lab 10. Speed Control of a D.C. motor Lab 10. Speed Control of a D.C. motor Speed Measurement: Tach Amplitude Method References: STM32L100 Data Sheet (pin definitions) STM32L100 Ref. Manual (ADC, GPIO, Clocks) Motor Speed Control Project 1.

More information

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

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale UNIT III Data Acquisition & Microcontroller System Mr. Manoj Rajale Syllabus Interfacing of Sensors / Actuators to DAQ system, Bit width, Sampling theorem, Sampling Frequency, Aliasing, Sample and hold

More information

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800)

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800) Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) 1) Do you have a four channel part? Not at this time, but we have plans to do a multichannel product Q4 97. We also have 4 digital output lines which can

More information

EEE312: Electrical measurement & instrumentation

EEE312: Electrical measurement & instrumentation University of Turkish Aeronautical Association Faculty of Engineering EEE department EEE312: Electrical measurement & instrumentation Digital Electronic meters BY Ankara March 2017 1 Introduction The digital

More information

16.1 ADC ADC ADC10

16.1 ADC ADC ADC10 Chapter 27 The module is a high-performance 10-bit analog-to-digital converter. This chapter describes the operation of the module of the 4xx family. The is implemented on the MSP4340F41x2 devices. Topic

More information

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

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FSR 4 V 8 ref 7 V 8 ref Analog Input

More information

Analog Digital Converter

Analog Digital Converter Analog Digital Converter - Overview Analog Digital Conversion - Operation Modes: Single Mode vs. Scan mode - Registers for Data, Control, Status - Using the ADC in Software - Handling of Interrupts Karl-Ragmar

More information

1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications

1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications 1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications Mark E. Buccini March 2013 03/2013 M. Buccini 1 Full Disclosure A processor guy 25+ years TI applications and marketing

More information

Outline. Analog/Digital Conversion

Outline. Analog/Digital Conversion Analog/Digital Conversion The real world is analog. Interfacing a microprocessor-based system to real-world devices often requires conversion between the microprocessor s digital representation of values

More information

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

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FS 4 V 8 ref 7 V 8 ref Analog Input V

More information

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL EXPERIMENT 7: Analog-to-Digital Conversion Research Assistant Müzeyyen KARAMANOĞLU Electrical&Electronics Engineering Department Marmara University

More information

Measuring Distance Using Sound

Measuring Distance Using Sound Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable

More information

Working with ADCs, OAs and the MSP430

Working with ADCs, OAs and the MSP430 Working with ADCs, OAs and the MSP430 Bonnie Baker HPA Senior Applications Engineer Texas Instruments 2006 Texas Instruments Inc, Slide 1 Agenda An Overview of the MSP430 Data Acquisition System SAR Converters

More information

dspic Analogue to Digital Converter

dspic Analogue to Digital Converter dspic Analogue to Digital Converter The dspic30f4012 has a 10-bit successive approximation architecture ADC on board and provides maximum sampling rate of 1 Msps. The ADC module has 6 analogue inputs which

More information

Real Time Embedded Systems. Lecture 1 January 17, 2012

Real Time Embedded Systems.  Lecture 1 January 17, 2012 Analog Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO Z16F Series

More information

CHAPTER ELEVEN - Interfacing With the Analog World

CHAPTER ELEVEN - Interfacing With the Analog World CHAPTER ELEVEN - Interfacing With the Analog World 11.1 (a) Analog output = (K) x (digital input) (b) Smallest change that can occur in the analog output as a result of a change in the digital input. (c)

More information

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -3 1 UNIT 3

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -3 1 UNIT 3 IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -3 1 UNIT 3 Timers of MSP430 3.1. Basic Timer1 3.2. Timer_A 3.3. Edge aligned PWM output 3.4. Measurement in Capture mode ( Time period, duration, frequency)

More information

SD bits ADC SOC. Features. Applications. Ordering Information. Description. Pin Diagram and Descriptions

SD bits ADC SOC. Features. Applications. Ordering Information. Description. Pin Diagram and Descriptions SD807 0 bits ADC SOC Features High precision ADC, ENOB=7.bits@8sps, differential or single-ended inputs Low noise, high input impedance preamplifier with selectable gain:,.5, 50, 00, or 00 8 bits RISC

More information

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen

More information

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

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12. Analog Signals Signals that vary continuously throughout a defined range. Representative of many physical quantities, such as temperature and velocity. Usually a voltage or current level. Digital Signals

More information

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

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog

More information

DASL 120 Introduction to Microcontrollers

DASL 120 Introduction to Microcontrollers DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328

More information

Data Acquisition: A/D & D/A Conversion

Data Acquisition: A/D & D/A Conversion Data Acquisition: A/D & D/A Conversion Mark Colton ME 363 Spring 2011 Sampling: A Review In order to store and process measured variables in a computer, the computer must sample the variables 10 Continuous

More information

ADC Resolution: Myth and Reality

ADC Resolution: Myth and Reality ADC Resolution: Myth and Reality Mitch Ferguson, Applications Engineering Manager Class ID: CC19I Renesas Electronics America Inc. Mr. Mitch Ferguson Applications Engineering Manager Specializes support

More information

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller

More information

SD8000S. 20 bits ADC SOC with RTC. SD8000S Bare Die. Features. Applications. Description. Ordering Information. Pin Diagram and Descriptions

SD8000S. 20 bits ADC SOC with RTC. SD8000S Bare Die. Features. Applications. Description. Ordering Information. Pin Diagram and Descriptions 20 bits ADC SOC with RTC Features High precision ADC, 20 bits effective resolution Low noise, high input impedance preamplifier with selectable gain: 1, 12.5, 50, 100, or 200 8 bits RISC ultra low power

More information

Getting Precise with MSP430 Sigma-Delta ADC Peripherals Vincent Chan MSP430 Business Development Manager TI Asia

Getting Precise with MSP430 Sigma-Delta ADC Peripherals Vincent Chan MSP430 Business Development Manager TI Asia Getting Precise with MSP43 Sigma-Delta ADC Peripherals Vincent Chan MSP43 Business Development Manager TI Asia vince-chan@ti.com 25 Texas Instruments Inc, Slide 1 Agenda Sigma-Delta basics & benefits Understanding

More information

Interfacing to Analog World Sensor Interfacing

Interfacing to Analog World Sensor Interfacing Interfacing to Analog World Sensor Interfacing Introduction to Analog to digital Conversion Why Analog to Digital? Basics of A/D Conversion. A/D converter inside PIC16F887 Related Problems Prepared By-

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 11: Sampling, ADCs, and DACs Oct 7, 2014 Some slides adapted from Mark Brehob, Jonathan Hui & Steve Reinhardt

More information

Topics Introduction to Microprocessors

Topics Introduction to Microprocessors Topics 2244 Introduction to Microprocessors Chapter 8253 Programmable Interval Timer/Counter Suree Pumrin,, Ph.D. Interfacing with 886/888 Programming Mode 2244 Introduction to Microprocessors 2 8253/54

More information

Digital to Analog Conversion. Data Acquisition

Digital to Analog Conversion. Data Acquisition Digital to Analog Conversion (DAC) Digital to Analog Conversion Data Acquisition DACs or D/A converters are used to convert digital signals representing binary numbers into proportional analog voltages.

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Ronald Dreslinski University of Michigan Sampling, ADCs, and DACs and more Some slides adapted from Mark Brehob, Prabal Dutta, Jonathan Hui & Steve Reinhardt

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION LTC2433-1 DESCRIPTION Demonstration circuit 745 features the LTC2433-1, a 16-bit high performance Σ analog-to-digital converter (ADC). The LTC2433-1 features 0.12 LSB linearity, 0.16 LSB full-scale accuracy,

More information

Roland Kammerer. 13. October 2010

Roland Kammerer. 13. October 2010 Peripherals Roland Institute of Computer Engineering Vienna University of Technology 13. October 2010 Overview 1. Analog/Digital Converter (ADC) 2. Pulse Width Modulation (PWM) 3. Serial Peripheral Interface

More information

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1 Module 3 Embedded Systems I/O Version 2 EE IIT, Kharagpur 1 esson 19 Analog Interfacing Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would be able

More information

ADS9850 Signal Generator Module

ADS9850 Signal Generator Module 1. Introduction ADS9850 Signal Generator Module This module described here is based on ADS9850, a CMOS, 125MHz, and Complete DDS Synthesizer. The AD9850 is a highly integrated device that uses advanced

More information

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller

Microprocessors A Lab 4 Fall Analog to Digital Conversion Using the PIC16F684 Microcontroller Objectives Materials 17.383 Microprocessors A Analog to Digital Conversion Using the PIC16F684 Microcontroller 1) To use MPLAB IDE software, PICC Compiler, and external hardware to demonstrate the following:

More information

ENGR 210 Lab 12: Analog to Digital Conversion

ENGR 210 Lab 12: Analog to Digital Conversion ENGR 210 Lab 12: Analog to Digital Conversion In this lab you will investigate the operation and quantization effects of an A/D and D/A converter. A. BACKGROUND 1. LED Displays We have been using LEDs

More information

16-Bit, Low-Power, 2-Channel, Sigma-Delta ADC MX7705

16-Bit, Low-Power, 2-Channel, Sigma-Delta ADC MX7705 General Description The MX7705 low-power, 2-channel, serial-output analog-to-digital converter (ADC) includes a sigma-delta modulator with a digital filter to achieve 16-bit resolution with no missing

More information

Lab Exercise 6: Digital/Analog conversion

Lab Exercise 6: Digital/Analog conversion Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should

More information

Notes on using the A/D Converter on the. FFMC8L/LC Microcontrollers. Fujitsu Mikroelektronik GmbH Vers. 1.0 by E. Bendels

Notes on using the A/D Converter on the. FFMC8L/LC Microcontrollers. Fujitsu Mikroelektronik GmbH Vers. 1.0 by E. Bendels Application Note Notes on using the A/D Converter on the FFMC8L/LC Microcontrollers Fujitsu Mikroelektronik GmbH Vers. 1.0 by E. Bendels The following Application note is intended to give some hints on

More information

P89LPC935 ADC/DAC Tutorial

P89LPC935 ADC/DAC Tutorial P89LPC935 ADC/DAC Tutorial The P89LPC935 microcontroller has 2 on-board analog to digital modules Each module contains a 4-channel 8-bit successive approximation ADC 89LPC935 ADC/DAC Tutorial 1 ADC Module

More information

AN3137 Application note

AN3137 Application note Application note Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques Introduction This application note describes the 12-bit analog-to-digital converter

More information

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic DATA BULLETIN MX839 Digitally Controlled Analog I/O Processor PRELIMINARY INFORMATION Features x 4 input intelligent 10 bit A/D monitoring subsystem 4 High and 4 Low Comparators External IRQ Generator

More information

Embedded Systems and Software. Analog to Digital Conversion

Embedded Systems and Software. Analog to Digital Conversion Embedded Systems and Software Analog to Digital Conversion Slide 1 Analog to Digital Conversion Analog or continuous signal Discrete-time or digital signal Other terms ADC, A/D Many different techniques

More information

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008 DATA CONVERSION AND LAB (17.368) Fall 2008 Class # 07 October 16, 2008 Dohn Bowden 1 Today s Lecture Outline Course Admin Lab #3 next week Exam in two weeks 10/30/08 Detailed Technical Discussions Digital

More information

Microcomputers. Digital Signal Processing

Microcomputers. Digital Signal Processing Microcomputers Analog-to-Digital and Digital-to-Analog Conversion Lecture 7-1 Digital Signal Processing Analog-to-Digital Converter (ADC) converts an input analog value to an output digital representation.

More information

Section 22. Basic 8-bit A/D Converter

Section 22. Basic 8-bit A/D Converter M Section 22. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 22.1 Introduction...22-2 22.2 Control Registers...22-3 22.3 A/D Acquisition Requirements...22-6 22.4

More information

ELG3331: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand

ELG3331: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand ELG333: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand Our objective is to design a system to measure and the rotational speed of a shaft. A simple method to measure rotational

More information

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

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 1 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 approximation converter. 2 3 The idea of sampling is fully covered

More information

Reading: Schwarz and Oldham (light on non-ideal) and comparator viewgraphs. Lecture 14: October 17, 2001

Reading: Schwarz and Oldham (light on non-ideal) and comparator viewgraphs. Lecture 14: October 17, 2001 Lecture 4: October 7, 00 Op-Amp Circuits and Comprators A)Cascade Op-Amps B)Integration/Differentiation Op-Amps C)I vs. V of Op-Amps Source Limits D)Comparator Circuits E)D to A Converters Reading: The

More information

Exercise 3: Sound volume robot

Exercise 3: Sound volume robot ETH Course 40-048-00L: Electronics for Physicists II (Digital) 1: Setup uc tools, introduction : Solder SMD Arduino Nano board 3: Build application around ATmega38P 4: Design your own PCB schematic 5:

More information

Sigma-Delta ADCs. Benefits and Features. General Description. Applications. Functional Diagram

Sigma-Delta ADCs. Benefits and Features. General Description. Applications. Functional Diagram EVALUATION KIT AVAILABLE MAX1415/MAX1416 General Description The MAX1415/MAX1416 low-power, 2-channel, serialoutput analog-to-digital converters (ADCs) use a sigmadelta modulator with a digital filter

More information

Analog-to-Digital Conversion

Analog-to-Digital Conversion CHEM 411L Instrumental Analysis Laboratory Revision 1.0 Analog-to-Digital Conversion In this laboratory exercise we will construct an Analog-to-Digital Converter (ADC) using the staircase technique. In

More information

Ch 5 Hardware Components for Automation

Ch 5 Hardware Components for Automation Ch 5 Hardware Components for Automation Sections: 1. Sensors 2. Actuators 3. Analog-to-Digital Conversion 4. Digital-to-Analog Conversion 5. Input/Output Devices for Discrete Data Computer-Process Interface

More information

Chapter 2 Signal Conditioning, Propagation, and Conversion

Chapter 2 Signal Conditioning, Propagation, and Conversion 09/0 PHY 4330 Instrumentation I Chapter Signal Conditioning, Propagation, and Conversion. Amplification (Review of Op-amps) Reference: D. A. Bell, Operational Amplifiers Applications, Troubleshooting,

More information

Mixed-Signal-Electronics

Mixed-Signal-Electronics 1 Mixed-Signal-Electronics PD Dr.-Ing. Stephan Henzler 2 Chapter 6 Nyquist Rate Analog-to-Digital Converters 3 Analog-to-Digital Converter Families Architecture Variant Speed Precision Counting Operation

More information

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

L9: Analog Building Blocks (OpAmps, A/D, D/A) L9: Analog Building Blocks (OpAmps, A/D, D/A) Courtesy of Dave Wentzloff. Used with permission. 1 Introduction to Operational Amplifiers v id in DC Model a v id LM741 Pinout out 10 to 15V Typically very

More information

Lecture 6: More on Timers and PWM

Lecture 6: More on Timers and PWM ECE342 Digital II Lecture 6: More on Timers and PWM Ying Tang Electrical and Computer Engineering Rowan University 1 Timer in Capture Mode What Does a Timer Really Do? Capture a selected input from either

More information

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

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition Chapter 7 Sampling, Digital Devices, and Data Acquisition Material from Theory and Design for Mechanical Measurements; Figliola, Third Edition Introduction Integrating analog electrical transducers with

More information

Microcontroller Systems. ELET 3232 Topic 21: ADC Basics

Microcontroller Systems. ELET 3232 Topic 21: ADC Basics Microcontroller Systems ELET 3232 Topic 21: ADC Basics Objectives To understand the modes and features of the Analog-to-Digital Converter on the ATmega 128 To understand how to perform an Analog-to-Digital

More information

12-Bit Low Power Sigma-Delta ADC AD7170

12-Bit Low Power Sigma-Delta ADC AD7170 12-Bit Low Power Sigma-Delta ADC AD7170 FEATURES Output data rate: 125 Hz Pin-programmable power-down and reset Status function Internal clock oscillator Current: 135 μa Power supply: 2.7 V to 5.25 V 40

More information

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources October 11, 2002 Stanford University - EE281 Lecture #4 #1 Announcements Project Proposal Lecture #4 Outline AVR Processor Resources A/D Converter (Analog to Digital) Analog Comparator Real-Time clock

More information

Microprocessor & Interfacing Lecture Programmable Interval Timer

Microprocessor & Interfacing Lecture Programmable Interval Timer Microprocessor & Interfacing Lecture 30 8254 Programmable Interval Timer P A R U L B A N S A L A S S T P R O F E S S O R E C S D E P A R T M E N T D R O N A C H A R Y A C O L L E G E O F E N G I N E E

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion Why It s Needed Embedded systems often need to measure values of physical parameters These parameters are usually continuous (analog) and not in a digital form which computers

More information

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

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT Data Converters Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT Purpose To convert digital values to analog voltages V OUT Digital Value Reference Voltage Digital Value DAC Analog Voltage Analog Quantity:

More information

Digital Design Laboratory Lecture 7. A/D and D/A

Digital Design Laboratory Lecture 7. A/D and D/A ECE 280 / CSE 280 Digital Design Laboratory Lecture 7 A/D and D/A Analog/Digital Conversion A/D conversion is the process of sampling a continuous signal Two significant implications 1. The information

More information

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model

More information

Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 07 October 17, 2013 Dohn Bowden 1 Today s Lecture Outline Administrative Detailed Technical Discussions Digital to Analog Conversion Lab

More information

6-Bit A/D converter (parallel outputs)

6-Bit A/D converter (parallel outputs) DESCRIPTION The is a low cost, complete successive-approximation analog-to-digital (A/D) converter, fabricated using Bipolar/I L technology. With an external reference voltage, the will accept input voltages

More information

2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC

2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC 2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC The following information is based on the technical data sheet: CS5521/23 DS317PP2 MAR 99 CS5522/24/28 DS265PP3 MAR 99 Please contact Cirrus Logic

More information

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

ADC Parameters. ECE/CS 5780/6780: Embedded System Design. Common Encoding Schemes. Two-Bit Flash ADC. Sixteen-Bit Dual Slope ADC ADC Parameters ECE/CS 5780/6780: Embedded System Design Chris J. Myers Lecture 19: Analog-to-Digital Conversion Precision is number of distinguishable ADC inputs. Range is maximum and minimum ADC inputs.

More information

Grundlagen Microcontroller Analog I/O. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Analog I/O. Günther Gridling Bettina Weiss Grundlagen Microcontroller Analog I/O Günther Gridling Bettina Weiss 1 Analog I/O Lecture Overview A/D Conversion Design Issues Representation Conversion Techniques ADCs in Microcontrollers Analog Comparators

More information

Signal Characteristics and Conditioning

Signal Characteristics and Conditioning Signal Characteristics and Conditioning Starting from the sensors, and working up into the system:. What characterizes the sensor signal types. Accuracy and Precision with respect to these signals 3. General

More information

Analog/Digital and Sampling

Analog/Digital and Sampling Analog/Digital and Sampling Alexander Nelson October 22, 2018 University of Arkansas - Department of Computer Science and Computer Engineering Analog Signals in the real world are analog signals Process

More information

Microcontroller: Timers, ADC

Microcontroller: Timers, ADC Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,

More information

Macroblcok MBI5042 Application Note-VB.01-EN

Macroblcok MBI5042 Application Note-VB.01-EN MBI5042 Application Note (The article is suitable for the IC whose version code is B and datasheet version is VB.0X) Forward MBI5042 uses the embedded PWM signal to control grayscale output and LED current.

More information

To design/build monostable multivibrators using 555 IC and verify their operation using measurements by observing waveforms.

To design/build monostable multivibrators using 555 IC and verify their operation using measurements by observing waveforms. AIM: SUBJECT: ANALOG ELECTRONICS (2130902) EXPERIMENT NO. 09 DATE : TITLE: TO DESIGN/BUILD MONOSTABLE MULTIVIBRATORS USING 555 IC AND VERIFY THEIR OPERATION USING MEASUREMENTS BY OBSERVING WAVEFORMS. DOC.

More information

Fig 1: The symbol for a comparator

Fig 1: The symbol for a comparator INTRODUCTION A comparator is a device that compares two voltages or currents and switches its output to indicate which is larger. They are commonly used in devices such as They are commonly used in devices

More information

A-D and D-A Converters

A-D and D-A Converters Chapter 5 A-D and D-A Converters (No mathematical derivations) 04 Hours 08 Marks When digital devices are to be interfaced with analog devices (or vice a versa), Digital to Analog converter and Analog

More information

EE445L Fall 2011 Quiz 2A Page 1 of 6

EE445L Fall 2011 Quiz 2A Page 1 of 6 EE445L Fall 2011 Quiz 2A Page 1 of 6 Jonathan W. Valvano First: Last: November 18, 2011, 2:00pm-2:50pm. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

MICROPROCESSOR TECHNICS II

MICROPROCESSOR TECHNICS II AGH University of Science and Technology Faculty of Computer Science, Electronics and Telecommunication Department of Electronics MICROPROCESSOR TECHNICS II Tutorial 5 Combining ADC & PWM Mariusz Sokołowski

More information

Lecture 4 Power System Instrumentation. Course map

Lecture 4 Power System Instrumentation. Course map Lecture 4 Power System Instrumentation 1 Course map 2 1 Outline of the Lecture Instrument Transformers Voltage Transformer Current Transformers Measurement Setups Instrumentation 3 The Current Transformer

More information