Lecture 18 DSP-Based Analog Circuit Testing

Slides:



Advertisements
Similar presentations
INVERTERS (DC-AC Converters).
Advertisements

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 181 Lecture 18 DSP-Based Analog Circuit Testing  Definitions  Unit Test Period (UTP)  Correlation.
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
Analogue to Digital Conversion (PCM and DM)
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Chapter 2 Data and Signals
4.2 Digital Transmission Pulse Modulation (Part 2.1)
CEN352, Dr. Ghulam Muhammad King Saud University
Chapter 3 Data and Signals
Chapter 15: Data Transmission Business Data Communications, 5e.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 171 Lecture 17 Analog Circuit Test -- A/D and D/A Converters  Motivation  Present state-of-the-art.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Angle Modulation Objectives
Chapter 4 Digital Transmission
Basics of Signal Processing. frequency = 1/T  speed of sound × T, where T is a period sine wave period (frequency) amplitude phase.
Digital Communication Techniques
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
Formatting and Baseband Modulation
Formatting and Baseband Modulation
Fundamentals of Digital Communication
Ni.com Data Analysis: Time and Frequency Domain. ni.com Typical Data Acquisition System.
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Lecture 1 Signals in the Time and Frequency Domains
Basics of Signal Processing. SIGNALSOURCE RECEIVER describe waves in terms of their significant features understand the way the waves originate effect.
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
Chapter 15: Data Transmission Business Data Communications, 6e.
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
CSC361/661 Digital Media Spring 2002
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
ECE 4710: Lecture #9 1 PCM Noise  Decoded PCM signal at Rx output is analog signal corrupted by “noise”  Many sources of noise:  Quantizing noise »Four.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
EE210 Digital Electronics Class Lecture 2 March 20, 2008.
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
1 Lecture 17 Analog Circuit Test -- A/D and D/A Converters Motivation Present state-of-the-art Advantages of DSP-based analog tester Components of DSP-based.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Signal: a supplementary material Taekyoung Kwon. signal A signal is a time-varying event that conveys information from a source to a destination (more.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
ECE 4710: Lecture #25 1 Frequency Shift Keying  Frequency Shift Keying = FSK  Two Major FSK Categories  Continuous Phase »Phase between bit transitions.
Physical Layer PART II. Position of the physical layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Signal Analyzers. Introduction In the first 14 chapters we discussed measurement techniques in the time domain, that is, measurement of parameters that.
Eeng Chapter4 Bandpass Signalling  Bandpass Filtering and Linear Distortion  Bandpass Sampling Theorem  Bandpass Dimensionality Theorem  Amplifiers.
Digital Signal Processing
Measurement and Instrumentation
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Computer Communication & Networks
Part II Physical Layer.
Dynamic Specifications
Analog to digital conversion
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Frequency Domain TIPL 4301 TI Precision Labs – ADCs
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Soutenance de thèse vendredi 24 novembre 2006, Lorient
MECH 373 Instrumentation and Measurements
Digital Control Systems Waseem Gulsher
Fundamentals of Data & Signals (Part II)
Physical Layer Part 1 Lecture -3.
EE210 Digital Electronics Class Lecture 2 September 03, 2008
CEN352, Dr. Ghulam Muhammad King Saud University
Lecture 17 Analog Circuit Test -- A/D and D/A Converters
Presentation transcript:

Lecture 18 DSP-Based Analog Circuit Testing Definitions Unit Test Period (UTP) Correlation Fourier Voltmeter Non-Coherent Sampling Multi-Tone Testing CODEC Testing Event Digitization Summary Original slides copyright by Mike Bushnell and Vishwani Agrawal

Definitions Intermodulation – Non-linear response of DUT creates a spectral line at sum or difference of analog testing frequencies Intrinsic Parameter -- Defines DUT specification Primitive Band, 0 f N D / 2 Contains all sampled waveform information Multi-Tone Testing – Stimulate DUT with a multi-frequency composite sinusoidal analog waveform Primitive Frequency, D = 1 / unit test period

More Definitions Quantization Error – Introduced into measured signal by discrete sampling Quantum Voltage – Corresponds to flip of LSB of converter Single-Tone Test -- Test of DUT using only one sinusoidal tone Tone – Pure sinusoid of f, A, and phase f Transmission (Performance) Parameter -- indicates how channel with embedded analog circuit affects multi-tone test signal UTP – Unit test period: joint sampling period for analog stimulus and response

Emulating Instruments with Fourier Transforms Conventional analog tester © 1987 IEEE DSP-based tester

Equivalent Calculations 1 P Analog tester: V (DC) = ___ Vin dt V = ____ | Vin | dt V (RMS) = ____ V2in dt DSP-based tester: V (DC) = ___ V (I) V = ___ | V (I) | V (RMS) = ___ V (I)2 P ( abs. avg. ) 1 P P 1 P P N S 1 N I = 1 N ( abs. avg. ) S 1 N I = 1 N S 1 N I = 1

Coherent Testing

Coherent Measurement Method Unit Test Period is integration interval P Has integral # of stimulus periods M Has integral # of DUT output periods N Stimulus & sampling are phase locked To obtain maximum information from sampling, M and N are relatively prime Ft – tone frequency Fs – sampling rate

CODEC Testing Example Serial ADC in digital telephone exchange Sampling rate 8000 s/s Audio frequency range 300 – 3400 Hz Ft = 1000 Hz Fs = 8000 s/s P = 50 ms M = 50 cycles N = 400 samples Problem: M and N not relatively prime All samples fall on waveform at certain phases – sample only 8/255 CODEC steps

CODEC Testing Solution Set Fs = 400 ks/s – impossibly fast Better – Adjust Ft slightly, signal sampled at different points Necessary relationships: Ft = M x D Fs = N x D D = 1 / UTP Ft M Fs N =

Good CODEC Parameters P = UTP = 50 ms D = 20 Hz Ft = 1020 Hz Fs = 8000 s/s P = UTP = 50 ms D = 20 Hz M = 51 cycles N = 400 samples M and N now relatively prime All samples fall on waveform at different phases – samples all CODEC steps

Unit Test Period © 1987 IEEE

Mahoney’s Gear Train Analogy © 1987 IEEE

Primitive Frequency © 1987 IEEE

Spectral Test of A/D Converter © 1987 IEEE

Example Multi-Tone Test Stimulus © 1987 IEEE

Bad A/D Converter Test © 1987 IEEE

Good A/D Converter Test © 1987 IEEE

Coherent Filtering Eliminates filter settling time & non-linear analog circuits – big speed-up Never put a filter between DUT and digitizer – introduces settling time longer than a signal period Settling time = 5 to 10 x to get to 0.1 % accuracy 1 3dB bandwidth

Spectral DSP-Based Testing Components © 1987 IEEE

Correlation t = programmable delay A, B are functions R = coherent correlation G = gain or scale factor P = period of waveform G = ______________________________ Normalized correlation: -1 R +1 R (t) = G A (t) B (t - t ) dt 1 RMS (A) x RMS (B) x UTP P

Correlation Model © 1987 IEEE Cross-correlation – compare 2 different signals Autocorrelation – compare 1 signal with itself

Fourier Voltmeter 1st Principle © 1987 IEEE For signals A and B, if P is infinite, R = 0. If P is finite and contains integer # cycles of both A and B, then cross-correlation R = 0, regardless of phase or amplitude

Fourier Voltmeter 2nd Principle © 1987 IEEE If signals A and B of same f are 90o out of phase, and P contains an integer J # of signal cycles, then cross-correlation R = 0, regardless of amplitude or starting point

Two Forms of Fourier Voltmeter © 1987 IEEE P = Unit test period J = # of signal cycles

Analog Fourier Voltmeter Equivalent © 1987 IEEE

S S ( ) ( ) Dot Product and Power Software Fourier Voltmeter – dot product: cosine part = X (I) C (I) sine part = X (I) S (I) C = cosine, S = sine dB figures: Number of dB = 10 log Number of dB = 20 log Adjusted power computation: Average sine wave power = S N 2 N I = 1 S N 2 N I = 1 ( P2 P1 ) ( V2 V1 ) peak power 2

Orthogonal Signals – Benefit of Coherence When 2 more more sinusoids are in circuit response, they are statistically orthogonal – 0 cross-correlation Digital domain definition: Orthogonal if sum of index-by-index products = 0 Statistically independent Each signal has separate, unique information When added linearly, resulting power is arithmetic sum of individual component powers

Conceptual Discrete Fourier Voltmeter © 1987 IEEE

Fourier Voltmeter Voltage-Swept Response © 1987 IEEE | sin ( p N T f’ ) N sin (p T f’ ) | | G (f) | = _______________ where f’ = f - J D

A/D Converter Spectrum © 1987 IEEE Audio source at 1076 Hz sampled at 44.1 kHz

Non-Coherent Testing

Non-Coherent Sampling for Speech © 1987 IEEE

Universal Rule of Non-Coherent Sampling If all signal spectral energy is in a spectrum of width W = fH – fL, Choose Fs so that [fL, fH] falls within two adjacent harmonics of Fs /2: If fL > , then > fH These two inequalities give Universal rule for non-coherent sampling: n = image zone number, 0 = low-pass, 1 is band-pass case fL, fH low, high frequencies n Fs 2 (n + 1) Fs 2 2 fH n + 1 2 fL n > Fs >

SIN x/x (sinc) Adjustment © 1987 IEEE

Hardware for Sinc Adjustment © 1987 IEEE

Multi-Tone Testing

Test Setup © 1987 IEEE

Coherent Multi-Tone Testing © 1987 IEEE

Single-Tone Test Example © 1987 IEEE

Multi-Tone Test Example © 1987 IEEE

Multi-Tone Phase Response © 1987 IEEE

Total Harmonic Distortion (THD) Measures energy appearing in harmonics (H2, H3, …) of fundamental tone H1 as % of energy in the fundamental frequency in response spectrum THD = H2 10 H3 10 H10 10 10 + 10 + … + 10 10 H1 20

Error Sources and Accuracy Multi-tone waveforms Tone amplitudes must be small to prevent peak-to-peak amplitudes from burning out the DUT (leads to smaller Signal/Noise ratio) When DUT has no quantization or digital filtering, just as accurate CODECs Discontinuous time sampling, discontinuous amplitude functions Interact with test signals and measurement process Uncertainty – synchronous interference, discontinuous functions Book has test adjustments to reduce error

CODEC Testing

CODEC Example © 1987 IEEE SLIC – Subscriber loop interface circuit PCM – Pulse Code Modulation

Digitized Signal Reconstruction © 1987 IEEE

Law or Floating Point Encoding (Companding) © 1987 IEEE

Full Channel Gain Test © 1987 IEEE

Influence of Test Frequency Selection © 1987 IEEE

Half Channel Test Setup © 1987 IEEE

Signal-to-Total Distortion Test © 1987 IEEE

Intermodulation Distortion Test Waveforms © 1987 IEEE

Gain Tracking Characterization Test © 1987 IEEE

Signal to Total Distortion Characterization © 1987 IEEE

Event Digitization © 1987 IEEE

ATE Event Digitizer Block Diagram

DSP Testing Summary Analog testing greatly increasing in importance System-on-a-chip Wireless Personal computer multi-media Automotive electronics Medicine Internet telephony CD players and audio electronics Analog testing NOT deterministic like digital Statistical testing process, electrical noise