April 26 th, 2006 AC Circuits PHYS 102 Where T is the period of oscillation.
oscillation test methodology for MOSFET circuits Report part 2
-
Upload
ashok-kumar -
Category
Engineering
-
view
899 -
download
5
description
Transcript of oscillation test methodology for MOSFET circuits Report part 2
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 1
Chapter-1
INTRODUCTION
Objective of the project To test fault in a MOSFET circuit using Oscillation Test Methodology.
To improve the fault diagnosis and testability of the oscillation test methodology
applied to a typical two-stage CMOS operational amplifier with Monte Carlo
analysis.
1.1 Brief description
With the growing use of analog circuits in commercial mixed-signal integrated circuits
and systems, testing of analog integrated circuits is considered as one of the most important
problems in analog and mixed-signal integrated circuit design. Analog circuits have
traditionally been tested for critical specifications e.g., ac gain over a range of frequencies,
common-mode rejection ratio, signal-to-noise ratio, linearity, slew rate, due to the lack of
simple fault models. The functional testing usually results in longer test times because of
redundant testing. It does not provide either a good test quality or a quantitative measure of
test effectiveness or fault coverage. Reducing test time by optimizing the functional test set
while achieving the desired parametric fault coverage has also been studied. However, the
technique needs a reasonably large number of sample circuits for collecting the test data.
Analog CMOS circuits have also been tested by varying the supply voltage in
conjunction with the inputs. This technique aims to sensitize faults by causing the transistors
to switch between different regions of operation. A ramped power supply voltage has been
used to test faults in op-amp circuits. In an ac supply voltage has been used for improving the
fault coverage. Although these techniques have achieved high fault coverage, the number of
faults injected was quite small. Using this idea of varying supply voltage and combining it
with supply current monitoring, larger analog circuits have been tested for short circuit fault
detection. But the method suffers from the fact that, gate-source shorts that have negligible
effect on supply current and gate-source shorts of transistors which do not switch their mode
of operation to any applied stimulus, could not be detected.
Other testing methods for analog circuits include dc testing, power-supply quiescent
current (IDDQ) monitoring and digital signal processing techniques. On-chip design-for-
test (DfT) technique has been suggested as one of the methods to reduce test costs in analog
and mixed-signal integrated circuits. An overview of defect oriented testing and DfT
optimization of mixed-signal integrated circuits is presented. Several DfT studies have been
published, including work on a current mode DAC where test vectors are optimized and
redundancies removed, on analog filters where the controllability and observability are
improved to test a number of stages separately and on flash ADC.
A functional self-test technique, based on using digital circuitry to generate
functional test signals, has been extensively investigated. This technique also achieves
substantial accuracy by moving analog signal measurement to the digital domain. However,
one limitation of the functional test technique is that the functionality of the filter can only be
guaranteed if all specifications have been tested. In absence of suitable models, one cannot
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 2
make general deductions about the ability of a circuit to satisfy all its functional
specifications by testing only a few specifications.
Quiescent current (IDDQ) testing is a cost effective test method to identify defects,
which cannot be identified by conventional functional tests and cannot be modelled by
classical fault models. IDDQ testing refers to the
integrated circuit (IC) testing method based upon measurement of steady state power supply
current. IDDQ stands for quiescent IDD, or quiescent power-supply current. The quiescent
current testing has proved to be very efficient for improving test quality of analog circuits.
The test methodology based on the observation of the quiescent current on power supply
buses allows a good coverage of physical defects such as gate oxide shorts, floating gates and
bridging faults.
A DfT based oscillation-testing methodology (OTM) suitable for both functional
and defect oriented testing, has been successfully applied to CMOS analog circuits such as
the analog to digital converters, digitally programmable switched-current bi-quadratic filters,
active RC filters, and to circuitry used as embedded blocks. OTM is conceptually simple,
does not need major circuit modifications and can be implemented in without any additional
signal generation circuitry. The test methodology is based on transforming the circuit under
test (CUT) into an oscillator whose frequency of oscillation is related to the component
values or to the circuit parameters. Hence, a change in the oscillation frequency from its
nominal value indicates the possibility of faults in the CUT. OTM is shown to be an effective
functional ‘go’ and ‘no-go’ test to verify if the circuit under test conforms to the required
specifications. The method achieves good fault-coverage removing test vector generation and
output evaluation, while reducing test complexity, area overhead, and test cost.
In this thesis, we discuss a DfT method for a two-stage CMOS amplifier, based on
oscillation testing methodology followed by Monte Carlo testing, for improving fault-
coverage, and testability. The proposed test method takes the advantage of good fault
coverage through the use of simple oscillation based test technique, which needs no test
signal generation and combines it with Monte Carlo testing to improve the fault coverage.
Fault detection is achieved using a simple deviation in parameter values, which introduces
insignificant performance degradation of the CUT, to monitor the power supply quiescent
current changes in the CUT and a passive RC network in the feedback path of the amplifier,
to enable the CUT to oscillate. The testability has also been enhanced in the testing procedure
using a simple fault-injection technique. It can also be generalized to the oscillation based test
structures of other CMOS analog and mixed-signal integrated circuits. In the digital domain,
DfT is well established. With the increasing complexity of the structure of logic circuits,
system-timing failures are occurring more frequently. Timing-related failures may be caused
by isolated gate delays or process-related timing problems that accumulate along logic paths
and prevent the circuit from functioning at the desired speed. The delay faults are becoming
critical in deep submicron (DSM) technologies where the interconnection delay exceeds the
gate delay. Oscillation Test methodology has successfully been extended to digital circuits,
for identifying delay and stuck-at faults. This is done by sensitizing all or at least critical
paths in the digital circuit under test and then incorporating it in a ring oscillator to test for
delay and stuck-at faults in the paths.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 3
1.2 Testing Methodology
The proposed test methodology consists of first partitioning the analog mixed-signal
integrated circuit into functional building blocks such as amplifier, comparator, filter, and
data converter and then converting each building block into an oscillating circuit. In order to
implement OTM for the amplifier, it is converted into an oscillator using a simple first-order
derivation feedback circuit. The circuit’s output is connected to its input via a passive and/or
active analog circuit such that, the loop’s overall gain and phase cause oscillation. The output
oscillation frequency from the amplifier is measured and is compared with the nominal
oscillation frequency of the fault free circuit. If the oscillation frequency lies close to the
nominal frequency range, the CUT is accepted to be fault-free. The nominal frequency range
of the CUT is determined using a Monte-Carlo analysis taking into account the tolerance of
significant technology and design parameters.
i.e., If fosc ~ fnom FAULT DETECTED
otherwise FAULT UNDETECTED
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 4
1.3 BLOCK DIAGRAM
FIG.1(A) BLOCK DIAGRAM FOR CALCULATION OF NOMINAL
FREQUENCY
FIG.1(B) BLOCK DIAGRAM FOR CALCULATION OF FUNCTIONAL
OSCILLATION FREQUENCY
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 5
1.4 FLOW CHART
YES NO
FIG.2 FLOW CHART
START
DESIGN OF TWO-STAGE
CMOS OPAMP
CONVERSION OF TWO-STAGE
CMOS OPAMP INTO
OSCILLATOR IN OSCILLATION
TEST METHODOLOGY
STATISTICAL ANALYSIS
APPLYING MONTE
CARLO METHOD
(fnom)
FAULT ANALYSIS USING
FIT (Fault injection transistor)
TECHNIQUE APPLYING
MONTE CARLO METHOD
(fosc)
If
fnom fosc
FAULT
DETECTED
FAULT
UNDETECTED
END
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 6
Chapter-2
TESTING
A test for a defect is a set of conditions that would cause the defect to revert itself as a
fault if it were present. Stimulus and response are the two constitutive elements of a test. In
the case of logic networks, the stimulus is a sequence of binary values to be applied to the
input pins. The response is the set of binary values that appear at the output pins.
2.1 NEED FOR TESTING
The design and production of the majority of manufactured products usually involves
a rigorous design activity followed by detailed testing and evaluation of prototypes before
volume production is begun. Once in production, continuous quality control of components
and assembly is desirable, but comprehensive testing of each finished item is not usually
affordable. However, the more sophisticated the product, or the components used within the
product, then the more need there will be to try to ensure that the end product is fully
functional. The ability to test end products as comprehensively as possible within a given
budget or time constraint is therefore a universal problem.
Electronics, and here more specifically microelectronics, has the fundamental feature
that, in contrast to mechanical and electromechanical devices, visual inspection is of very
little use. Parametric or functional testing must be used. The range of testing involves both
the IC manufacturer and the original equipment manufacturer (OEM), in total including the
following principal activities:
i. tests by the IC manufacturer (vendor) to ensure that all the fabrication steps have been
correctly implemented during wafer manufacture (IC fabrication checks)
ii. tests to ensure that prototype ICs perform correctly in all respects (IC design checks)
iii. tests to ensure that subsequent production ICs are defect free (IC production checks)
iv. possibly tests by the OEM of incoming ICs to confirm their functionality (acceptance
tests);
v. tests by the OEM of final manufactured products (product tests).
2.2 DIFFICULTIES IN TESTING
1. Fault may occur anytime i.e, during
i. Design
ii. Process
iii. Package
iv. Field
2. Fault may occur at any place. The exact location of the fault on the chip is difficult to
predict.
3. VLSI circuit are large (More than 300 gates/chip or 20000-100000 transistors/chip)
4. I/O access is limited
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 7
2.3 TESTING DURING VLSI LIFE CYCLE
Testing typically consists of:
Applying set of test stimuli
Inputs of circuit under test (CUT), and
Analyzing output responses
If incorrect (fail), CUT assumed to be faulty
If correct (pass), CUT assumed to be fault-free
FIG.3 TESTING DURING VLSI LIFE CYCLE
2.4 TEST PATTERN GENERATION
Test pattern generation is the design process of generating appropriate input vectors to
test a given digital design, whether it is a printed-circuit board (PCB) or an individual IC. The
generation of an acceptable reduced set of test vectors may be done in the following ways:
Manual generation
Automatic generation
Pseudorandom generation
2.4.1 Manual test pattern generation
Manual TPG is a method which the original circuit designer or OEM may adopt,
knowing in detail the functionality of the circuit or system involved. The test patterns may be
specified by considering a range of functional conditions, and listing the input test vectors
and healthy output responses involved in these situations. Alternatively, the input vectors that
will cause all the gates to switch at least once may be considered. If a working breadboard
prototype has been made, then this may be used to assist the OEM in this manual
compilation, or alternatively the CAD program used in the design may assist.
2.4.2 Automatic test pattern generation
Automatic (or algorithmic) test pattern generation, usually abbreviated to ATPG, becomes
increasingly necessary as the gate count in the circuit increases to the thousands upwards.
ATPG programs normally use a gate-level representation of the circuit, with all nodes or
paths enumerated.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 8
FIG.4 ATPG FLOW CHART
All ATPG programs based upon fault models assume that a single fault is present when
determining the test vectors. The usual fault model is the stuck-at model, which as we have
seen does in practice cover a considerable number of other types of faults, but not all. The
results of an ATPG program cannot, therefore, guarantee a defect-free circuit.
2.4.3 Pseudorandom test pattern generation
Deterministic ATPG algorithms provide the smallest possible test set to cover the
given fault list. The disadvantage is the complexity and cost of generating this minimum test
set.[*] On the other hand a fully exhaustive test set will incur no ATPG costs, but will usually
be too long to employ for large circuits. There is, however, an intermediate possibility which
has been used.
It is intuitively obvious that fault coverage increases with the number of input test
patterns which are applied, up to the full fault coverage; a single randomly chosen input test
vector is also likely to be a test for several faults in a complex circuit. Hence if a sequence of
random or pseudorandom input test vectors (see later) is used, it is probable that a number of
circuit faults will be covered without incurring any ATPG cost.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 9
2.5 DESIGN FOR TESTABILITY(DFT)
Design for testability, sometimes called design for test and almost always abbreviated
to DFT, is therefore the philosophy of considering at the design stage how the circuit or
system shall be tested, rather than leaving it as a tack-on exercise at the end of the design
phase. DFT techniques normally fall into three general categories, namely:
Ad hoc design methods
Scan path methods
Self test
2.5.1 Partitioning and ad hoc methods
Partitioning of a circuit or system and other ad hoc design methods consist largely of
a number of recommended or desirable practices which a designer should consider at the
design phase. One of the most obvious and intuitive techniques for easing the testing problem
is to partition the overall circuit or system into functional blocks, each of which may be
independently tested. It is generally accepted that test costs are proportional to the square of
the number of logic gates in a circuit and hence partitioning a circuit into, say, four equal
parts reduces the testing problems of each part by a factor of sixteen compared with the
overall circuit.
2.5.2 Scan path method
The techniques discussed in the preceding section, which employed multiplexers as
the means of improving the controllability and/or observability of internal nodes of a circuit
when under test, have the severe disadvantage of requiring many more I/Os to be provided on
the circuit to give this improved testability. Scan-path testing, sometimes referred to as scan
test is a means of overcoming this disadvantage and reducing the additional I/Os required to a
minimum irrespective of the size of the circuit being tested.
Scan-path testing of such a network involves switching all the storage elements of the
circuit from their normal mode to a test mode shift register configuration, A scan-in I/O and a
scan-out I/O allow data to be read into and read out from this reconfiguration for test
purposes, thus providing controllability and observability of internal nodes which would not
otherwise be readily accessible.
2.5.3 Self test
As has been seen, scan-path test methodologies do not eliminate the need to prepare
some set of acceptable test vectors for the circuit under test, or the need for appropriate
external hardware to apply the test stimuli and monitor the resulting response.
Turning therefore to offline self test methodologies, the concept here is to build in
appropriate means whereby the circuit under test can be switched from a normal mode of
operation to a test mode, with the required test stimuli and the resulting response both being
done on-chip without the need to generate any ATPG data based upon stuck-at fault
modelling or other means, or apply it in series or parallel using some external hardware
resource. The circuit under test becomes its own test vector generator and test response
detector. A further advantage of this concept is that on-chip tests can be done using the
normal system clock(s) and at the full speed of the normal system.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 10
Chapter-3
FAULT INJECTION
3.1 INTRODUCTION
Fault injection is a phrase covering a variety of techniques for inducing faults in
systems to measure their response to those faults. In particular, it can be used in both
electronic hardware systems and software systems to measure the fault tolerance of the
system. For hardware, faults can be injected into simulations of the system, as well as into
implementation, both on a pin or external level and, recently, on an internal level for some
chips. For software, faults can be injected into simulations of software systems, such as
distributed systems, or into running software systems, at levels from the CPU registers to
memory to disk to networks. Fault injection is best used as a means for measuring the fault
tolerance or robustness of a system, especially for stress testing a system that may experience
faults too infrequently for normal testing. While the theory behind fault injection is still
being developed, the mechanisms are well understood. For an embedded system designer
attempting to measure the degree to which his design is resistant to faults, fault injection can
be a useful technique for quantifying this aspect of design.
The issues in fault injection is that of simulation versus execution. In the former, a
model of the system is developed and faults are introduced into that model. The model is
then simulated to find the effects of the fault on the operation of the system. These methods
are often slower to test, but easier to change. In the latter, the system itself is deployed, and
some mechanism found to cause faults in the system, and its execution is then observed to
determine the effects of the fault. These techniques are more useful for analyzing final
designs, but are typically more difficult to modify afterwards.
Fault injection is still a somewhat new technique, however, and there is still development
being done to see what kinds of systems this can be applied to, and which systems it is
appropriate to test in this manner. While there are some well understood mechanisms for
injecting faults into certain kinds of systems, such as distributed systems, other systems still
have basic techniques being designed, such as VLSI circuits. Often the method for inserting
faults is very application specific, rather than generalized, and therefore comparison of testing
methods is difficult. Finally, even when results have been gathered, researchers are still
uncertain or divided as to exactly what the results mean, and how they should be used.
3.2 CLASSIFICATION OF FAULT INJECTION
3.2.1 Hardware Fault Injection
Hardware fault injection is used to inject faults into hardware and examine the
effects. Typically this is performed on VLSI circuits at the transistor level, because these
circuits are complex enough to warrant characterization through fault injection rather than a
performance range, and because these are the best understood basic faults in such circuits.
Transistors are typically given stuck-at, bridging, or transient faults, and the results examined
in the operation of the circuit. Such faults may be injected in software simulations of the
circuits, or into production circuits cut from the wafer.
Hardware simulations typically occur in a high level description of the circuit. This
high level description is turned into a transistor level description of the circuit, and faults are
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 11
injected into the circuit. Typically these are stuck-at or bridging faults, as software
simulation is most often used to detect the response to manufacturing defects. The system is
then simulated to evaluate the response of the circuit to that particular fault. Since this is a
simulation, a new fault can then be easily injected, and the simulation re-run to gauge the
response to the new fault. This consumes time to construct the model, insert the faults, and
then simulate the circuit, but modifications in the circuit are easier to make than later in the
design cycle. This sort of testing would be used to check a circuit early in the design cycle.
These simulations are non-intrusive, since the simulation functions normally other than the
introduction of the fault.
Hardware fault injections occur in actual examples of the circuit after fabrication.
The circuit is subjected to some sort of interference to produce the fault, and the resulting
behavior is examined. So far, this has been done with transient faults, as the difficulty and
expense of introducing stuck-at and bridging faults in the circuit has not been overcome. The
circuit is attached to a testing apparatus which operates it and examines the behavior after the
fault is injected. This consumes time to prepare the circuit and test it, but such tests generally
proceed faster than simulation does. It is, rather obviously, used to test circuit just before or
in production. These simulations are non-intrusive, since they do not alter the behavior of the
circuit other than to introduce the fault. Should special circuitry be included to cause or
simulate faults in the finished circuit, these would most likely affect the timing or other
characteristics of the circuit, and therefore be intrusive.
3.2.2 Software Fault Injection
Software fault injection is used to inject faults into the operation of software and
examine the effects. This is generally used on code that has communicative or cooperative
functions so that there is enough interaction to make fault injection useful. All sorts of faults
may be injected, from register and memory faults, to dropped or replicated network packets,
to erroneous error conditions and flags. These faults may be injected into simulations of
complex systems where the interactions are understood though not the details of
implementation, or they may be injected into operating systems to examine the effects.
Software simulation are typically of high level description of a system, in which the protocols
or interactions are known, but not the details of implementation. These faults tend to be mis-
timings, missing messages, replays, or other faults in communication in a system. The
simulation is then run to discover the effects of the faults. Because of the abstract nature of
these simulations, they may be run at a faster speed that the actual system might, but would
not necessarily capture the timing aspects of the final system. This sort of testing would be
performed to verify a protocol, or to examine the resistance of an interaction to faults. This
would typically be done early in the design cycle so as to flesh out the higher level details
before attempting the task of implementation. These simulations are non-intrusive, as they
are simulated, but they may not capture the exact behavior of the system.
Software fault injections are more oriented towards implementation details, and can
address program state as well as communication and interactions. Faults are mis-timings,
missing messages, replays, corrupted memory or registers, faulty disk reads, and almost any
other state the hardware provides access to. The system is then run with the fault to examine
its behavior. These simulations tend to take longer because they encapsulate all of the
operation and detail of the system, but they will more accurately capture the timing aspects of
the system. This testing is performed to verify the system's reaction to introduced faults and
catalog the faults successfully dealt with. this is done later in the design cycle to show
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 12
performance for a final or near-final design. These simulations can be non-intrusive,
especially if timing is not a concern, but if timing is at all involved the time required for the
injection mechanism to inject the faults can disrupt the activity of the system, and cause
timing results that are not representative of the system without the fault injection mechanism
deployed. This occurs because the injection mechanism runs on the same system as the
software being tested.
3.3 What is Fault Injection Really?
The main problem with fault injection is knowing what to do with it. Upon first
glance, it would seem to be a good tool for debugging a system, and detecting any flaws
within it. Once one examines the procedures and the information gained, however, it
becomes apparent that fault injection is good at testing known sorts of bugs or defects, but
poor at testing novel faults or defects, which are precisely the sorts of defects we would want
to discover. Therefore, what emerges is that fault injection is not really suited for debugging
and improving the system so much as it is suited for testing the fault tolerant features of the
system. A known fault in injected and the results examined to see if the system can respond
correctly despite the fault.
Along these lines, there are two proposed uses for fault injection. The first is for
verification of a system. If a system is designed to tolerate a certain class of faults, or exhibit
certain behavior in the presence of certain faults, then these faults can be directly injected into
the system to examine their effects. The system will either behave appropriately or not, and
its fault tolerance measured accordingly. For certain classes of ultra-dependable untestable
systems in which the occurrence of errors is too infrequent to effectively test the system in
the field, fault injection can be a powerful tool for accelerating the occurrence of faults in the
system and verifying that the system works properly.
The other proposed use for fault injection is less well understood, because the
problem it addresses is poorly understood. Robustness is used in regard to systems these
days almost synonymously with fault tolerance, but robustness actually embraces more than
this. There is no really good definition of robustness, but it is something along the lines of
"the capability of a system to behave correctly in unusual conditions." The difficulty lies in
creating unusual conditions so as to test the system for robustness. Fault injection has been
proposed as a method to address this problem, by including unusual conditions as well as
faults. This would provide us with a metric for measuring the robustness of a system.
There are two difficulties that must be addressed before this use of fault injection can
be fully applied. The first is the disparate nature of systems, and the ways in which they can
fail or experience faults. Unless two systems are set to accomplish the exact same task,
determining the relative robustness of the two systems is a difficult task. A good metric for
robustness would be able to resolve this difference. Secondly, it is not yet certain how our
metric should be biased. Common practice is to have the test distribution mirror the real
world distributions of occurrence of faults. If we are truly testing the system's response to
unusual situations, however, it might be better to bias the test towards the less frequently
encountered conditions. While there is agreement that fault injection can serve as a metric for
robustness, the exact mechanisms of doing so are as of yet poorly understood.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 13
3.4 TYPES OF FAULTS
• Parametric faults: Parametric faults are those changes that cause performance
degradation of the circuit. It is caused by statistical fluctuations in the manufacturing
process, comprise the small deviation of CUT parameters from their tolerance band.
These are due to out-of-specification parameter deviation and so depend upon the
acceptability band defined by tolerances of process parameters.
• Catastrophic faults: Catastrophic faults are all those changes that cause the circuit to
fail catastrophically. These faults include shorts, opens or large variations of a design
parameter like forward beta(β) in the BJTs and width and length of MOSFETs.
Catastrophic faults are caused by major structural deformations or extreme out-of-
range parameters and lead to failures that manifest themselves in a completely
malfunctioning circuit. Electro migration and particle contamination phenomena
occurring in the conducting and metallisation layers are the major causes of open and
bridging shorts.
3.5 BASIC FAULT MODELS
3.5.1 Stuck-at fault model
A stuck-at fault is a particular fault model used by fault simulators and automatic test
pattern generation (ATPG) tools to mimic a manufacturing defect within an integrated circuit.
Individual signals and pins are assumed to be stuck at Logical '1', '0' and 'X'. For example, an
output is tied to a logical 1 state during test generation to assure that a manufacturing defect
with that type of behavior can be found with a specific test pattern. Likewise the output could
be tied to a logical 0 to model the behavior of a defective circuit that cannot switch its output
pin. Not all faults can be analyzed using the stuck-at fault model. Compensation for static
hazards, namely branching signals, can render a circuit untestable using this model. Also,
redundant circuits cannot be tested using this model, since by design there is no change in
any output as a result of a single fault.
3.5.2 Bridging fault model
In electronic engineering, a bridging fault consists of two signals that are connected
when they should not be. Depending on the logic circuitry employed, this may result in
a wired-OR or wired-AND logic function. Since there are O(n^2) potential bridging faults,
they are normally restricted to signals that are physically adjacent in the design.
Bridging to VDD or VSS is equivalent to stuck at fault model. Traditionally bridged
signals were modelled with logic AND or OR of signals. If one driver dominates the other
driver in a bridging situation, the dominant driver forces the logic to the other one, in such
case a dominant bridging fault is used. To better reflect the reality of CMOS VLSI devices,
a dominant AND or dominant OR bridging fault model is used where dominant driver keeps
its value, while the other signal value is the result of AND (or OR) of its own value with the
dominant driver.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 14
3.5.3 Transistor fault model
This model is used to describe faults for CMOS logic gates. At transistor level, a
transistor maybe stuck-short or stuck-open. In stuck-short, a transistor behaves as it is always
conducts (or stuck-on), and stuck-open is when a transistor never conducts current (or stuck-
off). Stuck-short will produce a short between VDD and VSS.
3.5.4 Open fault model
Here a wire is assumed broken, and one or more inputs are disconnected from the output
that should drive them. As with bridging faults, the resulting behaviour depends on the circuit
implementation.
3.5.5 Delay fault model
Where the signal eventually assumes the correct value, but more slowly (or rarely, more
quickly) than normal. a number of defects that can cause delay faults:
1) GOS defects
2) Resistive shorting defects between nodes and to the supply rails
3) Parasitic transistor leakages, defective pn junctions and incorrect or shifted threshold
voltages
4) Certain types of opens
5) Process variations can also cause devices to switch at a speed lower than the
specification
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 15
Chapter-4
DESIGN OF A TWO-STAGE CMOS OPERATIONAL
AMPLIFIER
CMOS operational amplifier is a core element of almost all analog and mixed signal
systems. If the amplifiers are proven to be fault-free, the fault coverage would significantly
be improved. In this chapter, the testing methodology called oscillation testing used for
testing operational amplifiers is presented. Before introducing the testing methodology, the
design and the important frequency domain parameters of the operational amplifier are
presented in the next discussion.
4.1 DESIGN OF A CMOS OPERATIONAL AMPLIFIER
An ideal op-amp with a single-ended output has a differential input, infinite voltage
gain, infinite input impedance and zero output impedance. A conceptual schematic diagram
of an operational amplifier is shown in Fig.5. Op-amps and a few passive components can be
used to realize such important functions as summing and inverting amplifiers, integrators, and
buffers. The combination of these functions and comparators can result in many complex
functions, such as high-order filters, signal amplifiers, analog-to-digital (A/D) and digital-to-
analog (D/A) converters, input and output signal buffers, and many more. A typical high
performance operational amplifier is characterized by a high open loop gain, high bandwidth,
very high input impedance, low output impedance and an ability to amplify differential-mode
signals to a large extent and at the same time, severely attenuate common-mode signals.
FIG.5 IDEAL OPERATIONAL AMPLIFIER
The design of an operational amplifier consists of three functional building blocks as
shown in Fig.6. First, there is an input differential gain stage that amplifies the voltage
difference between the input terminals, independently of their average or common-mode
voltage. Most of the critical parameters of the op-amp like the input noise, common-mode
rejection ratio (CMRR) and common mode input range (CMIR) are decided by this stage.
The differential to single-ended conversion stage follows the differential amplifier and is
responsible for producing a single output, which can be referenced to ground. The differential
to single-ended conversion stage also provides the necessary bias for the second gain stage.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 16
Finally, additional gain is obtained in the second gain stage which is normally a
common-source gain stage that has an active load. Capacitor, CC is included between the
differential and the common-source stages to ensure stability when the amplifier is used with
feedback. An output stage can be added to provide a low output resistance and the ability to
source and sink large currents, but in this design we are not employing it since it is not
necessary in the present work. In the following subsections, the description as well as the
design methodology of each of the stages mentioned above is presented.
FIG.6 INTEGRATED OPERATIONAL AMPLIFIER
IDEAL OP-AMPS CHARACTERISTICS
An ideal op-amp is usually considered to have the following properties:
Infinite open-loop gain G = Vout / Vin
Infinite input impedance Rin, and so zero input current
Zero input offset voltage
Infinite voltage range available at the output
Infinite bandwidth with zero phase shift and infinite slew rate
Zero output impedance Rout
Zero noise
Infinite Common-mode rejection ratio (CMRR)
Infinite Power supply rejection ratio
OPERATIONS
The amplifier's differential inputs consist of a non-inverting input (+) with voltage V+ and an
inverting input (–) with voltage V−; ideally the op-amp amplifies only the difference in
voltage between the two, which is called the differential input voltage. The output voltage of
the op-amp Vout is given by the equation:
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 17
4.1.1 A Two-Stage CMOS Amplifier Topology
A two-stage, internally compensated CMOS amplifier is used for the testing. The
circuit provides good voltage gain, a good common-mode range and good output swing.
Before the analysis of the op-amp is done, some of the basic principles behind the working of
MOS transistors are reviewed. The first stage consists of a p-channel differential pair M1-M2
with an n-channel current mirror load M3-M4 and a p-channel tail current source M5. The
second stage consists of an n-channel common-source amplifier M6 with a p-channel current-
source load M7. The high output resistances of these two transistors equate to a relatively
large gain for this stage and an overall moderate gain for the complete amplifier. Because the
op-amp inputs are connected to the gates of MOS transistors, the input resistance is
essentially infinite when the amplifier is used in internal applications. The sizes of the
transistors were designed for a bias current of 100 μA to provide for sufficient output voltage
swing, output-offset voltage, slew rate, and gain-bandwidth product.
4.1.2 Current Mirrors
Current mirrors are used extensively in MOS analog circuits both as biasing elements
and as active loads to obtain high AC voltage gain. Enhancement mode transistors remain in
saturation when the gate is tied to the drain, as the drain-to-source voltage (VDS) is greater
than the gate-to-source voltage (VGS) due to the threshold voltage (Vth) drop, i.e.,
VDS > VGS – Vth
Based on equation, constant current sources are obtained through current mirrors
designed by passing a reference current through a diode-connected (gate tied to drain)
transistor. Figures 7(a) and 7(b) show the p-MOS and n-MOS current mirrors design. A p-
MOS mirror serves as a current source while the n-MOS acts as a current sink. The voltage
developed across the diode-connected transistor is applied to the gate and source of the
second transistor, which provides a constant output current. Since both the transistors have
the same gate to source voltage, the currents when both transistors are in the saturation region
of operation, are governed by the following equation assuming matched transistors. The
current ratio IOUT/IREF is determined by the aspect ratios of the transistors. For the p-MOS
current mirror, we can write,
Iout = (W7 /L7)
Iref (W8 /L
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 18
FIG.7(a) P-MOS CURRENT MIRROR
FIG.7(b) N-MOS CURRENT MIRROR
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 19
4.1.3 Active Resistors
There are two active resistors used in the design. Firstly, the reference current that is
applied to the current mirror is obtained by means of an active resistor. The resistor here is
obtained by simply connecting the gate of a MOSFET to its drain as shown in Fig 9(a). This
connection forces the MOSFET to operate in saturation in accordance with the equation,
IDS = {β (VGS-Vth) 2}/2
where β is the transconductance parameter, Vth is the threshold voltage and VGS is the gate-
source voltage. Since the gate is connected to the drain, current IDS is now controlled
directly by VDS and therefore the channel transconductance becomes the channel
conductance.
The second active resistor shown in Fig 8(b) has been used to realize the nulling
resistance to reduce the effects of the right hand plane zero in the transfer function. The gate
of this transistor M11 is biased at VDD. Its small signal output resistance is obtained from
FIG.8 ACTIVE RESISTORS (a) GATE CONNECTED TO DRAIN (b)
GATE CONNECTED TO VDD
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 20
CHAPTER-5
TEST MECHANISMS
5(A) OSCILLATION TEST METHODOLOGY
5(A).1 INTRODUCTION
This test method is based on partitioning a complex analog circuit into functional
building blocks, such as amplifier, operational amplifier (OA), comparator, Schmitt trigger,
filter, voltage reference, oscillator, phase locked-loop (PLL), etc., or a combination of these
blocks. During test mode, each building block is converted to a circuit which oscillates. The
oscillation frequency of each building block can be expressed as a function of either its
components or its important parameters. The building blocks which inherently generate a
frequency, such as oscillators, do not need to be rearranged, and their output frequency is
directly evaluated. The test is performed by evaluating the oscillation frequency.
FIG.9 CMOS AMPLIFIER
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 21
The observability of a faulty component (or parameter) is defined as the sensitivity of
the oscillation frequency with respect to the variations of the component (or the parameter).
A fault is said to be detectable if it causes a reasonable deviation of the oscillation frequency
from its tolerance band. The tolerance band of for each CUT is determined based on a Monte
Carlo analysis of the converted CUT taking into account the nominal tolerance of all
important technology and design parameters. To increase the observability of a defect in a
component (or a fault in a parameter), the sensitivity of the oscillation frequency with respect
to that component (or parameter) should be increased. In other words, during the process of
converting the CUT to an oscillator, the oscillator architecture must be chosen so as to ensure
the maximum possible CUT component contribution in determining the oscillation
frequency. If necessary, more than one oscillator may be derived from a CUT to increase
fault coverage. Existing faults in the CUT related to components (or parameters) which are
involved in the oscillator structure manifest themselves as a deviation of the oscillation
frequency. Therefore, the deviation of the oscillation frequency from its nominal value may
be employed to confirm a fault. The equivalent rms noise of the CUT is normally much
smaller than the amplitude of the oscillation signal and therefore cannot affect its frequency.
If the equivalent rms noise is considerable, it may only cause a small jitter in the oscillation
signal. In practice, many oscillation cycles are used to estimate the oscillation frequency, and
consequently the jitter is averaged and, due to the random nature of noise, is cancelled.
However, if the oscillation signal amplitude is as small as the CUT equivalent rms noise,
which is far from the case in practice, the oscillation frequency will be seriously affected by
the noise.
5(A).2 FILTER-TO-OSCILLATOR CONVERSION TECHNIQUES
FIG.10 CONVERSION OF AMPLIFIER TO OSCILLATOR
5(A).2.1 USING TRANSFER FUNCTION
A brief survey of techniques we have found to be efficient in converting an active
filter to an oscillator is presented in this section. For each type of active filter, various
techniques can be easily found to transform it to an oscillator. Naturally, each second- or
higher-order system has the potential for oscillation. This ability can be used to convert the
filter under test to an oscillator by establishing the oscillation condition (Barkhausen
criterion) in its transfer function. For example, second order active filters can be converted to
oscillators by making their quality factor very high during test mode, which is equivalent to
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 22
shifting its poles on the imaginary axis. A more general technique is to add a feedback loop to
the filter under test and then adjust the feedback element to produce sustained oscillations.
The feedback loop may be positive, negative, or a combination of both. To simplify the
mathematical presentation, in the following we consider the conversion of a filter under test
using a positive feedback loop. However, the feedback element may incorporate the effect of
negative or mixed feedbacks. For example, a positive feedback loop with a feedback element
having a negative sign results in a negative feedback. The transfer function of the new system
with a positive feedback is given by
where represents the original transfer function of the filter and is the transfer function of the
feedback element.
The oscillation frequency and the oscillation condition are obtained from
5(A).2.2 BARKHAUSEN CRITERION
This condition is known as the Barkhausen criterion. The Barkhausen criterion states that at
the frequency of oscillation the signal must traverse the loop with no attenuation and no
phase shift. For positive feedback, the phase shift must be zero, but for negative feedback, the
phase shift must be 180 to cancel the feedback sign and produce a total phase shift of zero.
As an example to clarify the Barkhausen criterion, we consider the case of a band-
pass system which is composed of a first-order low-pass and high-pass system cascaded
together. The output of the system is directly connected to its input to establish positive
feedback. The low-pass system has a pole at its cut off frequency and therefore its phase goes
from zero to 90 as goes from zero to infinity. The high-pass system has a zero at the origin
and a pole at its cut off frequency; hence its phase goes from 90 to zero as goes from zero to
infinity. At a specified frequency, the phase lead and lag effects cancel each other out and the
overall phase shift will be zero. If the loop gain at that frequency is slightly greater than
unity, the system produces sustained oscillations at that frequency.
In fact, in a band-pass system with its output connected to the input, existing noise is band-
pass filtered and amplified in the loop. The frequency components which pass through the
band-pass system are reapplied to the system by means of the positive feedback and the same
procedure is repeated, resulting in an oscillating signal constituted from the frequency
components which pass through the band-pass system. The amplitude of the oscillations is
limited by the nonlinear effects of the system. The oscillation frequency is determined by the,
bandwidth and the gain of the system. It should be noted that the presence of harmonic terms
in the oscillation frequency due to the limited and nonlinear characteristics of the bandpass
system causes a phase shift To compensate for this phase shift, the oscillation frequency is
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 23
shifted by an amount of to supply a phase shift of thus maintaining a zero phase shift around
the feedback loop.
The new oscillation frequency is given by
where is the nominal oscillation frequency without considering the nonlinear effects, and
represents the amplitude of the nth harmonic. It is obvious that if the band-pass system is
selectively tuned to a central frequency and the overall loop-gain is close to unity, the output
signal will be a pure sinusoid oscillating at the central frequency. Low-pass filters can be
cascaded with a simple high-pass RC filter to construct a BPF. Similarly, cascading a low-
pass RC circuit with a high-pass filter results in a BPF. Existing low-pass and high-pass
filters on the chip may be cascaded together to obtain a BPF. The input of a notch filter may
be subtracted from its output to construct a BPF.
FIG.11 CMOS OSCILLATOR
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 24
5(B) MONTE CARLO ANALYSIS
5(B).1 INTRODUCTION
The Monte Carlo analysis is used for simulations with a given error on different
components. This test is very useful for visualizing how the circuit will run with imperfect
components as are used in reality.
The Monte Carlo analysis allows the user to input two things:
First: The percent error of a given component in the schematic can be defined. This is the
purpose of the Monte Carlo Analysis; to apply an error to components. If the finished product
will have resistors with a 5% error, the simulation can include this deviation.
Second: The type of error can be defined as either Gauss, or Uniform. The gauss mode of
simulation is more realistic than the uniform mode. The Gauss mode uses a bell curve
approach as it randomly pick values in the range of error specified but with the majority of
the values near the resistor value. The Uniform mode of deviation randomly selects values
within the range specified oblivious of what the actual value of the resistor is. This mode of
deviation is more suited for a situation where the value of the resistor is not known precisely.
5(B).2 Mechanism
The nominal frequency range of the CUT is determined using a Monte-Carlo analysis
taking into account the tolerance of significant technology and design parameters. The
oscillation frequency of the oscillatory operational amplifier is measured and is compared
with the nominal oscillation frequency of the fault free circuit. If the oscillation frequency
lies close to the nominal frequency range, the amplifier is accepted to be fault-free. The
observability of a fault in a component (or a parameter) can be defined as the sensitivity of
the oscillation frequency with respect to the variations of the component (or the parameter).
In order to increase the observability of a defect in a component (or the fault in a parameter),
the oscillator architecture is chosen such that the amplifier’s frequency varying components
contribution to the oscillation frequency is maximized.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 25
5(B).3 How To Implement The Monte Carlo Analysis
Figure.12 is the example used for visual explanations.
FIG.12 MONTE CARLO CIRCUIT EXAMPLE
The resistor is the easiest component to use the analysis on. In the example, three resistors
will be given a a 5% error and the transistor Q1 will be given a 3% error.
In the existing code for the circuit add .MC command
.MC |# runs| [DC,AC, or TRAN] |output variable| YMAX + {LIST} {OUTPUT
|output specification}
E.g, .MC 5 TRAN V(3) YMAX
Now take the readings at various nodes and check the waveform.
Now add an error for the Monte Carlo, one line must be added. To add this error,
enter the following code:
DEV/GAUSS 5%
If a uniform spread is desired use the following instead:
DEV/UNIFORM 5%
This code stands for the following; Deviation in the Gaussian/Uniform mode with 5%
precision or error on the component. Be sure to include the parenthesis at the beginning
and end of the code.
Now the schematic is ready for simulation with a Monte Carlo analysis. Press the
simulate button or F11, when the simulation is complete, a window will pop up with a list of
runs to display as in figure 15, the default is all, but any number can be chosen using Ctrl/Shft
and the mouse. The simulation window will most likely be blank, so add the desired trace and
the output should look something like that of figure 6, though not exactly because the
component values are selected randomly.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 26
5(C) FAULT INJECTION TRANSISTORS
FIG.13 NMOS FAULT INJECTION TRANSISTOR
Bridging faults have been placed in the CMOS amplifier design using fault injection
n-MOS transistors. Activating the fault injection transistor activates the fault. The use of a
fault injection transistor for the fault simulation prevents permanent damage to the
operational amplifier by introduction of a physical metal short. This enables the operation of
the operational amplifier without any performance degradation in the normal mode. To create
an internal bridging fault, the fault injection transistor (ME) is connected to opposite
potentials. When the gate of fault injection transistor is connected to VDD, a low resistance
path is created between its drain and source nodes and a path from VDD to GND is formed.
In the Fig.18, an internal bridging fault is created in the CMOS inverter between the drain
and source nodes using the fault injection transistor. Logic ‘0’ is applied at the input of the
inverter. Therefore, the output of the inverter is at logic ‘1’ or VDD. When the logic ‘1’ is
applied to the gate (VE) of the n-MOS fault injection transistor (ME), it turns on. This causes
a low resistance path between the output of the inverter and the VSS.
FIG.14 FAULT INJECTION BETWEEN DRAIN AND SOURCE NODE
IN CMOS INVERTER
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 27
FIG.15 INJECTED FAULTS USING FITs
In this work, seven bridging faults viz., M10 drain-source short (defect 1-M10DSS),
M5 gate-drain short (defect 2-M5GDS), M5 drain-source short (defect 3-M5DSS), M11
drain-source short (defect 4-M11DSS), M4 gate-drain short (defect 5-CCS), compensation
capacitor short (defect 6-M6GDS), M7 gate-drain short (defect 7-M7GDS) and M11 gate
VBIAS connected to VSS (defect 8-M11G-VSS) simulating an open fault, have been
introduced in the amplifier. Here, defect 1 (M10DSS) and defect 3 (M5DSS) show an
increase in quiescent current when the ERROR signals are applied hence are IDDQ testable.
All other faults including defect 1, defect 3 and the open fault are tested using oscillation
testing.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 28
Chapter-6
SOFTWARE USED
PSPICE A/D 9.2
6.1 INTRODUCTION
Electronic circuit design requires accurate methods for evaluating circuit
performance. Because of the enormous complexity of modern integrated circuits, computer-
aided circuit analysis is essential and can provide information about circuit performance that
is almost impossible to obtain with laboratory prototype measurements. Computer-aided
analysis permits
1. Evaluation of the effects of variation in elements such as resistors, transistors,
transformers and so on.
2. The assessment of performance improvements or degradations
3. Evaluation of the effects of noise and signal distortion without the need of expensive
measuring instruments.
4. Sensitivity analysis to determine the permissible bounds due to tolerances on each and
every element value or parameter of active elements
5. Fourier analysis without expensive wave analyzers
6. Evaluation of the effects of non-linear elements on the circuit performance
7. Optimization of the design of electronic circuits in terms of circuit parameters
SPICE is a general purpose circuit program that simulates electronic circuits. SPICE can
perform various analysis of electronic circuits: the operating (or the quiescent) points of
transistors, A TIME DOMAIN RESPONSE, A SMALL-SIGNAL FREQUENCY response
and so on. SPICE contains models for common circuit elements, active as well as passive and
it is capable of simulating most electronic circuits. It is a versatile program and is widely used
in both industries and universities. The acronym SPI CE stands for (Simulation Program with
Integrated Circuit Emphasis.)
6.2 TYPES OF SPICE
The commercially supported versions of SPICE2 can be divided into two types:
Mainframe versions
PC-based versions
Their methods of computing may differ, but their features are almost identical to those of
SPICE2. However, some versions may include such additions as a pre-processor or shell
program to manage input and provide interactive control, as well as a postprocessor for
refining the normal SPICE version should be able to work with other versions.
The Mainframe versions are as a follows:
HSPICE, which is designed for integrated circuit design with special device methods
RAD-SPICE, which simulates circuits subjected to ionizing radiation
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 29
IG-SPICE and I-SPICE, which are designed for interactive circuit simulation with
graphic output
Precise
PSpice
AccSim
Cadence-SPICE
SPICE-Plus
The following are PC versions
AllSpice
IS-SPICE
Z-SPICE
SPICE-Plus
DSPICE
Spice
B-2Spice
AIM-Spice
Visual Spice
Spice3f4
MD-SPICE
Ivex Spice
6.3 PSPICE PLATFORM
The Pspice platform used depends in the spice version. The three platforms for Pspice are
as follows:
PSpice A/D or ORCAD PSpice (version 9.1 or above)
PSpice Schemartic (version 9.1 or below)
OrCAD Capture Lite (version 9.2 or below)
6.4 TYPES OF ANALYSIS
Pspice allows various types of analysis. Each analysis is invoked by including its
command statement. For e.g., A statement beginning with the .DC command invokes DC
sweep. The types of analyses and their corresponding .(dot) command are described below:
6.4.1 DC ANALYSIS is used for circuits with time-invariant sources (e.g.; steady state dc
sources). It calculates all node voltages and branch currents over a range of values and their
quiescent (dc) values are the outputs:
DC sweep of an input voltage/current source, a model parameter, or temperature over
a range of values(.DC)
Determination of the linearized model parameters of non linear devices(.OP)
Dc operating point to obtain all node voltages(.OP)
Small signal transfer function with small signal gain, input resistance, and output
resistance(.TF)
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 30
Dc small signal sensitivities(.SENS)
6.4.2 TRANSIENT ANALYSIS is used for circuits with time-variant sources (e.g. Ac
sources and switched dc sources). It calculates all node voltages and branch currents over a
time interval and their instantaneous values are the outputs:
Circuit behaviour in response to time-varying sources(.TRAN)
Dc and fourier components of the transient analysis results(.FOUR)
6.4.3 AC ANALYSIS is used for small signal analysis of circuits with sources of variable
frequencies. It calculates all node voltages and branch currents over a range of frequencies
and their magnitudes and phase angles are the outputs:
Circuit response over a range of source frequencies(.AC)
Noise generation at an output node for every frequency(.NOISE)
6.5 COMMANDS USED
1. AC - AC (Frequency) Analysis
General Format:
.AC [LIN, DEC, or OCT] |# points| |start frequency| |stop frequency|
.AC tells PSPICE to run the circuit of the frequency range given. The frequency range is
from the |start frequency| to the |stop frequency| inclusive, with the circuit simulated |#
points| times per division. The division is specified by LIN, DEC, or OCT.
LIN tells it to run |# points| simulations over the entire range of frequencies.
DEC tells it to run |# points| simulations per decade (power of 10) over the entire range of
frequencies.
OCT tells it to run |# points| simulations per octave (power of 2) over the entire range of
frequencies.
Example:
.AC DEC 20 1 1MEG
PSPICE runs an AC analysis over the range of 1 Hz to 1 MHz with 20 simulation points per
decade.
2. DC - DC Analysis
General Formats (multiple ways of declaration):
.DC [LIN,OCT,DEC] |sweep variable name| |start value| |end value| + |increment
value| {nested sweep}
DC tells PSPICE to find the DC bias point of the circuit while |sweep variable name| is
changing values. The sweep can be nested (over multiple variables). The value is swept over
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 31
the specified range and the number of simulations is determined by the LIN, DEC, OCT, or
LIST declaration.
Example:
.DC LIN VIN 0 5 1
sweeps source VIN from 0V to 5V in 1V increments.
3. .END - End of Circuit
General Format:
.END
The .END declaration tells PSPICE its the end of the circuit description. All data and
commands must be placed before the .END line. Multiple circuits can be run in the same net
list, however, the circuits must be separated by the .END command.
4. .MC - Monte Carlo (Statistical) Analysis
General Format:
.MC |# runs| [DC,AC, or TRAN] |output variable| YMAX + {LIST} {OUTPUT
|output specification}
The .MC command tells PSPICE to run a Monte Carlo statistical analysis on the circuit
looking at the |output variable| response based on variation of other parameters. The
variable parameters are those parameters in the model which contain DEV and LOT
tolerances. The first run is done with nominal values of parameters.
The |# runs| tells PSPICE how many runs it should do.
YMAX specifies the operation to be performed on the values of |output variable| to reduce
these to a single value. This value is the basis for the comparisons between the nominal and
subsequent runs.
Examples:
.MC 10 TRAN V(5) YMAX
tells PSPICE to run 10 statistical transient runs saving V(5) values.
5. .MODEL - Model Definition
General Format:
.MODEL |name| |type| + [|parameter name| = |value| {tolerance specfication} ...]
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 32
The .MODEL statement describes a set of device parameters which are used in the net list
for certain components.
|name| is the model name which the components used.
|type| is the device type and must be one of the following:
CAP capacitor PJF P-channel JFET
IND inductor NMOS N-channel MOSFET
RES resistor PMOS P-channel MOSFET
D diode GASFET N-channel GaAs MESFET
NPN NPN bipolar transistor CORE nonlinear magnetic core (transformers)
PNP PNP bipolar transistor VSWITCH voltage controlled switch
NJF N-channel JFET ISWITCH current controlled switch
6. .DEV( Deviation) and .LOT
General format:
[DEV |value|{%}][LOT |value|{%}]
LOT tolerances track so all devices that refer to the model have the same variation per run.
DEV tolerances are independent of each other, thus different devices will have different
variations for each run.
The % indicates a relative (percentage) tolerance. If omitted then |value| is in the same units
as the parameter it describes.
Examples:
.MODEL DLOAD D (IS=1e-9 DEV 0.5% LOT 10%)
describes a diode model DLOAD with given IS and variation over LOT and DEV given.
7. .OP - Bias Point Analysis
General Format:
.OP
The .OP command tells PSPICE to print detailed information about the bias point in the
.OUT file.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 33
8. .PLOT - Plot
General Formats:
.PLOT [DC,AC,NOISE,TRAN] |output variable ...| + {(|lower limit value|,|upper
limit value|)}
The .PLOT command tells PSPICE to create a plot of the |output variable| signal in the
.OUT file for either a DC, AC, TRAN, or NOISE analysis.
Examples:
.PLOT TRAN V(5) V(9)
tells PSPICE to make a plot of the results of a transient analysis run for the voltages at nodes
5 and 9.
9. .PRINT – Print
General Formats:
.PRINT [DC,AC,NOISE,TRAN] |output variable ...|
The .PRINT statement tells PSPICE to create a table of the |output variable| signal in the
.OUT file for either a DC, AC, TRAN, or NOISE analysis.
Examples:
.PRINT TRAN V(5) V(9)
tells PSPICE to make a table of the results of a transient analysis run for the voltages at nodes
5 and 9.
10. .PROBE - Probe
General Formats:
.PROBE {|output variable ...|}
.PROBE tells PSPICE to write the results of the DC, AC or transient simulation in a format
that the Probe graphics postprocessor can read. If .PROBE is followed by the optional
|output variable| then only those signals will be saved.
.PROBE alone means save all signal data thus the file created (PROBE.DAT) may become
huge.
Examples:
.PROBE
tells PSPICE to save all signal data into PROBE.DAT.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 34
11. .PLOT – Plot
General Formats:
.PLOT [DC,AC,NOISE,TRAN] |output variable ...| + {(|lower limit value|,|upper
limit value|)}
The .PLOT command tells PSPICE to create a plot of the |output variable| signal in the
.OUT file for either a DC, AC, TRAN, or NOISE analysis.
Examples:
.PLOT TRAN V(5) V(9)
tells PSPICE to make a plot of the results of a transient analysis run for the voltages at nodes
5 and 9.
12. .PRINT – Print
General Formats:
.PRINT [DC,AC,NOISE,TRAN] |output variable ...|
The .PRINT statement tells PSPICE to create a table of the |output variable| signal in the
.OUT file for either a DC, AC, TRAN, or NOISE analysis.
Examples:
.PRINT TRAN V(5) V(9)
tells PSPICE to make a table of the results of a transient analysis run for the voltages at nodes
5 and 9.
14. MOSFET
General Format:
M|name| |drain| |gate| |source| |substrate| |model name|
+ {L = |value|} {W = |value|} {AD = |value|} {AS = |value|}
+ {PD = |value|} {PS = |value|} {NRD = |value|} {NRS = |value|}
+ {NRG = |value|} {NRB = |value|}
M defines a MOSFET transistor. The MOSFET is modelled as an intrinsic MOSFET with
ohmic resistances in series with the drain, source, gate, and substrate(bulk). There is also a
shunt resistor (RDS) in parallel with the drain-source channel.
L and W are the channel's length and width. L is decreased by 2*LD and W is decreased by
2*WD to get the effective channel length and width. L and W can be defined in the device
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 35
statement, in the model, or in .OPTION command. The device statement has precedence
over the model which has precedence over the .OPTIONS.
AD and AS are the drain and source diffusion areas.
PD and PS are the drain and source diffusion parameters. The drain bulk and source-bulk
saturation currents can be specified by JS (which in turn is multiplied by AD and AS) or by
IS (an absolute value).
The zero-bias depletion capacitances can be specified by CJ, which is multiplied by AD and
AS, and by CJSW, which is multiplied by PD and PS, or by CBD and CBS, which are
absolute values. NRD, NRS, NRG, and NRB are reactive resistivities of their respective
terminals in squares.
6.6 LIMITATIONS OF PSPICE
1. The student version of Pspice is restricted to circuits with a maximum of 10
transistors. However, the professional DOS (or production) version can simulate a
circuit with up to 200 bipolar transistors (or 150 MOSFETS)
2. The program is not interactive; circuit cannot be analyzed for various component
values without editing the program statements.
3. Pspice does not support an interactive method of solution. If the elements of a circuit
are specified, Pspice cannot be used to synthesize the circuit elements.
4. The input impedance cannot be determined without running the graphic
postprocessor, Probe. The student version does not require a floating point
coprocessor for running probe, but professional version does not require such a
coprocessor.
5. The PC version requires 512 kilobytes of memory (RAM) to run.
6. Distortion analysis is not available in PSPICE
7. The output impedance of a circuit cannot be printed or plotted directly.
8. The student version will run with or without the floating point coprocessor. If the
coprocessor is present, the program will run at full speed; otherwise it will run 5 to 1.5
times slower. The professional version requires a coprocessor; it is not optional.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 36
CALCULATIONS
(A) NON-INVERTING AMPLIFIER GAIN
GAIN, V(4)/v2 = 6.547E+01
INPUT RESISTANCE AT v2 = 1.000E+20
OUTPUT RESISTANCE AT V(4) = 9.942E+02
(B) INVERTING AMPLIFIER GAIN
GAIN, V(4)/v1 = -6.547E+01
INPUT RESISTANCE AT v1 = 1.000E+20
OUTPUT RESISTANCE AT V(4) = 9.942E+02
(C) NON-INVERTING OSCILLATOR GAIN
V(4)/v2 = 4.038E+01
INPUT RESISTANCE AT v2 = 2.000E+04
OUTPUT RESISTANCE AT V(4) = 6.132E+02
(D) INVERTING OSCILLATOR GAIN
V(4)/v1 = -4.000E+01
INPUT RESISTANCE AT v1 = 3.901E+01
OUTPUT RESISTANCE AT V(4) = 6.132E+02
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 37
RESULTS AND ANALYSIS
(A1) INVERTING AMPLIFIER
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
0 2000 4000 6000 8000 10000 12000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 38
(A2) NON-INVERTING AMPLIFIER
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
0 2000 4000 6000 8000 10000 12000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 39
(B) OSCILLATOR WITHOUT MONTE CARLO ANALYSIS
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0.00 5000.00 10000.00 15000.00 20000.00 25000.00
V(4)@1
V(4)@2
V(4)@3
V(4)@4
V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 40
(C) OSCILLATOR WITH MONTE CARLO ANALYSIS
-0.0250
-0.0200
-0.0150
-0.0100
-0.0050
0.0000
0.0050
0.0100
0.0150
0.0200
0.0250
0.0000 0.0005 0.0010 0.0015 0.0020 0.0025 0.0030 0.0035
TIME
OUTPUT VOLTAGE
V(4)@1 V(4)@2
-0.005
0
0.005
0.01
0.015
0.02
0.025
0 5000 10000 15000 20000 25000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 41
(D) OPEN FAULT
-0.0250
-0.0200
-0.0150
-0.0100
-0.0050
0.0000
0.0050
0.0100
0.0150
0.0200
0.0250
0.0000 0.0005 0.0010 0.0015 0.0020 0.0025 0.0030 0.0035
TIME
OUTPUT VOLTAGE
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
-0.005
0
0.005
0.01
0.015
0.02
0.025
0.00 10.00 20.00 30.00 40.00 50.00 60.00 70.00 80.00
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 42
(E) FAULT INJECTION TRANSISTOR-1
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0 5000 10000 15000 20000 25000
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 43
(F) FAULT INJECTION TRANSISTOR-2
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0 5000 10000 15000 20000 25000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 44
(G) FAULT INJECTION TRANSISTOR-3
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.5
0
0.5
1
1.5
2
0.00 2000.00 4000.00 6000.00 8000.00 10000.00 12000.00
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 45
(H) FAULT INJECTION TRANSISTOR-4
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.005
0
0.005
0.01
0.015
0.02
0.025
0 5000 10000 15000 20000 25000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 46
(I) FAULT INJECTION TRANSISTOR-5
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.1
0
0.1
0.2
0.3
0.4
0.5
0.6
0 2000 4000 6000 8000 10000 12000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 47
(J) FAULT INJECTION TRANSISTOR-6
-0.04
-0.03
-0.02
-0.01
0.00
0.01
0.02
0.03
0.04
0 0.0005 0.001 0.0015 0.002 0.0025 0.003 0.0035
TIME
OUTPUT VOLTAGE
V(4)
-0.05
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0 2000 4000 6000 8000 10000 12000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 48
(K) FAULT INJECTION TRANSISTOR-7
-0.5400
-0.5350
-0.5300
-0.5250
-0.5200
-0.5150
-0.5100
-0.5050
-0.5000
-0.4950
-0.4900
-0.4850
0.0000 0.0005 0.0010 0.0015 0.0020 0.0025 0.0030 0.0035
TIME
OUTPUT VOLTAGE
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
-0.1
0
0.1
0.2
0.3
0.4
0.5
0.6
0 2000 4000 6000 8000 10000 12000
FREQUENCY
O/P VOLTAGE Vs FREQUENCY
V(4)@1 V(4)@2 V(4)@3
V(4)@4 V(4)@5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 49
CONCLUSION
A new vector-less dynamic test strategy based on converting the CUT to an oscillator has
been applied to op-amps. The advantages of the presented test techniques include a high fault
coverage, reduced test time, very simple test procedure, and elimination of the test need for
costly specification tests and may be considered as a low-cost test method because no
complicated circuit overhead is required.
The simplicity of DFT techniques presented is very promising for automatic generation of
testable filters. Therefore the DFT techniques discussed above can be integrated in filter
synthesis tools. Given the design of a conventional active filter and having developed
efficient and simple techniques to transform a filter to an oscillator, the following steps must
be pursued.
1) The filter under test is converted to main possible oscillators and the nominal
oscillation frequencies are determined.
2) A Monte Carlo analysis is performed for all oscillators to determine the tolerable
variations of the output oscillation frequency for each oscillator.
3) Based on the tolerance band of the oscillation frequency of each oscillator obtained
from step 2, the undetectable band of parametric fault is determined for all passive
elements for each oscillator.
4) The catastrophic fault coverage of operational amplifiers is also evaluated for all
oscillators.
5) Based on the predetermined fault coverage specified by the designer and results
obtained from steps 3 and 4, a minimal number of oscillators are determined to obtain
the required fault coverage.
The results show that a multiple op-amp ring oscillator test technique can incorporate all
existing op-amps on the chip and can achieve high fault coverage by analyzing only a single
oscillation frequency. Demonstrated results confirm the robustness of the oscillation-test
strategy for op-amps.
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 50
FUTURE SCOPE
(A) MIXED ANALOG-DIGITAL TEST APPROACH
This project can be enhanced in a way so to perform oscillation test methodology on
digital and mixed analog-digital circuits. For that purpose Analog-to-digital (A/D)
converters and Digital-to-Analog (D/A) converters are used. The applications for mixed
analogue/digital systems are extremely diverse, they include:
Telecommunications
medical
automotive
military
industrial control and supervision
consumer products
(B) BUILT-IN-SELF-TEST(BIST)
Also, the concept of a digital circuit or network testing itself without the need to provide a
separate external test vector generator and output monitoring circuit is clearly attractive,
particularly when the size and complexity of the circuit under test grows and therefore
requires increasingly complex and expensive test facilities.
A built-in self-test (BIST) or built-in test (BIT) is a mechanism that permits a
machine to test itself. Engineers design BISTs to meet requirements such as:
high reliability
lower repair cycle times
or constraints such as:
limited technician accessibility
cost of testing during manufacture
The main purpose of BIST is to reduce the complexity, and thereby decrease the cost
and reduce reliance upon external (pattern-programmed) test equipment.
FIG.16 BUILT-IN-SELF-TEST(BIST)
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 51
REFERENCES
1. Karim Arabi, Member, IEEE, and Bozena Kaminska, Senior Member, IEEE,
“Oscillation-Test Methodology for Low-Cost Testing of Active Analog Filters”,
IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL.
48, NO. 4, AUGUST 1999
2. K. Arabi and B. Kaminska, “Design for testability of embedded integrated
operational amplifiers” IEEE J. Solid-State Circuits, vol. 33, April.1998.pp. 573-581.
3. K. Arabi and B. Kaminska, “Testing analog and mixed-signal integrated circuits
using oscillation-test method” IEEE. Trans. on Computer-Aided Design of Integrated
Circuits and Systems, July 1997, pp. 745-753.
4. Linda S. Milor, Member, IEEE, “A Tutorial Introduction to Research on Analog
and Mixed-Signal Circuit Testing” IEEE TRANSACTIONS ON CIRCUITS AND
SYSTEMS—II: ANALOG AND DIGITAL SIGNAL PROCESSING, VOL. 45, NO.
10, OCTOBER 1998
5. Gloria Huertas, Diego Vázquez, Eduardo J. Peralías, Adoración Rueda, and José Luis
Huertas Instituto de Microelectrónica de Sevilla, “Testing Mixed-Signal Cores: A
Practical Oscillation-Based Test in an Analog Macrocell”, IEEE 2002
6. Peter Mrak, Anton Biasizzo, and Franc Novak, “Measurement Accuracy of
Oscillation-Based Test of Analog-to-Digital Converters”, ETRI Journal, Volume
32, Number 1, February 2010
7. “Design Of Two Stage CMOS Op-Amp With Low Power And High Slew Rate.”
P.K.SINHA, ABHISHEK VIKRAM, DR. K.S.YADAV, International Journal of
Engineering Research & Technology (IJERT) Vol. 1 Issue 8, October – 2012
8. Monte Carlo Simulation of Device Variations and Mismatch in Analog Integrated
Circuits ,Hector Hung and Vladislav Adzic, Proceedings of The National Conference
On Undergraduate Research (NCUR) 2006
9. On-Chip Evaluation of Oscillation-Based-Test Output Signals for Switched-
Capacitor Circuits, Diego Vázquez, Gloria Huertas, Gildas Leger, Eduardo Peralías,
Adoración Rueda and José Luis Huertas ,Instituto de Microelectrónica de Sevilla
(IMSE-CNM), Universidad de Sevilla
10. IDDQ TESTING OF A CMOS 10-BIT CHARGE SCALING DIGITAL - TO -
ANALOG CONVERTER, Thesis, by Srinivas Rao Aluri, Osmania University, 2000
December 2003
11. POWER SUPPLY CURRENT [IPS] BASED TESTING OF CMOS AMPLIFIER
CIRCUIT WITH AND WITHOUT FLOATING GATE INPUT TRANSISTORS ,
Thesis, by Vanikumari Pulendra, Osmania University, 2001 December 2005
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 52
12. Principles of CMOS VLSI design, Neil H.E Weste, AT &T Bell Labs
13. CMOS Digital Integrated Circuits, Analysis and Design, Sung Mo Kang
14. Introduction to PSpice Using OrCAD, Muhammad H. Rashid
15. ESSENTIALS OF ELECTRONIC TESTING FOR DIGITAL, MEMORY AND
MIXED-SIGNAL VLSI CIRCUITS, Michael L. Bushnell, Rutgers University,
Vishwani D. Agrawal, Bell Labs, Lucent Technologies
16. VLSI Testing: Digital and Mixed Analogue/Digital Techniques by Stanley L.
Hurst, Institution of Engineering and Technology,1998
17. P.E Allen and D.R Holberg, CMOS Analog Circuit Design, Indian edition, 2010.
18. http://www.cmos.edu
19. http://www.ieee.org
20. http://www.mosin.org
21. en.wikipedia.org/wiki/Fault_injection
22. http://users.ece.cmu.edu/~koopman/des_s99/fault_injection
23. http://en.wikipedia.org/wiki/Fault_model
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 53
APPENDIX-A
CIRCUIT DIAGRAMS
(A) CMOS AMPLIFIER
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 54
(B) CMOS OSCILLATOR
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 55
(C) CMOS WITH FAULT INJECTION
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 56
APPENDIX-B
SCHEMATIC DIAGRAM
(A) TWO STAGE OPERATIONAL AMPLIFIER
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 57
(B) OSCILLATOR
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 58
(C) OPEN FAULT
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 59
(D) FAULT INJECTION TRANSISTOR-1
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 60
(E) FAULT INJECTION TRANSISTOR-2
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 61
(F) FAULT INJECTION TRANSISTOR-3
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 62
(G) FAULT INJECTION TRANSISTOR-4
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 63
(H) FAULT INJECTION TRANSISTOR-5
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 64
(I) FAULT INJECTION TRANSISTOR-6
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 65
(J) FAULT INJECTION TRANSITOR-7
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 66
APPENDIX-C
PSPICE LEVEL 3 CMOS MODEL PARAMETERS
(A) MODEL PARAMETER FOR N-MOS TRANSISTOR
.MODEL NMOS NMOS LEVEL=3 PHI=0.700000 TOX=3.0700E-08 XJ=0.200000U
+ TPG=1 VTO=0.687 DELTA=0.0000E+00 LD=1.0250E-07 KP=7.5564E-05
+ UO=671.8 THETA=9.0430E-02 RSH=2.5430E+01 GAMMA=0.7822
+ NSUB=2.3320E+16 NFS=5.9080E+11 VMAX=2.0730E+05 ETA=1.1260E-01
+ KAPPA=3.1050E-01 CGDO=1.7294E-10 CGSO=1.7294E-10
+ CGBO=5.1118E-10 CJ=2.8188E-04 MJ=5.2633E-01 CJSW=1.4770E-10
+ MJSW=1.00000E-01 PB=9.9000E-01
(B) MODEL PARAMETER FOR P-MOS TRANSISTOR
.MODEL PMOS PMOS LEVEL=3 PHI=0.700000 TOX=3.0700E-08 XJ=0.200000U
+ TPG=-1 VTO=-0.7574 DELTA=2.9770E+00 LD=1.0540E-08 KP=2.1562E-05
+ UO=191.7 THETA=1.2020E-01 RSH=3.5220E+00 GAMMA=0.4099
+ NSUB=6.4040E+15 NFS=5.9090E+11 VMAX=1.6200E+05 ETA=1.4820E-01
+ KAPPA=1.0000E+01 CGDO=5.0000E-11 CGSO=5.0000E-11
+ CGBO=4.2580E-10 CJ=2.9596E-04 MJ=4.2988E-01 CJSW=1.8679E-10
+ MJSW=1.5252E-01 PB=7.3574E-01
OSCILLATION TEST METHODOLOGY FOR MOSFET CIRCUITS
AKANKSHA GUPTA, ISHITA GUPTA, R ASHOK KUMAR, ARUN KUMAR 67
APPENDIX-D
COMPARISON TABLE
FAULT TRANSISTOR TYPE OF FAULT FAULT
DETECTION
M10DSS DRAIN SOURCE SHORT YES
M5GDS GATE DRAIN SHORT NO
M5DSS DRAIN SOURCE SHORT NO
M11DSS DRAIN SOURCE SHORT NO
CCS GATE DRAIN SHORT YES
M6GDS GATE DRAIN SHORT YES
M7GDS GATE DRAIN SHORT YES
8-M11G-VSS OPEN NO