Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 191 Lecture 19 Fault-Model Based Structural Analog Testing  Analog fault models  Analog Fault Simulation.

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Advertisements

Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 121 Lecture 12 Advanced Combinational ATPG Algorithms  FAN – Multiple Backtrace (1983)  TOPS – Dominators.
Chapter 7 Operational-Amplifier and its Applications
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Copyright 2001, Agrawal & BushnellLecture 3b: Testability Analysis1 VLSI Testing Lecture 3b: Testability Analysis n Definition n Controllability and observability.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 16alt1 Lecture 16alt Analog Circuit Test (Alternative to Lectures 17, 18, 19 and 30)  Analog circuits.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Review Resources: Wiki: State Variables YMZ: State Variable Technique Wiki: Controllability.
Unit 9 IIR Filter Design 1. Introduction The ideal filter Constant gain of at least unity in the pass band Constant gain of zero in the stop band The.
ECE 352 Electronics II Winter 2003 Ch. 8 Feedback 1 *Feedback circuit does not load down the basic amplifier A, i.e. doesn’t change its characteristics.
Copyright 2001, Agrawal & BushnellDay-1 AM-3 Lecture 31 Testing Analog & Digital Products Lecture 3: Fault Modeling n Why model faults? n Some real defects.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 71 Lecture 7 Fault Simulation n Problem and motivation n Fault simulation algorithms n Serial n Parallel.
1 Lecture 19 Fault-Model Based Structural Analog Testing Analog fault models Analog Fault Simulation DC fault simulation AC fault simulation Analog Automatic.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 91 Lecture 9 Combinational Automatic Test-Pattern Generation (ATPG) Basics n Algorithms and representations.
Copyright 2005, Agrawal & BushnellLecture 9: Analog Test1 VLSI Testing Lecture 9: Analog Test  Analog circuits  Analog circuit test methods  Specification-based.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 8alt1 Lecture 8 Testability Measures n Definition n Controllability and observability n SCOAP measures.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
ADDITIONAL ANALYSIS TECHNIQUES LEARNING GOALS REVIEW LINEARITY The property has two equivalent definitions. We show and application of homogeneity APPLY.
* Operational Amplifiers * Op-Amp Circuits * Op-Amp Analysis
Lecture 8: Clock Distribution, PLL & DLL
Chapter 7 Reading on Moment Calculation. Time Moments of Impulse Response h(t) Definition of moments i-th moment Note that m 1 = Elmore delay when h(t)
Lecture 5 Fault Modeling
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 51 Lecture 5 Fault Modeling n Why model faults? n Some real defects in VLSI and PCB n Common fault.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 17alt1 Lecture 17alt Analog Circuit Test (Alternative to Lectures 17, 18, 19 and 30)  Analog circuits.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 171 Lecture 17 Analog Circuit Test -- A/D and D/A Converters  Motivation  Present state-of-the-art.
Operational-Amplifier and Data-Converter Circuits
Copyright 2005, Agrawal & BushnellDay-2 AM-3 Lecture 91 Testing Analog & Digital Products Lecture 9: Analog Test  Analog circuits  Analog circuit test.
Chapter 1 - Introduction to Electronics Introduction Microelectronics Integrated Circuits (IC) Technology Silicon Chip Microcomputer / Microprocessor Discrete.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures 
VLSI DSP 2008Y.T. Hwang3-1 Chapter 3 Algorithm Representation & Iteration Bound.
Digital to Analog Converters
VARIABLE-FREQUENCY NETWORK
Announcements Assignment 3 due now, or by tomorrow 5pm in my mailbox Assignment 4 posted, due next week –Thursday in class, or Friday 5pm in my mailbox.
Digital to Analog Converters
Inverting Amplifier. Introduction An inverting amplifier is a type of electrical circuit that reverses the flow of current passing through it. This reversal.
Chapter 19 Electronics Fundamentals Circuits, Devices and Applications - Floyd © Copyright 2007 Prentice-Hall Chapter 19.
ECE 352 Electronics II Winter 2003 Ch. 8 Feedback 1 Feedback *What is feedback?Taking a portion of the signal arriving at the load and feeding it back.
Indian Institute of Technology Bombay 1 SEQUEL: A Solver for circuit EQuations with User-defined ELements Prof. Mahesh B. Patil
ECE 352 Electronics II Winter 2003 Ch. 8 Feedback 1 *Feedback circuit does not load down the basic amplifier A, i.e. doesn’t change its characteristics.
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
1 Chapter 5: Harmonic Analysis in Frequency and Time Domains Contributors: A. Medina, N. R. Watson, P. Ribeiro, and C. Hatziadoniu Organized by Task Force.
Copyright 2005, Agrawal & BushnellLecture 11: Analog Test1 VLSI Testing Lecture 11: Analog Test Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
TOPIC : Introduction to Fault Simulation
Application model integration in the Virtual Test Bed Roger A. Dougal Dept of Electrical Engineering University of South Carolina Columbia, SC 29208
Digital to Analog Converter (DAC)
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 51 Lecture 5 Fault Modeling n Why model faults? n Some real defects in VLSI and PCB n Common fault.
Chapter 6 BJT Amplifiers
EXAMPLE 2 – PHOTODIODE A photodiode is a semiconductor device that converts light into current. The current is generated when photons are absorbed in the.
 The differentiator or differentiating amplifier is as shown in figure.  This circuit will perform the mathematical operation of differentiation.
VLSI Testing Lecture 11: Analog Test
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 4: Testability Analysis
VLSI Testing Lecture 6: Fault Simulation
Algorithms and representations Structural vs. functional test
Lecture 7 Fault Simulation
VLSI Testing Lecture 6: Fault Simulation
VLSI Testing Lecture 7: Combinational ATPG
Chapter 2 Interconnect Analysis
Digital Control Systems (DCS)
Digital Control Systems (DCS)
Lecture 5 Fault Modeling
VLSI Testing Lecture 8: Sequential ATPG
Chapter 6 Discrete-Time System
VLSI Testing Lecture 7: Combinational ATPG
VLSI Testing Lecture 4: Testability Analysis
VLSI Testing Lecture 3: Fault Modeling
Presentation transcript:

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 191 Lecture 19 Fault-Model Based Structural Analog Testing  Analog fault models  Analog Fault Simulation  DC fault simulation  AC fault simulation  Analog Automatic Test-Pattern Generation  Using Sensitivities  Using Signal Flow Graphs  Summary

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 192 Types of Structural Faults  Catastrophic (hard):  Component is completely open or completely shorted  Easy to test for  Parametric (soft):  Analog R, C, L, K n, or K p (a transistor K parameter) is outside of its tolerance box)  Very hard to test for

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 193 Analog Fault Models First stage gain R 2 / R 1 High-pass filter gain R 3 and C 1 High-pass filter cutoff f C 1 Low-pass AC voltage gain R 4, R 5, & C 2 Low-pass DC voltage gain R 4 and R 5 Low-pass filter cutoff f C 2

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 194 Levels of Abstraction  Structural Level  Structural View – Transistor schematic  Behavioral View – System of non-linear partial differential equations for netlist  Functional Level  Structural View – Signal Flow Graph  Behavioral View – Analog network transfer function

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 195 Analog Test Types  Specification Tests  Design characterization – Does design meet specifications?  Diagnostic – Find cause of failures  Production tests – Test large numbers of linear/mixed-signal circuits

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 196 DC Analog Fault Simulation

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 197 Complementarity Pivoting  P. M.Lin and Y. S. Elcherif, Analogue Circuits Fault Dictionary – New Approaches and Implementation, Int’l. J. of Circuit Theory and Applications, 1985  Model all non-linear devices with piecewise- linear I-V characteristics (ideal diodes)  Represent open, short, and parametric faults with switches  Formulate as n-port network complementarity problem  Solve with Lemke’s complementarity pivoting algorithm  Use m pairs of complementarity variables (port currents and voltages)

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 198 One-Step Relaxation  W. Tian and C.-J. Shi, Nonlinear DC-Fault Simulation by One-Step Relaxation – Linear Circuit Models are Sufficient for Nonlinear DC– Fault Simulation, VTS-1998  Solve f (x) = 0, x is circuit variable vector (node voltages and branch currents), f is non-linear system function  Guess x (0)  Solve Jacobian: J f (x g ) (x f (1) – x g )= -f f (x g )  Operate Newton-Raphson algorithm for only 1 step

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 199 Fault Ordering W. Tian and C.-J. Shi, Efficient DC Fault Simulation of Nonlinear Analog Circuits, DATE-98

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1910 AC Fault Simulation

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1911 Householder’s Formula  A. S. Householder, A Survey of Some Closed Methods for Inverting Matrices, SIAM J. of Applied Mathematics, 1957  Analyze circuit with Modified Nodal Analysis: T x = w  Equivalent faulty circuit equation: T f x f = w f  Formula (T f differs only a little from T): (A + U S W) -1 = A -1 – A -1 U (S -1 + WA -1 U) -1 W A -1  Reduces amount of equation solving – 10 x speedup over sparse matrix techniques

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1912 Discrete Z-Domain Mapping  Nagi, Chatterjee, Abraham, DRAFTS: Discretized Analog Circuit Fault Simulator, Design Automation Conference, 1993  Analog circuit fault simulation with Signal Flow Graph (SFG)  Represented complex frequency state equations using SFGs and dummy variables  Use bilinear transform, map s-domain equations into z-domain  Accelerated fault simulation 10 times with behavioral OPAMP models

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1913 Monte-Carlo Simulation  Perform analog simulation for randomly- generated small variations in analog circuit component values  Actual IC manufacturing makes good circuits deviate by such values  Good in practice but good and bad machines have different worst-case corners  Tends to underestimate circuit response bounds – may claim faults are detectable when they are not

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1914 Analog Automatic Test- Pattern Generation

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1915 Method of ATPG Using Sensitivities  Compute analog circuit sensitivities  Construct analog circuit bipartite graph  From graph, find which O/P parameters (performances) to measure to guarantee maximal coverage of parametric faults  Determine which O/P parameters are most sensitive to faults  Evaluate test quality, add test points to complete the analog fault coverage N. B. Hamida and B. Kaminska, Analog Circuit Testing Based on Sensitivity Computation and New Circuit Modeling, ITC-1993

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1916 Sensitivity  Differential: S =  Incremental:  = x  T j – performance parameter  x i – network element TjTj xixi x i T j T j x i  T j / T j  x i / x i  x i 0 TjTj xixi xiTjxiTj  T j  x i  

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1917 Circuit Model

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1918 Incremental Sensitivity Matrix of Circuit R R R C R R R C 2 A 1 A 2 fc 1 A 3 A 4 fc 2 \

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1919 Bipartite Graph of Circuit

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1920 Single Fault Best and Worst-Case Deviations A1 A2 A                         R1R1R2R2R3R3C1C1R4R4R5R5R1R1R2R2R3R3C1C1R4R4R5R5 fc1 fc2 A               R3R3C1C1R5R5C2C2R4R4R5R5C2C2R3R3C1C1R5R5C2C2R4R4R5R5C2C2               { { { { { {

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1921 Weighted Bipartite Graph

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1922  Generates tests and defines parametric faults for analog circuits  ATPG Approach:  Backtraces signals from circuit outputs (specified with magnitude/phase tolerance) through circuit using signal flow graph (SFG)  Inverts the SFG to allow backtracing  Evaluates internal waveforms using an output waveform sample set by evaluating SFG Analog ATPG Using Signal Flow Graphs R. Ramadoss and M. L. Bushnell, Test Generation for Mixed-Signal Devices Using Signal Flow Graphs, VLSI Design-1996

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1923 Test Generation via Reverse Simulation  Find good circuit signal values at all nodes using good output waveform  Find bad circuit signal values at all nodes using bad output waveform (use extrema of tolerance box for magnitude or phase)  Finds faulty value of analog component necessary to drive output waveform out of tolerance box  Mark all corresponding edges to fault  Compute modified SFG weights that give good value after bad edges in inverted SFG

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1924 Integrator Example  Basic integrator circuit with ideal OPAMP

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1925 Signal Flow Graph Inversion  SFG represents analog network equations value (i) =  (parent node value) (edge weight)  May be inverted x 2 = ax 1 + bx 3 + cx 4 x 1 = 1/a x 2 – b/a x 3 - c/a x 4 ORIGINAL GRAPH INVERTED GRAPH  SFG inversion algorithm follows from Balabanian’s example (1969)

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1926 SFG Inversion Algorithm  Start at a primary input, x 1, a source node  Reverse the direction of the outgoing edge from x 1 to x 2 and change the weight to 1/a  Redirect all edges incident on x 2 to x 1 and change weights appropriately  Continue for all source nodes, from all inputs, until the output becomes a source Inverted SFG Properties:  Equivalent to original SFG  A feed-forward network – graph cycles cut  Represents set of integral equations, solved by numerical differentiation  May be an unstable system

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1927 Graphs for Integrator Original SFG Inverted SFG  SFG part after fault has faulty value  Bad signal does not disappear, circuits are linear  Method applicable to all circuits representable with SFGs (1 st and 2 nd order)  Backtrace over all paths from outputs to inputs  2 nd order approximation for s differential operator

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1928 Analog Fault Definition  Want to find parametric fault value for R 1  Use good & bad node values for all nodes from reverse analog simulation  For parametric fault definition in inverted SFG  Use good values for nodes before fault  Use bad values for nodes after fault  Linear equation in 1 variable for each component  Manipulate component equations symbolically to get component tolerance

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1929 Calculation of R1 Tolerance to Cause Fault goodval (1) badval (3) -R 1 C -R f C badval (R 1 ) - goodval (1) C (badval (2) + badval (3) / R f C) goodval (R 1 ) - goodval (1) C (goodval (2) + goodval (3) / R f C) R 1 Tolerance = goodval (R 1 ) – badval (R 1 ) + = badval (2) = = Inverted SFG Original SFG

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1930 SFG ATPG Results  R 1 = 10 K , R f = 100 K , C = 0.01  F  Output tolerance = +10%, used SPICE output  Calculated test signal and component deviations  Deviations analogous to fault coverage Component R 1 R f C Allowed Value 9.09 K  K   F Deviation -9.1% % -7.0%

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1931 Generated Test Waveform Voltage Time (ms)

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1932 Summary of SFG Method  Works for multiple input, multiple output circuits  Handles single and multiple parametric faults, and catastrophic faults  Symbolic solution too difficult for multiple parametric fault tolerance – use iterative method with simulation to obtain deviation  Extended to cover transistor biasing faults in analog circuits  Extended to analog multipliers and comparators

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 1933 Summary  Analog model-based testing – Just starting to get some acceptance  Structural test with a fault model  Offers advantage of testing specific parametric and catastrophic faults  Analog DSP-based testing – Main stream  Functional test without fault model  Problem is worsening – 22-bit A/D converters coming, expected to sample at 1 GHz