Embedded System Hardware

Similar documents
Analog to Digital Converter. Last updated 7/27/18

10:15-11 am Digital signal processing

Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Analog-to-Digital Conversion

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

Digital Fundamentals. Introduction to Digital Signal Processing

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

Chapter 14 D-A and A-D Conversion

Digitization: Sampling & Quantization

Introduction to Data Conversion and Processing

Introduction to Mechatronics. Fall Instructor: Professor Charles Ume. Analog to Digital Converter

Experiment 2: Sampling and Quantization

International Journal of Engineering Research-Online A Peer Reviewed International Journal

Analog Input & Output

WINTER 15 EXAMINATION Model Answer

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

EECS 373 Design of Microprocessor-Based Systems

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

Digital Logic Design: An Overview & Number Systems

«Trends in high speed, low power Analog to Digital converters»

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

Essentials of the AV Industry Welcome Introduction How to Take This Course Quizzes, Section Tests, and Course Completion A Digital and Analog World

Analog to Digital Conversion

Low-Power Decimation Filter for 2.5 GHz Operation in Standard-Cell Implementation

CS302 - Digital Logic & Design

Chapter 1. Introduction to Digital Signal Processing

Feedback: Part A - Basics

UNIT V 8051 Microcontroller based Systems Design

GAMBIT DAC1 OPERATING MANUAL

Sensor Development for the imote2 Smart Sensor Platform

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

Digital Representation

Module 8 : Numerical Relaying I : Fundamentals

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

Clock Jitter Cancelation in Coherent Data Converter Testing

Fourier Transforms 1D

R Fig. 5 photograph of the image reorganization circuitry. Circuit diagram of output sampling stage.

Signals and Systems. Spring Room 324, Geology Palace, ,

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

Dac3 White Paper. These Dac3 goals where to be achieved through the application and use of optimum solutions for:

Introduction to Embedded Microcomputer Systems Lecture Discrete digital signal. Continuous analog signal

Audio and Other Waveforms

Experiment 9 Analog/Digital Conversion

Getting Images of the World

DIRECT DIGITAL SYNTHESIS AND SPUR REDUCTION USING METHOD OF DITHERING

Design & Simulation of 128x Interpolator Filter

B I O E N / Biological Signals & Data Acquisition

Converters: Analogue to Digital

Introduction To LabVIEW and the DSP Board

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

Digitizing and Sampling

Digitally Assisted Analog Circuits. Boris Murmann Stanford University Department of Electrical Engineering

PHYS 3322 Modern Laboratory Methods I Digital Devices

DESIGN PHILOSOPHY We had a Dream...

Reading an Image using CMOS Linear Image Sensor. S.R.Shinthu 1, P.Maheswari 2, C.S.Manikandababu 3. 1 Introduction. A.

Choosing an Oscilloscope

CCD Element Linear Image Sensor CCD Element Line Scan Image Sensor

Decade Counters Mod-5 counter: Decade Counter:

Voice Controlled Car System

Digital Lock-In Amplifiers SR850 DSP lock-in amplifier with graphical display

Design and VLSI Implementation of Oversampling Sigma Delta Digital to Analog Convertor Used For Hearing Aid Application

Digital Effects Pedal Description Ross Jongeward 10 December 2014

Lab 5 Linear Predictive Coding

Chapter 2 Signals. 2.1 Signals in the Wild One-Dimensional Continuous Time Signals

Research Results in Mixed Signal IC Design

What to look for when choosing an oscilloscope

Future of Analog Design and Upcoming Challenges in Nanometer CMOS

CATHODE RAY OSCILLOSCOPE. Basic block diagrams Principle of operation Measurement of voltage, current and frequency

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Computer Graphics Hardware

Digital Signal Processing

Innovative Rotary Encoders Deliver Durability and Precision without Tradeoffs. By: Jeff Smoot, CUI Inc

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

SC26 Magnetic Field Cancelling System

Intro to DSP: Sampling. with GNU Radio Jeff Long

DIGITAL ELECTRONICS MCQs

Lab experience 1: Introduction to LabView

AD9884A Evaluation Kit Documentation

Introduction to Digital Signal Processing (DSP)

SINOAUDI TeddyDAC Digital to Analogue Converter white paper Teddy Pardo

Workshop III: Analog and Sensors

Digital Systems Principles and Applications. Chapter 1 Objectives

MULTISIM DEMO 9.5: 60 HZ ACTIVE NOTCH FILTER

Digital Blocks Semiconductor IP

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

CCD 143A 2048-Element High Speed Linear Image Sensor

Chapter 11 Sections 1 3 Dr. Iyad Jafar

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

MICROLINK 304x A-D Converter User Manual

Training Note TR-06RD. Schedules. Schedule types

Towards More Efficient DSP Implementations: An Analysis into the Sources of Error in DSP Design

Transcription:

Embedded System Hardware Peter Marwedel Informatik 12 Germany 2009/11/10 12

Structure of this course Application Knowledge 2: Specification Design repository 3: ES-hardware 6: Application mapping 4: system software (RTOS, middleware, ) Design 8: Test 7: Optimization 5: Validation & Evaluation (energy, cost, performance, ) Numbers denote sequence of chapters 12, 2009-2-

Embedded System Hardware Embedded system hardware is frequently used in a loop ( hardware in a loop ): cyber-physical systems 12, 2009-3-

Many examples of such loops Heating Lights Engine control Power supply Robots Heating: www.masonsplumbing.co.uk/images/heating.jpg Robot:: Courtesy and : H.Ulbrich, F. Pfeiffer, TU München 12, 2009-4-

Sensors Processing of physical data starts with capturing this data. Sensors can be designed for virtually every physical and chemical quantity including weight, velocity, acceleration, electrical current, voltage, temperatures etc. chemical compounds. Many physical effects used for constructing sensors. Examples: law of induction (generation of voltages in an electric field), light-electric effects. Huge amount of sensors designed in recent years. 12, 2009-5-

Example: Acceleration Sensor Courtesy & : S. Bütgenbach, TU Braunschweig 12, 2009-6-

Charge-coupled devices (CCD) image sensors Based Basedon oncharge chargetransfer transferto tonext next pixel pixel cell cell Corresponding to bucket brigade device (German: Eimerkettenschaltung ) 12, 2009 http://www.schulen.regensburg. de/hhgs/klassen/2001a/feuerwehr/ kette2.jpg - 7-

CMOS image sensors Based on standard production process for CMOS chips, allows integration with other components. 12, 2009-8-

Comparison CCD/CMOS sensors CMOS: low cost devices + digital SLR cameras (due to large size, ) CCD: medium to high end non-slr cameras Source: B. Diericks: CMOS image sensor concepts. Photonics West 2000 Short course (Web) 12, 2009-9-

Example: Biometrical Sensors Example: Example: Fingerprint Fingerprint sensor sensor ( ( Siemens, Siemens, VDE): VDE): Matrix of 256 x 256 elem. Voltage ~ distance. Resistance also computed. No fooling by photos and wax copies. Carbon dust? Integrated into ID mouse. 12, 2009-10 -

Artificial eyes Dobelle Institute (was at www.dobelle.com) 12, 2009-11 -

Artificial eyes (2) Dobelle Institute He looks hale, hearty, and healthy except for the wires. They run from the laptops into the signal processors, then out again and across the table and up into the air, flanking his face like curtains before disappearing into holes drilled through his skull. Since his hair is dark and the wires are black, it's hard to see the actual points of entry. From a distance the wires look like long ponytails. 12, 2009 Show movie from www.dobelle.com (e.g. blind person driving a car) - 12 -

Artificial eyes (3) Übersetzung in Schall; angeblich bessere Auflösung [http://www.seeingwithsound.com/etumble.htm] 12, 2009 Movie - 13 -

Other sensors Rain sensors for wiper control ( Sensors multiply like rabbits [ITT automotive]) Pressure sensors Proximity sensors Engine control sensors Hall effect sensors 12, 2009-14 -

Signals Sensors generate signals Definition: a signal s is a mapping from the time domain DT to a value domain DV: s: DT DV DT : continuous or discrete time domain DV : continuous or discrete value domain. 12, 2009-15 -

Discretization Peter Marwedel Informatik 12 Germany 12

Discretization of time Digital computers require discrete sequences of physical values s: DT DV Discrete time domain Sample-and-hold circuits 12, 2009-17 -

Sample-and-hold circuits Clocked transistor + capacitor; Capacitor stores sequence values e(t) is a mapping ℝ ℝ h(t) is a sequence of values or a mapping ℤ ℝ 12, 2009-18 -

Do we loose information due to sampling? Would we be able to reconstruct input signals from the sampled signals? approximation of signals by sine waves. 12, 2009-19 -

Approximation of a square wave (1) K=1 4 2π k e' K (t ) = sin T k = 1, 3, 5,.. π k K K=3 12, 2009-20 -

Approximation of a square wave (2) K=5 4 2π k e' K (t ) = sin T k = 1, 3, 5,.. π k K K=7 12, 2009-21 -

Approximation of a square wave (3) K=9 4 2π k e' K (t ) = sin T k = 1, 3, 5,.. π k K K=11 K=11 Applet at http:// 12, 2009 www.jhu.edu/~signals/fourier2/index.html- 22 -

Linear transformations Let e1(t) and e2(t) be signals Definition: A transformation Tr of signals is linear iff Tr (e1 + e2 ) = Tr (e1 ) + Tr (e2 ) In the following, we will consider linear transformations. We consider sums of sine waves instead of the original signals. 12, 2009-23 -

Aliasing 2π k 2π k e3 (t ) = sin + 0.5 sin 8 4 2π k 2π k 2π k e4 (t ) = sin + 0.5 sin + 0.5 sin 8 4 1 Periods of T=8,4,1 Indistinguishable if sampled at integer times Ts=1 12, 2009 MATLAB Sampling Demo - 24 -

Aliasing (2) Reconstruction impossible, if not sampling frequently enough How frequently do we have to sample? Nyquist criterion (sampling theory): Aliasing can be avoided if we restrict the frequencies of the incoming signal to less than half of the sampling rate. Ts < ½ T where T is the period of the fastest sine wave or fs > 2 f where f is the frequency of the fastest sine wave f is called the Nyquist frequency, fs is the sampling rate. See e.g. [Oppenheim/Schafer, 2009] 12, 2009-25 -

Anti-aliasing filter A filter is needed to remove high frequencies e4(t) changed into e3(t) g (t ) e(t ) Ideal filter Realizable filter fs /2 fs 12, 2009-26 -

Examples of Aliasing in computer graphics Original Sub-sampled, no filtering 12, 2009 http://en.wikipedia.org/wiki/image: Moire_pattern_of_bricks_small.jpg - 27 -

Examples of Aliasing in computer graphics (2) Original (pdf screen copy) Filtered & subsampled Subsampled, no filtering http://www.niirs10.com/resources/ Reference Documents/Accuracy in Digital Image Processing.pdf Impact of rasterization 12, 2009-28 -

Discretization of values: A/D-converters Digital computers require digital form of physical values s: DT DV Discrete value domain A/D-conversion; many methods with different speeds. 12, 2009-29 -

Flash A/D converter Encodes input number of most significant 1 as an unsigned number, e.g. 1111 -> 100, 0111 -> 011, 0011 -> 010, 0001 -> 001, 0000 -> 000 (Priority encoder). 12, 2009-30 -

Resolution Resolution (in bits): number of bits produced Resolution Q (in volts): difference between two input voltages causing the output to be incremented by 1 VFSR Q= n Q: VFSR: n: with resolution in volts per step difference between largest and smallest voltage number of voltage intervals 12, 2009-31 -

Resolution and speed of Flash A/D-converter Parallel comparison with reference voltage Speed: O(1) Hardware complexity: O(n) Applications: e.g. in video processing 12, 2009-32 -

Higher resolution: Successive approximation h(t) w(t) Key idea: binary search: Set MSB='1' if too large: reset MSB Set MSB-1='1' if too large: reset MSB-1 Speed: O(ld(n)) Hardware complexity: O(ld(n)) with n= # of distinguished voltage levels; slow, but high precision possible. 12, 2009-33 -

Successive approximation (2) V 1100 Vx 1011 1010 1000 V- t 12, 2009-34 -

Application areas for flash and successive approximation converters Effective number of bits at bandwidth (used in multimeters) (using single bit D/A-converters; common for high quality audio equipments) [http://www.beis.de/elektronik/ DeltaSigma/DeltaSigma.html] (Pipelined flash converters) [Gielen et al., DAC 2003] 12, 2009 Movie IEEE tv - 35 -

Quantization Noise h(t) w(t) Assuming rounding (truncating) towards 0 h(t)-w(t) 12, 2009-36 -

Quantization noise for audio signal e.g.: 20 log(2)=6.02 decibels effective signal voltage signal to noise ratio (SNR) [db] = 20 log effective noise voltage Signal to noise for ideal n-bit converter : n * 6.02 + 1.76 [db] e.g. 98.1 db for 16-bit converter, ~ 160 db for 24-bit converter Additional noise for non-ideal converters 12, 2009 Source: [http://www.beis.de/elektronik/ DeltaSigma/DeltaSigma.html] MATLAB demo - 37 -

Summary Hardware in a loop Sensors Discretization Sample-and-hold circuits - Aliasing (and how to avoid it) - Nyquist criterion A/D-converters - Quantization noise 12, 2009-38 -