Analog IC Designer S Handbook 1720706789
Analog IC Designer S Handbook 1720706789
Analog IC Designer S Handbook 1720706789
J-F. DEBROUX
1
2
License
The present document is published under the Creative Com-
mons CC-BY-NC-SA license. It can be copied, edited, shared,
publicly presented for non commercial purposes and credit must
be given for any use. Derived documents will automatically inherit
the same license properties.
Abstract
Analog IC design is one of the particular design activities where de-
signers get feedback on their choices only months after they nish their
design and where the cost of even the smallest design change is huge.
This has historically brought the need for new tools such as SPICE,
the ancestor of almost all the electric simulators, so as to give feedback
on the design choices before actually getting the prototypes. This should
also have deeply impacted the design methods, and it has, but the avail-
ability of simulators has nally allowed the old try and x method not
only to survive but also to stay very popular.
If tools such as electric simulators have gained popularity in most
electronic design elds, even out of the IC design world, methods such
as the TOP-DOWN approach are not as popular as they should be,
especially in the analog design community, even in the analog IC design
microcosm. This is probably because this method is felt as dicult to use
practically even though most designers agree that it is the right approach.
The goal of this book is to show that the TOP-DOWN approach for
analog design is not only valid but that it is one of the most powerful
available methods to create good analog design without sacricing the
time to market. This method creates faster and better designs but re-
quires a good understanding of the method itself, of course, but also of
the underlying techniques and of the basic design elements.
After a general introduction of the TOP-DOWN method goals and
principles in the rst part, the second part presents and details analog IC
design elements from components to basic building blocks with a strong
emphasis on practical aspects. Various additional design techniques are
then detailed in the third part. The reader is then ready for the main
course, a series of design examples based on the TOP-DOWN method
that are grouped in the fourth part. These examples are processed the
way they are in real life, from specication to implementation, from gen-
eral considerations down to implementation details. Analysis of existing
circuits is useful for learning but real life design is synthesis, not analysis.
Finally, the fth part introduces or reminds useful basic concepts and
presents the notation in use through the book.
The methods and techniques described in this book have been used by
the author through 35 years of analog and mixed signal ICs design expe-
rience in various application elds including RF and sensor signal condi-
tioning for various markets such as industrial, automotive and aerospace.
The author feels that the method he presents in this book can help many
analog electronic designers in their day to day work and hopes it will bring
both a deeper understanding of design and a broader view over design
activities.
Contents
Contents 3
List of Figures 9
2 Development 22
2.1 Specication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2 Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.3 Manufacturing . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.4 Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.5 Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.6 IC development . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.7 Local loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3 Design 27
3.1 Design activity . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Simple objects design . . . . . . . . . . . . . . . . . . . . . . . 28
3.3 Options and criteria to make a choice . . . . . . . . . . . . . . 28
3.4 Complex object design . . . . . . . . . . . . . . . . . . . . . . . 30
3.5 Architecture and Sizing . . . . . . . . . . . . . . . . . . . . . . 31
3.6 Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.7 Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.8 Design levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 Feasibility study 39
5.1 Laws of physics . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.2 Technologies and tools . . . . . . . . . . . . . . . . . . . . . . . 40
5.3 Skills and resources . . . . . . . . . . . . . . . . . . . . . . . . . 40
3
CONTENTS 4
5.4 Costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.5 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6 Design Management 44
6.1 Design kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.2 Process options and components list . . . . . . . . . . . . . . . 45
6.3 Multiple access design . . . . . . . . . . . . . . . . . . . . . . . 45
6.4 Revision control . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.5 Naming convention . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.6 Documentation structure . . . . . . . . . . . . . . . . . . . . . 47
6.7 Power supply strategy . . . . . . . . . . . . . . . . . . . . . . . 47
6.8 Return from experience . . . . . . . . . . . . . . . . . . . . . . 48
7 Specication 49
7.1 Specication contents . . . . . . . . . . . . . . . . . . . . . . . 50
7.2 Specication tools . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.3 Specication checklist . . . . . . . . . . . . . . . . . . . . . . . 53
8 Architecture 56
8.1 Architecture catalog . . . . . . . . . . . . . . . . . . . . . . . . 56
8.2 Levels 0 and 1 architecture . . . . . . . . . . . . . . . . . . . . 56
8.3 Level 2 architecture . . . . . . . . . . . . . . . . . . . . . . . . 57
8.4 Level 3 architecture . . . . . . . . . . . . . . . . . . . . . . . . 57
8.5 Level 4 architecture . . . . . . . . . . . . . . . . . . . . . . . . 57
8.6 Choosing an Architecture . . . . . . . . . . . . . . . . . . . . . 57
8.7 Architecture tools . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.8 Architecture validation . . . . . . . . . . . . . . . . . . . . . . . 60
9 Sizing 62
9.1 Sizing methods . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.2 Sizing example: Square root circuit33.2 . . . . . . . . . . . . . 64
9.3 Leaf cell sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.4 Sizing validation . . . . . . . . . . . . . . . . . . . . . . . . . . 66
10 Implementation 68
10.1 Floor plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10.2 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
10.3 Manufacturing . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
11 Validation 70
11.1 Sizing validation . . . . . . . . . . . . . . . . . . . . . . . . . . 71
11.2 Layout validation . . . . . . . . . . . . . . . . . . . . . . . . . . 72
11.3 Silicon validation . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12 Sizing validation 74
12.1 Environment conditions . . . . . . . . . . . . . . . . . . . . . . 74
12.2 Process cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
12.3 Monte-Carlo analysis . . . . . . . . . . . . . . . . . . . . . . . . 76
13 Layout validation 78
CONTENTS 5
14 Silicon validation 79
15 Troubleshooting 81
15.1 Describe the problem . . . . . . . . . . . . . . . . . . . . . . . . 81
15.2 Identify root cause . . . . . . . . . . . . . . . . . . . . . . . . . 82
15.3 Design debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
15.4 Silicon debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
II Analog IC design 85
16 Introduction 86
16.1 Analog electronics . . . . . . . . . . . . . . . . . . . . . . . . . 86
16.2 Consequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
18 Bipolar transistors 90
18.1 Symbols and notation . . . . . . . . . . . . . . . . . . . . . . . 90
18.2 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
18.3 Cross sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
18.4 Model equations . . . . . . . . . . . . . . . . . . . . . . . . . . 93
18.5 Simplied model . . . . . . . . . . . . . . . . . . . . . . . . . . 103
18.6 Small signal model . . . . . . . . . . . . . . . . . . . . . . . . . 103
18.7 Eects of bias current . . . . . . . . . . . . . . . . . . . . . . . 106
18.8 Eects of geometry . . . . . . . . . . . . . . . . . . . . . . . . . 106
18.9 Sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
18.10Basic transistor congurations . . . . . . . . . . . . . . . . . . . 107
18.11Design kit validation . . . . . . . . . . . . . . . . . . . . . . . . 108
21 Resistors 126
21.1 Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
21.2 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
21.3 Cross section . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
CONTENTS 6
22 Capacitors 143
22.1 Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.2 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.3 Cross sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
22.4 Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
22.5 Area capacitance and peripheral capacitance . . . . . . . . . . 145
22.6 Parasitic capacitance . . . . . . . . . . . . . . . . . . . . . . . . 148
22.7 Parasitic resistance . . . . . . . . . . . . . . . . . . . . . . . . . 149
22.8 Breakdown voltage . . . . . . . . . . . . . . . . . . . . . . . . . 149
22.9 Linearity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
22.10Tolerances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
22.11Gradients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
22.12Dummies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
22.13Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
22.14Design kit validation . . . . . . . . . . . . . . . . . . . . . . . . 150
23 Inductors 152
23.1 Spiral inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
23.2 Multilayer solenoid . . . . . . . . . . . . . . . . . . . . . . . . . 152
30 Reliability 171
30.1 Oxide stress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
30.2 Interconnections stress . . . . . . . . . . . . . . . . . . . . . . . 171
30.3 Hot carriers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
IVTechniques 229
39 Analyzing operating point DC stability 231
39.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
39.2 Generalizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
39.3 Example: PTAT current source . . . . . . . . . . . . . . . . . . 236
51 Tools 279
51.1 Spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
51.2 CAS (Computer Algebra System) . . . . . . . . . . . . . . . . . 279
51.3 Behavioral simulators . . . . . . . . . . . . . . . . . . . . . . . 279
51.4 Electrical simulators . . . . . . . . . . . . . . . . . . . . . . . . 279
52 Index 280
Index 281
List of Figures
9
LIST OF FIGURES 10
20.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
37.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
LIST OF FIGURES 12
43.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
45.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
48.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
48.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
49.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
49.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
49.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
49.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
49.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
49.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
LIST OF FIGURES 13
49.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
49.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
49.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
49.10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
49.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
49.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Part I
14
Chapter 1
Introduction
This handbook is intended to help and assist analog IC designers in their day
to day design work. This handbook describes the general TOP-DOWN design
methodology and some related techniques that can be used during most design
phases. It looks at the design activity as a whole and tries to gure out some
general principles and to give an overview on the design process.
The document is structured logically and normally denes words and con-
cepts before using them. However, basic knowledge of electronics is required
for using this handbook eciently in day to day design. The general method
developed in this handbook is not intended to change the way you work, it is
intended to help you and to speed up your experience.
If you think that some of your methods should be improved, you can refer
to the relevant sections in this handbook.
If you have no method for addressing some of your design challenges, try
to use the ones described in this handbook.
If you would like to contribute to this handbook, all suggestions are wel-
come. They will be analyzed in detail and taken into account.
A few more words about using this handbook: It can, of course, be read from
start to end, but this may seem a bit theoretical in a rst place, especially for
freshers. It can also be read from the table of contents entries and navigated
back and forth according to the needs.
15
CHAPTER 1. INTRODUCTION 16
You can start the process by putting the rst brick on the ground and
follow your inspiration.
You can dene rst the size of the house, the number of oors how the
dierent rooms will be located inside.
What the TOP-DOWN method suggests is that the second method is a better
approach. Of course, in real life, one often has to mix these two extreme
methods. However, this mix always benets from putting emphasis on dening
before doing.
Yes, writing a specication before starting a new project can be seen as time
consuming. But in fact it saves time and money on the whole project.
It does take time to write a specication.
But knowing what to do saves much more time than it takes to write the
specication.
CHAPTER 1. INTRODUCTION 17
The confusion is that most of the time, the designer knows more or less
what he has to do. The specication is often implicit and inaccurate.
What the TOP-DOWN method suggests is that clarifying the specica-
tion is important and that expressing implied things is important. This
is of particular importance in the common situation where several design-
ers have to work together on the same projects. Another very common
situation is that it is dicult to specify everything from the beginning.
The TOP-DOWN method does not require that every detail is dened
before starting, it recommends that things should be dened before be-
ing done. So the specication can be loose at the beginning and can be
rened along the design process. There is a big margin between dening
nothing and dening everything. This margin is a space for step by step
implementing the TOP-DOWN design method. And anyway, it does not
much take time to dene what you know!
For instance, what about the location of the dierent rooms in the house? Or
the dining room walls color?
These are, of course an issue to address, but clearly after the number of
oors is dened.
For the colors, they do not really interact with previous steps and can be
dened later in the process.
This shows that, obviously, the sequential aspect is important. Some questions
have to be addressed rst, other questions depend on the answers to the rst
ones. Some topics are important, others are details.
If all the topics have to be addressed, they do not have to be addressed all
at the same time.
1.1.2 Conclusion
This very simple example is aimed at showing two things that are very common
in projects:
Going step by step from the project as a whole to the project details.
Definition
Development
Time
Production
End of life
The product life can be gured as linear over time and it divides in four
major phases:
First, the product life begin with the Denition phase, which aims at
dening the future product characteristics.
Then, the Development phase takes place. It aims at designing the prod-
uct and setting up the manufacturing tools. The design phase in which
the designer's work mainly takes place is part of the product development
phase.
The Production phase, the true goal of the whole story, the only phase
that makes money follows Development.
CHAPTER 1. INTRODUCTION 19
End of life is not a phase at properly speaking, but whatever the reason,
production has to stop sometimes and this reality has to be managed
from beginning.
It is basically because only production makes money that denition and devel-
opment have to be made as short as possible. This reduces expenses and speeds
up return on invest.
The other good reasons for speeding up Development are competition and
limited product life time on the market. The shorter the denition and devel-
opment phases, the sooner the product gets on the market and the more likely
it can be ahead of competitors, but also the longer the product can stay on the
market before it is outdated or replaced by another product. This can make
the dierence between a successful project and a disaster.
1.2.1 Denition
As briey said in the introduction, it is always a good practice to dene the
goal before doing anything. For most products, denition consists mainly in
dening two things:
1.2.2 Development
Development will not be detailed here. In the next chapter, we will zoom on the
development phase that includes design, our primary focus with this book. The
development phase goal is translating a product description formalized in the
requirement specication into an actual working product. The Development
really starts when the product requirement specication is available and ends
when the product is ready for volume production.
1.2.3 Production
Production is usually manufacturing and distributing the product in volume.
The three main constraints during the production phase are:
One element of the IC market to consider is the price pressure that leads
to reduce the sales price along time. Maintaining revenue in a context of
price reduction is a hard challenge that must be addressed every day. Initial
Return On Investment calculations must take into account the price pressure
that can be as high as 5 to 15 % price reduction per year. Designing a good
product that can be manufacture in volume with good yield is important in
such a context. The good news is that it is one of the TOP-DOWN method
goals. The production phase goal is making money selling the product. The
production phase starts after a pre-production phase has demonstrated the
product manufacturability in good conditions and stops when the product is no
more economically interesting, either because the market prices have dropped
or because volumes have dropped.
In this case, the product is often no longer interesting and production has to
stop. Depending on the market or the application, some products cannot be
stopped without notice:
Customers may need parts for the time it takes to setup another solution.
pect is that the product life time may dier from its manufacturing technology
life time. In such a situation that can occur for several reasons, the product
has to be redesigned. The reasons for such a situation can be:
The product still has a market but the volumes are not sucient to
maintain the technology alive for only that product.
Development
Again, as a start point, we will look at the development phase as a whole and
see how it is organized.
Specification
Design
Time
Manufacturing
Validation
OK?
Globally, the development phase looks like a complex loop with multiple
return path branches.
Then the Design phase takes place. To state it simply, design is translat-
ing the specication into data and instructions for manufacturing. Practi-
cally design is recursively dividing the blocks in sub-blocks and organizing
the sub-blocks with respect to each other.
22
CHAPTER 2. DEVELOPMENT 23
When the rst product samples are available, a validation phase must
take place. Validation is checking that the object complies with what was
expected and that manufacturing will be possible in good conditions.
It is basically by reducing the number of times the loop is walked through that
the development time can be made shorter.
As already stated, it is one of the goals of the TOP-DOWN design method
to secure the development steps so as to minimize the number of iterations,
speeding up the development process and creating better products.
2.1 Specication
Specication in the development phase is somewhat equivalent to denition
in the product life. The goal is to dene what has to be done. The dier-
ence between denition and specication lies in the standpoint. Denition,
sometimes called Requirement Specication denes what is required from
the application, from the user's standpoint. Specication, sometimes called
Design Specication denes the product from the implementation, from the
designer's standpoint. Creating the Design Specication from the Requirement
specication is the very rst actual design step. Just like the requirement speci-
cation, the design specication is a list of product functions and performances.
Examples will be given later on for design specications.
2.2 Design
As this book's title states, design is out primary goal. Design will be detailed
along the next chapters, so it will not be here.
2.3 Manufacturing
Manufacturing in the development phase is one part of production in the prod-
uct life. During the development phase, manufacturing is normally limited to
prototypes or at least low volumes and may not use exactly the volume pro-
duction equipment or the same tooling even though sometimes it does. In any
case, the required tooling must be developed.
2.4 Validation
Validation consists in checking that the product complies with its denition,
but also in checking that the production equipment can manufacture it in
good conditions for both functions, performances and cost. The product must
be checked extensively, on a signicant number of parts and reliability must
CHAPTER 2. DEVELOPMENT 24
2.5 Loop
In case validation fails, the loop has to be iterated until validation succeeds.
Depending on what fails, design has to be changed accordingly. In some cases,
specication has to be changed if design cannot meet initial requirements in a
reasonable time frame and an acceptable budget.
2.6 IC development
Starting from here, we will focus more and more on one particular product:
The analog integrated circuit. IC development diers from other electronic
products development mainly for the design and manufacturing phases. More
precisely, it is because manufacturing is very specic that design has to take
into account this specicity.
These characteristics impact the design since the try and x method is not
really possible or is very expensive and time consuming. On the other hand,
IC design is not limited by available components or building blocks as these
can be designed on request. IC design is not really limited by complexity. IC
development is one of the few domains of human activity where it would be
possible to manufacture something more complex than what can be designed!
2.6.1 IC design
At the dierence of board design, IC design is not limited by available build-
ing blocks as these are created as required. From experience, this is a huge
dierence and it can be felt when a board designer or an electronic subsystem
designer is involved in specifying an ASIC. Usually board and subsystem de-
signer have real diculties in dening their needs as they are used to choose
available ICs and try to build their application with that. Usually, they can
CHAPTER 2. DEVELOPMENT 25
explain what they did, which components they used, but they have hard times
explaining what the target was and what the design process was.
What functions and performances do I need for the IC for the global ap-
plication to work ne? Answering these questions in detail will dene the
Requirement Specication that describes the circuit from the application re-
quirement standpoint.
How can I build that? What blocks do I need? With what performances?
How should I organize these blocks to get the job done? The answers to
these questions are the basement of the future design. Altogether, they dene
the Design Specication that describes the circuit from the implementation
standpoint.
2.6.2 IC manufacturing
A signicant dierence between board and IC manufacturing lies in tooling
costs prototype costs and manufacturing lead time. Depending on the process,
mask costs lie in the 50k to 1M+ dollars range and increases at every node.
This is the major reason why design method have been improved to minimize
the number or iterations to reach a product that meets its specications. This
is also the reason of an exponential increase in the verication costs resulting
from tools and from manpower. As long as it can save an iteration, it is worth
verifying.
2.6.3 IC validation
As the prototypes get out of the fabrication process, they have to be validated.
This process has in fact two complementary purposes:
Checking that the circuit meets all its specications in all operating con-
ditions and on a statistically signicant number of parts from a number
of lots
Checking that each cell in the circuit operates according to the designers
target in all the operating conditions
These two aspects aim at validating the product. It is somewhat like looking
at an object from two dierent viewpoints. These two tasks should ideally be
performed by dierent persons:
The reason is that nding a circuit does not meet its specication is not natural
for designers. They are more prone to be tolerant with their baby. Someone
external can verify a circuit behavior without any interference. It is somewhat
similar to the reason why doctors or policemen should not be involved in cases
related to their family or friends. And even from a brain structure standpoint,
the qualities required for checking are not exactly the same that the qualities
required for creating.
But designers know exactly how their cells are supposed to work not with
respect to the specication but with respect to architecture and sizing. This
is why they should be involved in cell level validation. This is a good way
of checking simulation models accuracy and improving design skills. In such
tasks, designers may point out behaviors that are not covered by specication
and dierences with simulations that would be below the radar of validators.
would be unacceptable as too risky and too expensive. But in fact it is not the
case. Each of the big steps has its own internal control loop:
A general rule is that every step that can generate errors must be controlled.
Realistically, every step can generate errors, so every step has to be controlled!
In the next chapter, we will nally focus on design, the primary goal of this
book, as the title suggests.
Design
Intention
Drawing
Plan
Arrangement of parts
In this book, by the word design, we mean some sort of a combination of all
these meanings. In addition, we can state that design activity also should also
Not only must the designer organize the product components together to
meet the requirement, but also has he to think about and implement the
various technical elements that will allow manufacturing and testing the
product.
Making choices.
27
CHAPTER 3. DESIGN 28
But these two simple things keep designers busy all day (and sometimes
night!) long.
The shape also exhibits properties. A circle has the largest possible area
for a given perimeter for instance. The object also inherits the shape
properties. The shape can modify some of the object properties with
respect to the material properties but it cannot change everything. Shape
is an extrinsic property. Whatever its shape, an ordinary steel object will
not be stainless.
Given material and shape, the size impacts the object properties. A large
cup contains more liquid than a small cup. A large screw is stronger than
a small one. Size is not a property in itself if modies the intrinsic and
extrinsic properties. It is a numeric property.
3.3.2 Criteria
Choosing between options requires that a comparison is possible. Comparison
requires at least one criterion. When several criteria are considered, comparison
is usually based on a weighted average. Among usual criteria are:
3.3.3 Example
Imagine we have to design an object intended to cut food (this object is know
as a knife in real life...)
Material should be hard enough to cut almost everything and ensure long
service. Steel for instance is harder than wood.
Size should be such that it ts in ones hand. Blade section should be
sucient for enduring the cutting eort.
For the handle, the material can be softer, cheaper than the blade ma-
terial at the expense of a more complex assembly process. Again, it's a
compromise.
With respect to these criteria, the handle material can be chosen for its
look and feel or for its environmental impact, from wood to gold...
CHAPTER 3. DESIGN 30
Nature of lower level objects stands for material: Our knife is not
made from steel but from a blade and a handle.
Values of lower level object stand for size. Our blade has a size, but
also a hardness for instance.
For complex systems, objects can be complex as well. In this case, nature
can be a functional denition such as amplier of DSP. Topology cannot be
described easily and often requires a schematic or a formal language description.
Value can be a set of parameters since the more complex the object, the more
properties it exhibits.
3.4.2 Remark
Making a choice means selecting an item within a set. Keeping the rst idea
that comes to mind is not making a choice. At least two options should exist
for a choice to take place. Very often, when a rst choice is performed between
the initial options, new options come to mind because of the reasons that make
some options fail.
3.4.3 Example
As an example again, imagine our goal is to design an electronic circuit:
3.6 Validation
Making and implementing choices is an error prone process:
To make choices, the designer uses his brain and he may make mistakes.
To implement the choices, the designer uses his hands and he may make
errors.
For these reasons, validating choices is mandatory. Many issues during product
design result from lack of validation.
3.7 Hierarchy
The simple examples above have introduced the idea of hierarchy for addressing
complexity. Complex designs can be managed only if complex objects are
divided recursively into less complex objects. This methods also allows to
share the workload between several designers to get the job done quicker.
CHAPTER 3. DESIGN 32
3.7.1 Cells
In a hierarchical electronic design, the various blocks are usually called cells.
One cell diers from all the other ones: The Top-cell. As its name states it,
this cell contains all the other ones and no other cell contains the Top-cell.
Some cells contain only electronic components but no other cells. These cells
are usually called leaf-cells. This refers to a tree. It has a trunk, branches and
leaves. Some branches hold leafs and other branches. Some branches hold only
leafs.
3.8.1 Copy
Many classic design problems have some standard solutions that have proved
to be ecient and reliable. Using these solutions out of the box results in the
fastest and safest design route. This is the base of the so called IP business.
The only requirement is that the copied cell meets or exceeds the target
specication.
One limitation is that sometimes a simpler solution might exist and would
result in a smaller silicon area. A compromise must be found in this case
between a shorter and safer design route that reduces NRE costs and a
smaller and simpler solution that reduces production costs.
CHAPTER 3. DESIGN 33
3.8.2 Re-size
If no ready to use solution is available, resizing an existing solution is a rea-
sonably fast and safe design route. Resizing is changing sub-blocks values.
Basically, resizing changes a cell performance without changing its functional-
ity.
Requirements are that the origin cell functionality meets or exceeds the
requirements and that re-sized cell performance can meet the target spec-
ication.
The same limitation as for copy exists: A simpler solution may exist but
would require more design work. Again a compromise is often required.
3.8.3 Modify
If functionality has to be changed, modifying an existing solution is faster and
safer than more creative design routes. Modifying is changing both topology,
cells nature and characteristics.
The approach being more exible and creative than lower levels, limita-
tions in functionality and performance is less critical.
The limitation that exists in copy and re-size approaches is not as critical
here: If a simpler solution exists it can be implemented in the modi-
cation process eventually at the expense of more design work. Again a
compromise is often required.
3.8.4 Combine
If nothing is available to re-size or modify, combining existing solutions brings
a new solution while keeping some safety and limiting eort. In this approach,
combining existing or modied topologies extends the functionality and per-
formance domain further.
This approach suers only few limitations and is one of the most powerful.
It can bring outstanding performance at a reasonable design eort.
3.8.5 Create
If everything else has failed, a new solution must be created. This is a longest
and most dicult design route. It is strongly recommended to always use the
lowest possible design level. The boundary between combining and creating
is not very clear. Creating something new is generally combining existing
functions. Creation might be dened as bringing a new functionality that did
not exist before.
The time spent trying the lowest levels is short and anyway shorter that
starting at a too high level.
The graph below describes the top-down design ow to be used when designing
complex systems. It is dicult to gure time in this ow. Locally, at each
hierarchical level, time ows vertically from to to bottom, but globally, it ows
horizontally from left to right. In addition, for complex designs, a number of
designers work in parallel so, at a given level, cells can be designed at the same
time.
Specification
Architecture
Sizing Specification
Implementation Architecture
Validation Sizing
OK? Implementation
Level N Validation
OK?
Level N-1
Here, only two hierarchical levels are shown, but of course, there are
generally much more.
35
CHAPTER 4. TOP-DOWN DESIGN FLOW 36
Arrows on the left and right sides are intended to show that there are
levels above and below.
For implementation and validation, the top level loop diers from the
lower levels loops.
Of course, since at each level, architecture and sizing involve several cells, at
the level just below one loop will exist for each cell. They could be gured as
several sheets for each level.
The top level loop is the product development loop as dened above. For
this loop:
The second step is sizing9 every block in the architecture. Level N sizing
denes specications for level N-1 blocks.
Just like for the development loop, the design loop is ideally walked through
only once...
If everything is correct, design for level N is over, level N-1 design can
start.
If design validation fails, sizing must be changed rst because this design
loop is reasonably short.
CHAPTER 4. TOP-DOWN DESIGN FLOW 37
Globally the development phase is a large set of loops inside each others.
The more complex the design, the larger the number of levels
4.2.2 Convergence
Since the number of items is nite, the time it takes to walk through the loops
can be nite: The process can potentially converge.
This goal can be reached by ranking the requirements. The most strin-
gent requirements have to be addressed rst and the details have to be
addressed at the end. The key is then to identify the hardest design
issues.
This is basically what makes the dierence between a skilled designer and a
less experienced one. This is also why solving a new problem, addressing a
new domain is harder than staying in a well known domain and solving new
problems. However, trying to gure out the dicult issues is a must.
One practical approach is to consider the issues one after each other and
wondering how each could be addressed. For some issues, possible solutions
quickly come to mind. These will be addressed later on. For some issues, no
obvious solution appears. These have to be moved up in the list.
That can seem strange but the immediate solutions have to be addressed at
the end while the issues without solution have to be addressed rst. Among
these top issues, one can appear more dicult than the others. It should be
addressed rst. Even if this ranking is not the right one, it should not be so
dierent from the right one. Doing so helps building design experience and
makes it easier for the next times.
Chapter 5
Feasibility study
If one or more of these sentences is not true, project should be considered risky.
Risk level depends on which sentence(s) is (are) wrong.
The larger the number of negative points, the more risky the project is and the
less it is worth doing it.
39
CHAPTER 5. FEASIBILITY STUDY 40
Some laws are sometimes considered as fundamental while they are not,
being only a limited collection of experimental data or extrapolated trends.
These laws can be overcome why the laws of physics can't.
But that did not come for free and was possible only because the market
was large enough to absorb the costs of developing these technologies and tools.
Board soldering technology. Parts must not be stressed over their capa-
bilities during board soldering.
Design tools.
Manufacturing tools.
Are the product function and performance within the design team domain
of experience?
Is the workload divided by the design team size compatible with the
target timescale?
CHAPTER 5. FEASIBILITY STUDY 41
Hiring and training can address this kind of concerns. And again, partnership,
subcontracting or fusion-acquisition can be options.
5.4 Costs
This is probably the most important issue: A product can be done if it makes
money. But this is addressed at the end since it depends on all the other
items even though, practically cost aspects must be kept in mind permanently
during the feasibility study (and during the entire product life!).Integrated
circuits costs divide mainly in two parts:
NRE costs. Expenses like design manpower and mask tooling are done
once in the product life.
There are many options to reduce costs. They have to be analyzed and con-
sidered to eventually unlock a situation.
Silicon
Package
Test
Silicon cost is more or less proportional to IC die size. In fact, cost increases
a bit quicker than die size because of the yield impact. For a given defects
rate, the larger the chip, the more likely a defect to occur. The cost per mm2
depends on the process.
Factors impacting the cost are:
Lithography feature. The ner the devices the more sophisticated the
equipment and the environment, so the higher the cost par wafer.
Wafer size. The larger the wafer, the more circuits manufactured at a
time, so the lower the cost. But larger wafers require larger, so more ex-
pensive processing machines, longer time spent on the steppers to expose
the entire wafer area and these eects limit the benet of larger wafers.
Package size. This denes the cost of materials for a given technology.
Number of pins. This denes the time spent in bonding the wires and to
some extend the cost of wire.
Test time. Obviously, the longer the test, the more expensive.
5.5 Results
At the end of the feasibility study, four items must be available:
The product planning with two options: The best, optimistic scenario
and a more conservative, realistic one.
CHAPTER 5. FEASIBILITY STUDY 43
An estimation on the ROI date and the capital interest over time in the
various volume production scenarios.
These data are the basis for deciding whether the project should be done or
not. As can be seen, it is a mix of technical and economical considerations.
Chapter 6
Design Management
Then it makes sense to validate extensively the Design kit even though the
designer has limited possibilities to change the tool that usually comes from
the silicon supplier which is either a separate company or a separate division
in the same company. However knowledge of strength and weaknesses of the
tool is important for using it properly and eciently.
Before design can start, the design kit status should be clear and all the
designers should be aware.
44
CHAPTER 6. DESIGN MANAGEMENT 45
...
Special devices
The number of options impacts the production cost so it usually has to be kept
to the minimum. However, if an option can simplify either the design or the
layout and results in a smaller chip, a detailed cost analysis must be carried
out to make a decision.
The options list can seem obvious for any member who has joined the team
at an early stage, but not for a member who joins later on.
A table describing options and components should be accessible to all in
a common, read only, directory and any member joining the team should be
given access to this directory. Compliance to this list is an item to be checked
during design reviews.
stage, can avoid issues and avoids renaming later on. It is a good practice to
dene this convention even before any cell is designed. One suggested method
is that cell names start with a prex that identies the top block. Then the
cell name can continue with a core that identies functionality. A number can
be added then for the purpose of identifying dierent cells with the same func-
tionality but dierent performances. The cell name might continue with two
or three letters that identify the designer. The cell name should then end with
a revision indicator.
Example: If the top cell is built from several blocks with one of these being
a modulator, cells inside the modulator can be given names like:
MOD_OTA1_XY_V10
MOD_OTA2_XY_V10
MOD_CMP1_XY_V10
MOD_BIAS1_XY_V10
MOD_BIAS2_XY_V10
MOD_BIAS2_XY_V11
A good practice is to dene a naming convention for signals too. This reduces
the risk of errors. Indications a signal name can handle can be:
...
CHAPTER 6. DESIGN MANAGEMENT 47
Design traceability and design reuse require that documents are created and
updated all along the design work. A good practice is to initialize a documen-
tation structure that will be lled up with documents as they are created.
Templates for the important documents like specications and design
books can be helpful.
A document should not use concepts that have not been dened previ-
ously.
Things that are obvious for the writer at the time the document is written
might not be obvious at all for the readers, including the writer, at the time
the document is read. Writing these obvious things is not so time consuming
for the writer but can save lots of time for the readers. So, a document should
contain indications on context and addressed problem. Important items such
as assumptions should be indicated clearly.
very early stage as it impacts the whole design and it is very dicult to change
this strategy later on. The supply strategy denes such things like the number
of dierent supplies, the way supplies will be propagated through the design
hierarchy etc...
It is time for setting up the structure for collecting the experience, both
positive and negative, that will setup along the design.
Specication
As briey introduced, the specication for a given hierarchy level results from
sizing the upper level. This is the initial specication or requirement specica-
tion. Usually, such a specication is not sucient to completely dene a cell,
additional item are required. Some examples of additional items are:
For the circuit's top cell, the requirement specication is usually a cus-
tomer document and it cannot be modied easily.
On the other hand, some elements in the design specication are company
condential and cannot be given to the customer.
To summarize:
The current level designer adds items he needs to design the cell. Val-
ues for these items are asked to the upper level designer. The current
level designer also adds items from implementation. Values for these
items have to be dened by himself within the rules of the project and in
coordination with other designer for consistency purposes.
49
CHAPTER 7. SPECIFICATION 50
The current level designer writes the requirement specications for the
lower level designer.
Even in the case where the same designer manages two or more levels, it is a
good practice to write the specications.
7.1.1 Sections
Basically, a specication contains six sections. These sections are listed in a
particular order as they refer to each other.
5. Pins. This section lists the pins that connect the cell to its environment.
Pins refer to functions. This is why they are listed after functions.
Supply voltage.
Supply voltage.
A circuit can have more than one functional mode. A simple example is the
power save mode in which the circuit is supplied normally but does not operate.
Another example is a wireless transceiver that can operate in transmit or receive
mode. When a circuit has several operating modes, the active functional blocks
depend on the functional mode so the electrical parameters depend on the
mode. There are no particular parameters to specify in this section which is
mainly a list of modes with denitions. Functional modes are dened by:
Application
Derived applications
Implementation
Obviously, most functional modes are application dened. But some modes
can be added so as to extend application range. As an example, a standby
mode in which the circuit does not operate but reduces dramatically its power
consumption can extend application to intermittent portable applications even
CHAPTER 7. SPECIFICATION 52
if the primary application does not require this feature. Implementation often
requires additional modes such as test modes or intermediate modes that are
required to switch properly from a mode to another. Functional modes are
dened for the entire circuit but they are implemented by each cell modes. For
instance in an RF transceiver, the top cell modes can be TX and Rx while for
lower level cells modes can be On and O. All the blocks that are used in Tx
have to be On in Tx, all blocks that are used in Rx have to be On in Rx. So,
this section must exist for all the cells in a circuit. The number of modes in a
cell dene the number of bits required to control the mode.
7.1.1.4 FUNCTIONS
7.1.1.5 PINS
This section lists the circuit pins. For the top-cell, most of the pins are dened
by application but some pins such as bypassing or test pins result from imple-
mentation. For lower level cells, some pins are application dened but most
pins result from implementation. So, this section must exist for all the cells in
a circuit.
Electrical parameters dene basically voltages and currents and their combina-
tions such as impedance or gain values. This section is organized by functions.
As functions depend on modes, this section can be organized by modes and
functions. Electrical parameters are grouped in tables. Each specication item
has a status, a reference, a description, minimum, typical and maximum values,
unit, and origin. Description has to dene pins, characteristics and conditions.
This section must exist for all the cells in a circuit.
7.1.2 Statuses
Items in the specication fall in one of ve statuses:
1. Must: This status denes that the item has to be met. In addition, if item
is dened as critical (indicated by symbol ∆), it must be 100% tested in
production.
2. Should: This status denes that the cell has some added value if item is
met.
3. May: This status denes that the item is a non-ideal behavior that the cell
is allowed to exhibit. Parameter denes limits to the non-ideal behavior.
CHAPTER 7. SPECIFICATION 53
4. Don't care: This status denes that item is not relevant, either because
condition cannot occur or because cell behavior in this case or perfor-
mance in this range is ignored.
The rst two statuses are directly related to the cell requirements. In other
words, they come from the upper level. They dene hard and soft design
constraints. The next two ones can be related to the requirement or to the
implementation. In other words they can come either from the upper level
either from the current level. They dene design degrees of freedom. The last
one is mostly related to implementation but can also be a requirement. This
status can only be transient. At some point, an item with this status must fall
in one of the other four.
For every parameter he writes in the specication, the designer should won-
der how this parameter will be checked during design validation and how this
parameter will be guaranteed in production. In order to design eciently, spec-
ication items should be ranked as they cannot be addressed simultaneously.
Designer's ranking is based on a mix of importance in the specication and dif-
culty to implement. Important items should be addressed before secondary
ones, and dicult to meet items should be addressed before easy ones. Archi-
tecture choices, sizing and even design validation should be based on the ranked
specication items. This is a good way to minimize rework.
7.3.1 Environment
Ambient temperature:
CHAPTER 7. SPECIFICATION 54
Duty cycle:
Functional modes:
Test mode:
7.3.3 Pins
Supplies
DC values:
Transients:
Noise:
Rise/Fall time:
Outputs
Static Load:
Dynamic load:
Acceptable noise:
Transfer
Supply rejection:
Crosstalk:
7.3.4.4 Functions
Active mode
7.3.4.5 Pins
Note 2: At T=25 C°
Chapter 8
Architecture
Architecture work is choosing the way the cell functionality is divided into sub-
cells. It includes choosing both the sub-cell nature or function and the sub-cell
arrangements. Since a real circuit can be complex, it can require a number of
hierarchical levels. Depending on the hierarchical level the designer is dealing
with, the objects nature can change signicantly. Usually, top level objects are
complex and they get less and less complex as the hierarchical level decreases.
When it comes to deal with leaf cells, objects are electronic components.
Whatever the nature of objects, an architecture is required to dene the
kind of functions to use and the way the signals proceed between objects.
As the design level 3.8 increases, it gets more and more dicult to give general
methods to address architecture work, but here are some guidelines:
56
CHAPTER 8. ARCHITECTURE 57
Independent blocks
Processing chains
Loops
This is some sort of degree 0 architecture, but for top cells it is not so rare.
Circuits are sometimes just a collection of functionality that are not really
related to each other. In this case, architecture results in a list of independent
blocks. A good practice however is to wonder if some utilities or some sub-
blocks could not be shared. And usually the digital control block and the power
management block, if any, are common to all other blocks.
8.6.1.3 Loops
The most frequent reason for choosing a looped architecture is accuracy. Most
loops compare the output to the target and use the error signal to correct the
output. As loops exhibit this capability to correct at least part of their own
errors, they are usually accurate and robust.
The rst item in the list should be the most critical one. Critical aspect can
be evaluated through discussions with other designers, by searching standard
products performance or by looking at state of the art in published papers.
Architecture should be chosen in such a way that it addresses rst the most
critical specication item. It should be shaped by the rst item. The selected
topology should directly derive from the rst item.
Should the rst item be a good accuracy, it would suggest a large gain
loop.
The other items should be ranked by order of critical aspect. They should be
taken into account to rene the selected architecture.
Input specications.
Output specications.
Transfer specications.
Input characteristics dene the input layer, the functional block that
receives the input signals.
Output characteristics dene the output layer, the functional block that
delivers the output signals.
Design usually starts with the most stringent input or output spec-
ication. It is then not so rare that design starts with the output
stage. . . If design has to start with the intermediate layer, iteration is often
required to take into account actual I/O layers characteristics.
Input layer Intermediate layer Output layer
Along the design phase, designers go deeper and deeper in the circuit
hierarchy and the objects complexity lowers. As this process takes place,
test-cells for validating the resulting blocks are developed. This process
down to leaf cells is the left hand, downwards going half of the V. This
design phase can be called synthesis.
Once every leaf cell is designed, the circuit is build with, simply replac-
ing behavioral descriptions with actual designs. The test-cells that have
been developed and used during the synthesis phase can be used to vali-
date the actual circuit operation. This process up to the circuit top-cell
is the right hand, upwards going half of the V. This design phase can
be called verication.
time
Top cell Top cell
Level -1 Level -1
Behavioral cells Physical cells
........ ........
Level -N Level -N
Behavioral cells Physical cells
Leaf cells
Synthesis Verication
In levels 0 and 1, validating the architecture is just checking that the cell
functional modes and functionality cover the requirement. This can seem a
bit formal, but can be done very quickly and can save lots of time if only a
detail that was not foreseen is not compliant. This detail would appear after a
signicant amount of characterization work that would have to be done again
later on.
Sizing
Sizing work takes place only if the cell is changed or completely new. Sizing
is choosing the sub-cells characteristics so as to achieve the cell target per-
formance. Sizing is signicantly dierent for a leaf cell where sub-cells are
components or for an intermediate cell where sub-cells are cells. This will be
detailed later on. First, lets consider the possible methods for sizing.
Even if parameters had only two possible values, scanning all the possi-
bilities would still require more than twelve days. . . at one attempt per
second.
This example is just intended to show that using a pure brute force, computing
intensive method is generally not the solution. Educated guess can often reduce
dramatically the number or variables and can sometimes allow computer based
sizing.
At this point, symbolic math tools can be very helpful to run the required
calculations.
62
CHAPTER 9. SIZING 63
The main concern with this method is that it may result in very compli-
cated math that cannot be solved.
In order for this method to give good results, only relevant blocks parameters
should be considered for sizing. Again, a good approach is to consider only
the specication items that have been ranked as important for the design. If
sizing with a limited set of specication items leads to a design that meets the
entire specication the problem is over. If the solution is not fully compliant,
adding items to rene sizing is usually not very dicult. The dependency graph
is getting a bit more complex but the calculation principle is not completely
dierent. And again, the specication items that are not met usually give
indications on important parameters that can then be taken into account. In
case the math approach cannot be used, a model based approach can be a
solution.
In this method, model accuracy i.e. eects actually taken into account is
some sort of a design variable that is continuously adjusted so as to see
what eects are important.
Environment parameters.
External parameters.
Technological parameters.
Geometry parameters.
Bias parameters.
These constants, such as q, the electron's charge, or k, Boltzmann's constant
cannot be sized at all. They are what they are. The good news from a design
standpoint is that they are not subject to change without notice!
CHAPTER 9. SIZING 65
These parameters, such as the temperature and the supply voltage could be
used as design variables but if they can appear as degrees of freedom for the
designer, they are constraints for the user. These parameters should be used
only if no other solution can be found and if the upper level designer, and by
extension the customer agrees.
These parameters usually specify external components. Their value can some-
times be discussed. These values are aected by tolerances.
These parameters, such as the gate oxide thickness or the bipolar forward
current gain can be considered as exible to the designer. This is true only
within the limits of available processes. Of course, these parameters remain
exible until the process is chosen, they are xed afterward. The designer
should always keep in mind that anyhow, technological parameters are aected
by tolerances.
These parameters such as a MOS width and length are among the most used as
design variables. Tolerances on geometry are quite tight but they exist. Apart
from that, geometry parameters are free for the designer and can be changed
along the design process. But they must be xed before layout, unless the
cell provides some means of keeping it programmable, either by metal masks
or through programming. In this case, geometry can be changed during test
and even in the application. This is typically what is done sometimes during
calibration.
All active electronic devices exhibit non linear characteristics and can handle
currents only in one direction. When it comes to handle analog signals that
can vary continuously around zero, a bias is used. Bias currents are very
important design variables and as such they are among the most used. They
can be changed along the design process but usually have to be xed before
layout. As for geometry, circuits can provide means of changing bias. Bias
can then be changed during test or in the application. Bias can also be self
adaptive in order to compensate for process parameters or temperature. This
kind of approach is often used in robust designs. Unless controlled by such
techniques, bias parameters are aected by tolerances.
These equations such as the Kirchho Current Law apply in any electrical
circuit.
These equations such as those describing the currents versus voltages in a MOS
transistor or in a bipolar transistor apply to each device in a circuit.17.1
These equations such as expressing the voltage gain or the input impedance
are directly related to the circuit characteristics. Other equations in that type
derive from operating constraints that are usually conditions that must be
granted for the cell to operate properly.
There is one dependency graph for each cell characteristics but the graphs can
share some sections in common. Each graph is built starting from the equation
that expresses the cell characteristic as a function of components or sub-blocks
characteristics. Each characteristic is gured as a box and dependencies are
gured as arrows. The graph is built step by step until it reaches primary
parameters. Primary parameters are parameters that do not depend on any-
thing. Among primary parameters are the constants of physics that are useless
for sizing, but also geometry and bias parameters that are free for sizing.
the sizing of an existing design can have side eects. For these reasons, sizing
has to be validated.11.1
Chapter 10
Implementation
Any design has to go through a complex process for translating the concept
into an actual object. For a complex object, the upper level loop, as already
stated consists is the development 2phase itself. In this loop, implementation is
manufacturing the object. For the lower levels loops, implementation consists
usually in creating the data for manufacturing.
In IC design, the implementation phase consists in translating the sized
schematic which is some sort of a symbolic description including architecture
and sizing into a physical description. This phase called LAYOUT adds some
specic constraints to the design.
Along the Architecture and Sizing phases, the design is usually a set o les
in a CAD system.
Number of pads
Location of pads
Size and shape of cells. Size can be estimated from devices sizes assuming
a lling factor that can be estimated from previous experience.
These oor planning tasks are rather fast and easy and can be done by iterations
until an ecient oor plan is found. Floor planning can start as soon as
schematics are nearly complete. It can be revised when all the schematics are
validated. Then it can be iterated down the hierarchy so that, at each level,
the most ecient plan is used. Finally when each leaf cell is located, layout
can start. This method is ecient since each cell pins are located directly at a
suitable place to connect properly at the upper level of hierarchy. As a result,
nal assembly is usually fast and safe at every level.
68
CHAPTER 10. IMPLEMENTATION 69
10.2 Layout
While the schematic is a symbolic representation that does not take into ac-
count the relationship between components values and sizes and that does not
consider topology, layout does. For instance, a resistor size in the layout de-
pends on its value. This, of course has an impact on the topology.
Another constraint is that the layout is a 2D structure. The third dimension
exists but the designer cannot play much with it.
During the layout phase, the design is usually a set of les in a CAD system.
The dierence with the previous phases lies in the kind of information the les
contain.
10.3 Manufacturing
In IC development, manufacturing is the implementation phase for the whole
product. For many years now, IC processing use steppers for lithography: For
each lithography operation, a dedicated reticle is stepped to cover the entire
wafer area. Complete IC process requires a set of reticles. In order to minimize
the lithography time, the reticle has to be as large as possible. So, a number
of chips have to be assembled in the reticle. These chips can be all identical
or not. Some alignment gures have to be added for the steppers to be able
to position properly with respect to previous process steps. Process Control
Monitoring structures are also added to the reticle to allow checking wafers
electrical properties measurement. For prototyping, most manufacturers allow
multiple level reticles: In one reticle, up to four lithography steps are place.
They are used one after each other, in the right sequence. This increases the
lithography time but reduces the number of reticles. It is generally a good
compromise for prototypes up to pre-production. When volume production
starts, a new set of single layer reticles has to be made.
So, the rst step of manufacturing is assembling the reticle. Then, lay-
out data have to be translated into mask description format after appropriate
transformations such as lling to ensure density in all layers is evenly dis-
tributed, sizing operations to compensate for technology. When the reticle set
is available, the wafers batch can be launched.
After about 12 weeks, wafers are complete. They can be back side grinded to
the desired thickness. Then wafers are sawed into chips that can be assembled
into packages to produce the parts.
Chapter 11
Validation
Architectures validations.
Sizing validations.
Silicon validation.
Hierarchically speaking:
Architecture and sizing validations take place at every level design loop.
Chronologically speaking:
Silicon validation takes place at the end of the rst pass in the develop-
ment loop.
Design kit validation and Architecture validation are addressed in the respec-
tive sections. In this chapter, we will introduce the loops validation phases at
properly speaking:
Sizing validation.
70
CHAPTER 11. VALIDATION 71
Layout validation.
Silicon validation.
11.1.1 Verication
Validating cell functionality means checking that the cell can be set to operate
in all the functional modes and that functionality and performances are correct
in all the modes. This is normally done at room temperature, nominal supply
and typical process.
Prior to design verication, the checklist below can be used to run simple
simulation that can lead to eventually modify the cell. This can save iterations
in the design loop.
Verication is done with the help of a simulator. If verication fails, the
origin of failure has to be found and corrected, and then verication has do be
done again.
11.1.2 Characterization
The specication contains a list of items that dene cell performances. Charac-
terizing is checking all the specied characteristics, in all the possible environ-
ment conditions and in any process case and checking the impact of mismatch
through Monte-Carlo simulation. Most of these performances can be checked
by simulation, with some limitations and exceptions.
For each specication item, a test cell should be created. The test cell is a
schematic that instances the cell to test, together with stimuli and external
components. The goal is to put the cell in the conditions the specication
denes for the item to be measured. The cell can then be simulated and the
CHAPTER 11. VALIDATION 72
If the cell complies with its specication, the design can continue with
another cell. This situation shows that the design process has converged.
It means that the method has been used successfully.
Hierarchy issues.
Parasitic components.
One goal is to nd what's wrong and the designer hopes and wants to
show that his design is good.
Another goal is to check that everything works as expected, not only that
globally the circuit works.
Another goal is to evaluate margins but the samples are what they are
and it is not possible to vary the process parameters or the matching
data on samples.
When validation starts, not only silicon status is unknown but also the
test board status is unknown and the control software if any is also in an
unknown status.
In order for the silicon validation to be carried out eciently, a silicon validation
phase is required. It is detailed in a dedicated chapter: Silicon Validation.
Chapter 12
Sizing validation
Design characterization is probably the easiest design step even though it may
require a signicant time. This is mainly because a well dened method applies.
Characterization requires the full set of simulation using the test cells to be done
for all the possible combinations of external variables. Since external variables
are independent from each other and since they can vary continuously, the
number of combinations is innite. So, true characterization is an impossible
task. Fortunately, some assumptions that proved to be reasonably true make
this task achievable. Variables that can inuence the performances of a circuit
are mainly of two types:
Environment conditions
Process cases
Temperature
Supply voltage
Supply voltage can be a vector variable since there might be several supplies
for a cell. Then, one supply might be maximal while another one is minimal.
However, since most cells characteristics exhibit a monotonic or sometimes
quadratic behavior with environment variables, characterization can be simpli-
ed by considering only 3 possible values for the environment variables:
Minimal
Typical
Maximal
74
CHAPTER 12. SIZING VALIDATION 75
Then, for each cell characteristics, two other simulations are done, one
with the set of all the parameters that pushes the characteristics to max-
imal, one with the set of parameters that pulls the characteristics to
minimal. These two sets of parameters are usually dierent for each cell
characteristics. This is why this is not done on the full set of simulation
but individually.
Within the validity of the assumptions this method is based on, it brings ab-
solute worst values that should occur very rarely.
If the cell meets the specication even in this absolute worst case, char-
acterization may stop. The cell is probably too robust, but making it less
robust would require additional work which is denitely not worth the
money except if silicon area can be reduced signicantly!
If the specication is not met in the absolute worst case, the question is:
How probable is this case?
Layout validation
Layout validation can be thought as a simple task as powerful tools are available
to check the layout versus the schematic and to simulate the layout including
parasitic components. But this idea is not completely true:
78
Chapter 14
Silicon validation
Silicon verication
Silicon characterization
Validation plan Basically the plan lists all the measurements to be per-
formed with associated conditions. The goal is ideally to check every spec item
from every circuit cell.
79
CHAPTER 14. SILICON VALIDATION 80
Check that supplies and signals are connected to the right pin of the
socket
Software validation
Simulation models are only models, some eects are not modeled.
The board used for verication may also be the origin of some issues. . .
Silicon verication can start only when the lab setup has been veried.
1. Setup the supplies: Voltage and current limitation 30% above the ex-
pected consumption.
6. Start measurements.
Troubleshooting
4. Choose solution
5. Implement solution
6. Validate solution
7. [Prevent recurrence]
This method applies in every situation where an issue occurs. During the
development of an analog IC, this can take place mainly during the design phase
and during the validation phase. A design issue is generally a specication
item that is not met. A validation issue is generally an unexpected dierence
between simulation and measurement.
How? How can one see that something is wrong? How often does the
issue occur?
Very often, answering the initial list of questions brings additional questions.
81
CHAPTER 15. TROUBLESHOOTING 82
Tools
Environment
Principle
Implementation
Failure
Interaction
15.2.1 Tools
The issue can be real on the circuit under evaluation or can result from the
tools that are used for the evaluation. Tools depend on the phase in progress.
They are simulators and models during the design phase, they are measure-
ment instruments during prototypes validation. Tools must be questioned and
checked to make sure that the issue is real. Using another simulator or another
simulation technique, using another measurement instrument can help.
15.2.2 Environment
During design, design kit can be updated resulting in changes in the circuit be-
havior. The change does not necessarily result from a design change. However,
normally the new design kit is supposed to be more accurate and the circuit
must be change in order to work properly in the new environment.
During prototypes evaluation, some oscillations may not result from the
circuit but from a cellphone or from another signal source in the surroundings.
A special subclass of environment items are parasitic elements. They should
be considered during design and tools should take them into account but this
is not always the case. In the lab, sockets parasitic elements can impact the
circuit behavior.
15.2.3 Principle
The issue can result from the principle that has been used for designing the
circuit. During design, this should normally occur only at early stages. It this
occurs during validation, it indicates that something really went wrong in the
development process.
15.2.4 Implementation
The issue can result from a bad implementation of a good principle.
CHAPTER 15. TROUBLESHOOTING 83
15.2.5 Failure
Issue can result from a component failure or from a design failure.
15.2.6 Interaction
A dicult situation is when the issue does not result from a simple cause but
from an interaction between two or more causes.
5. Implement solution
6. Validate solution
7. Prevent recurrence
1. List issues.
b) Run the same experiment with a couple other parts in order to avoid
a part artifact.
2. Check scenarios
b) Use the on chip test circuitry in order to identify the faulty block.
When two or three signatures comply with expectations from a given scenario,
it is a good candidate. The investigations to nd root cause may show addi-
tional issues. These should be considered as well but as separate issues that
must be analyzed. Only careful analysis can dene whether dierent issues
are related to the same root cause. A complex problem should never be over-
simplied.
Once a root cause is identied, it should be validated using all the possible
tools and methods. Simulation is a powerful tool but some techniques such as
FIB (Focused Ion Beam) allow in place circuit modications by cutting wires
and creating new connections.
Analog IC design
85
Chapter 16
Introduction
16.2 Consequences
In electronic circuits, electrical signals interact with components and generate
other electrical signals. Let's simplify a bit and consider a simple circuit with
just one input and one output. The output signal characteristics depend on:
86
CHAPTER 16. INTRODUCTION 87
The spurious characteristics. The circuit has inevitably some non ideal
characteristics and it introduces undesired modications. It may also add
parasitic signals to the output signal.
It is then very dicult and sometimes impossible for an analog circuit to know
whether a change in the output signal results from a change in the input signal
or from a change in the circuit characteristics.
If an analog circuit is properly designed and implemented, the output signal
depends mainly on the input signal, the circuit itself introduces limited signal
distortions and adds minor parasitic.
The circuit must then be designed and implemented in such a way that
changes in circuit parameters have a minor impact on the output signal and
that noise and parasitic signals are kept to an acceptable level.
As a consequence, the inuence of circuit parameters on the output signal
must be analyzed carefully and circuit must be optimized until the target spec-
ication is met whatever the parameters inside their specied tolerances and
whatever the environment conditions within specications.
Chapter 17
As already stated, it is necessary for designers to know about the behavior and
properties of components and basic circuits and about techniques and particu-
lar aspects of implementation. This is why, before going further these elements
are grouped together in this part for those who might not be completely fa-
miliar with. Analog IC design is a branch of analog design. The dierence
comes from the integration that has many practical consequences. In turn,
these particularities do not allow direct integration of a board schematic and
then have an impact on the design:
The production cost of an IC is linked to the circuit area, not to the num-
ber of components. The larger the circuit, the higher the cost whatever
the contents.
NRE costs for developing an IC are much higher than for developing a
PCB. Delays between a design decision and feedback are much longer
than for a breadboard.
All these dierences have made analog IC design a risky activity, even more
risky than analog board design. The try and x method is hardly usable.
88
CHAPTER 17. BASIC ANALOG IC DESIGN ELEMENTS 89
Shape: Depends on component type but most components are build from
a number rectangles.
17.2 Devices
Integrated components belong to three families:
Active devices
Passive devices
Parasitic devices
Bipolar transistors
Pins are identied by a letter, E for emitter, B for base and C for collector.
Currents in the three pins are identied by the pin letter as IE, IB and IC.
Voltages are identied by the two pins letters as VBE, VBC, VCE.
Base and collector currents are positive for NPNs, negative for PNPs.
90
CHAPTER 18. BIPOLAR TRANSISTORS 91
18.1.0.1 Note:
In the symbols shown here, emitter is bottom connection for the NPN and top
connection for the PNP. This is the standard convention for drawing schematics
with the positive supply at the top and the negative supply at the bottom.
18.2 Layout
18.3 Cross sections
In integrated circuits, transistors have to be isolated from each other. Starting
from this constraint, several transistor structures can be implemented. They
will be detailed hereafter. Basically, transistors are named:
In all the gures below, only the nal and simplied transistor structure is
shown, no details are given on process.
Just as for vertical NPNs, actual transistors are more complex with added
regions mainly intended to reduce parasitic series resistance.
The collector current that actually ows from collector to emitter depends on
VBE and VBC the following way:
V BE V BC
ICbasic = IS · exp − exp
NF · V T NR · V T
For the base current that actually ows from base to emitter, expression is:
" #
V BE V BC
exp N F ·V T −1 exp N R·V T −1
IB = IS · −
BF BR
As a result, emitter current is the sum of collector current and base current.
In order to satisfy the Kirchho Current Law, emitter current is negative.
IE = − (IC + IB)
It is fundamental to see that, in usual operating conditions, collector current
and base current result from base-emitter voltage. As a result, the current gain
usually noted β is an indirect eect.
These equations show ve model parameters:
CHAPTER 18. BIPOLAR TRANSISTORS 94
Example: With this basic model, and with the following parameter values:
IS = 10 −16
BF = 100
BR = 1
NF = 1
NR = 1
We can plot the following curves:
This graph shows that the transistor operates like a current source when
VBC is negative enough i.e. when VCE is signicantly larger than VBE. When
VCE is smaller than VBE, the transistor enters in the so called saturation
region.
CHAPTER 18. BIPOLAR TRANSISTORS 95
This graph shows that current gain of basic model is fairly constant and
equal to parameter BF outside the saturation region and drops as the transistor
goes deeper into saturation.
IC/IB versus IC
This graph shows that current gain of basic model is fairly constant and
equal to parameter BF over a wide collector current range.
CHAPTER 18. BIPOLAR TRANSISTORS 96
The basis static model describes a somewhat ideal transistor but already
includes the saturation eect.
V AF = 20
V AR = 5
The previous curves change a bit:
Now, current gain depends on VCE, even outside the saturation region.
IC/IB versus IC
Now, current gain changes slightly with collector current but this is only
due to the change in VBE.
Removing VAF and VAR to cancel Early eect and adding the following pa-
rameter value:
IKF = 2 · 10 −3
3. IC/IB versus IC
Keeping parameter:
IKF = 2 · 10 −3
V AF = 20
V AR = 5
The previous curves change again:
3. IC/IB versus IC
18.4.7 Capacitances
A junction capacitance results from two terms:
Transition capacitance
Base-emitter
Base-collector
Collector substrate or base-substrate
Diusion capacitance
This capacitance exists only in forward biasing. It results from the mi-
nority carriers stored in the junction. It depends on the current. Only
forward biased junctions exhibit diusion capacitance. Normally, only
the Base-Emitter junction is forward biased but in saturation, the Base-
Collector is forward biased too.
If V BE ≤ F C · V JE
1
CT E = CJE ·
V BE M JE
1− V JE
If V BE > F C · V JE
1 V BE − F C · V JE
CT E = CJE · M JE
· 1 + M JE ·
(1 − F C) V JE · (1 − F C)
CHAPTER 18. BIPOLAR TRANSISTORS 100
If V BC ≤ F C · V JC
1
CT C = CJC ·
V BC M JC
1− V JC
If V BC > F C · V JC
1 V BC − F C · V JC
CT C = CJC · M JC
· 1 + M JC ·
(1 − F C) V JC · (1 − F C)
If V SC ≤ F C · V JS
1
CT S = CJS ·
V SC M JS
1− V JS
If V SC > F C · V JS
1 V SC − F C · V JS
CT S = CJS · M JS
· 1 + M JS ·
(1 − F C) V JS · (1 − F C)
The following graph shows the transition and diusion capacitance values ver-
sus the Base-Emitter voltage. At negative VBE values, only transition capac-
itance exists and varies. Above V BE = F C · V JE , CTE variation changes.
When VBE is sucient, collector current becomes signicant, CDE increases
exponentially and quickly becomes the dominant term.
18.4.10 Noise
Noise is modeled as noise voltage or current sources associated to the transistor
various noisy elements
CHAPTER 18. BIPOLAR TRANSISTORS 102
Figure 18.14:
18.4.10.1 Resistances
18.4.13 Matching
In a bipolar transistor, there are mainly four parameters that contribute to
mismatch:
Base access resistance RB and Early voltage VAF are strongly correlated to
current gain:
CHAPTER 18. BIPOLAR TRANSISTORS 103
The higher the gain, the higher the base resistance and the lower the
Early voltage.
V BC −V T
IC < IKF
In this case, expressions simplify leading to the simplied model that is useful
for sizing transistors and choosing operating point.
V BE
ICbasic ' IS · exp
VT
ICbasic
IB '
BF
V BC
IC = ICbasic · 1 −
V AF
18.6.1 Transconductance
For the bipolar transistor, current owing from collector to emitter depends on
voltage between base and emitter.
Transconductance46.4 can be dened as:
gm = ∂IC
∂V BE = 1
VT · IS · exp V BE
VT
= IC
VT
rBE = ∂vBE
∂iB = β
gm = β·V T
IC
∂vCE ∂vCB 1 V AF V AF
rO = = = ∂iC
= =
∂iC ∂iC ∂vCB
IC IC
CT E ' 2 · CJE
IC
CDE = T F ·
VT
Then:
IC
CBE = CT E + CDE = 2 · CJE + T F ·
VT
CHAPTER 18. BIPOLAR TRANSISTORS 105
CJS
CCS '
2
When the transistor is current driven, its internal vBE is dened by the control
impedance made from rBE in parallel with cBE. This impedance, when driven
with an AC current implements a low-pass transfer function. Cuto frequency
is dened as:
1
f0 =
2 · π · rBE · cBE
When the transistor is voltage driven, its internal vBE is dened by the at-
tenuator built from the base access resistance RB and the control impedance
built from rBE and cBE. This input divider achieves a DC attenuation and a
low pass transfer function. Cuto frequency is dened as:
1
f0 = rBE·RB
2·π· rBE+RB · cBE
1
f0 =
2 · π · RB · cBE
The capacitances dening both cuto frequencies are the same. Comparing
cuto frequencies is then equivalent to comparing the resistances. For the cur-
rent gain cuto, the resistance is rBE while for the transconductance cuto the
resistance is rBE in parallel with RB. Whatever rBE and RB, transconduc-
tance cuto frequency is then higher than current gain cuto. In addition, as
RB is usually lower than rBE, transconductance cuto is usually signicantly
higher than current gain cuto. In high frequencies applications, it is a good
practice to drive the bipolar transistor with a low impedance so as to benet
from the high transconductance frequency.
Current gain is aected only by the fact that it depends on current and
that current in each individual transistor is half the total current.
CHAPTER 18. BIPOLAR TRANSISTORS 107
Figure 18.15:
So, when two identical transistors are connected in parallel, for a given collector
current, transconductance cuto frequency is not aected if collector current is
below transition current and it is doubled if collector current is above transition
current.
18.9 Sizing
Sizing is choosing transistor size and bias conditions to reach desired behavior.
Sizing is usually based on small signal model. Block performances can be
expressed as a function of transistor small signal model parameters. In turn,
small signal model parameters can be chosen to achieve block performances.
Then, transistor geometry and bias can be chosen to reach the target small
signal model parameters.
Transconductance is gm = IC
VT
CHAPTER 18. BIPOLAR TRANSISTORS 108
Figure 18.16:
Figure 18.17:
Improper EG and XTI values resulting from tting. Incorrect VBE vari-
ation with temperature.
Figure 18.18:
Sweep collector voltage from 2 volts above base voltage to 1 volt below.
MOS transistors
For MOS transistors, there are many models but most of them are only usable
by simulators. The only model reasonably usable for calculation is the Schich-
man and Hodges model also called Level 1 model that is no longer in use
practically in simulators. However this model is useful for sizing circuits, this
is why we will analyze it.
19.1 Symbols
MOS transistors exist in two polarities, N channel and P channel also
called NMOS and PMOS.
MOS transistors have four pins; source, gate, drain and bulk.
Pins are identied by a letter, S for source, G for gate, D for drain and B for
bulk. Currents in the four pins are identied by the pin letter as IS, IG, ID and
IB. Voltages are identied by the two pins letters as VGS, VGD, VDS, VBS...
110
CHAPTER 19. MOS TRANSISTORS 111
19.2 Layout
19.3 Cross sections
In integrated circuits, transistors have to be isolated from each other by junc-
tions. Depending on the substrate polarity, MOS transistors can be imple-
mented directly or in a well. If the substrate is P type, NMOS can be im-
plemented directly. In this case, their bulk is common and connected to the
substrate. PMOS transistors have to be implemented in an N type bulk. So, if
the substrate is P type, an N well is required. If isolated NMOS are required,
their P bulk have to be isolated from each other in and N well. If substrate is
N type, above polarities have to be inverted.
The standard MOS model has only four pins as already mentioned. Sub-
circuits can implement additional pins and related components. Most design
kits do that, mainly after the layout is done. Additional components are usually
diodes.
This component has only three pins as Bulk and Substrate are shorted. P
region is gured here as an homogeneous region. However, a P Well is often
used around the MOS to separate Substrate doping from Bulk doping.
This component has ve pins, the four standard MOS pins and the Substrate.
CHAPTER 19. MOS TRANSISTORS 112
This component has six pins, the four standard MOS pins plus the Well and
the Substrate.
Note: Comparing the isolated NMOS and the vertical NPN cross-sections
shows strong similarities:
When isolated NMOS is available in a process, one can draw a vertical NPN.
Usually, silicon manufacturers include this component in the design kit and
provide model parameters.
1. For the bipolar transistor, the so called saturation region is the low
VCE region while for the MOS the saturated mode is the high VDS
region.
L is the MOS length, i.e. the size in a direction parallel to the current
ow.
µ · ε0 · εR
KP = β =
T OX
µ is the carriers mobility that depends on Bulk polarity and doping
level.
This mode is also known as the triode operating mode, in reference to the
three electrodes vacuum tube that operated as a variable resistance. It is also
called or linear region. As already stated, this mode occurs when V DS ≤
V GS − V T . For this reason, the term V GS − V T is noted V DSat.
W KP
ID = · · V DS · (2 · (V GS − V T ) − V DS)
L 2
IG = 0
CHAPTER 19. MOS TRANSISTORS 114
IG = 0
W KP
IDOhmic = · · V DS · (2 · (V GS − V T ) − V DS) · (1 + λ · V DS)
L 2
At low VDS values and assuming a low value of λ, an equivalent resistance
can be dened:
dV DS L 1 1
RON = = . .
dID W KP V GS − V T − V DS
W KP 2
IDSaturated = · · (V GS − V T ) · (1 + λ · V DS)
L 2
In this expression,
19.4.4 An experiment
The goal is to demonstrate the relationship between bulk eect and transition
from ohmic mode to saturation mode.
CHAPTER 19. MOS TRANSISTORS 115
19.4.5 Noise
19.4.6 Matching
Mismatch mainly results from two parameters, VT and KP. Statistical im-
provement leads to:
∆V T AV T
σ =√
VT W ·L
and
∆KP AKP
σ =√
KP W ·L
Where AV T and AKP are usually expressed in %·m or % · µm.
19.5.1 Transconductance
∂ID W W
gm = = · KP · (V GS − V T ) = · KP · V DSat
∂V GS L L
This expression is useful for sizing.
Transconductance can also be expressed as a function of drain current for
the sake of comparison with the bipolar transistor:
W √
r
gm = 2 · KP · · ID
L
As the expression shows:
Figure 19.5:
1 W ·L
CIN = · ε0 · εR ·
3 T ox
1
V EARLY =
λ
The junction area is equal to the MOS W times the drain diusion width
w:
JA = W · w
The junction perimeter is equal to twice the MOS W and twice the drain
diusion width w:
JP = 2 · (W + w)
CJDB0 = CA · JA + CP · JP
Where CA is the capacitance per unit area and CP is the fringe capacitance
per unit perimeter.
In addition, as the Drain-Bulk is a reverse biased junction capacitance, it
depends on the junction voltage:
1
CJDB = CJDB0 ·
V BD M J
1− VJ
CHAPTER 19. MOS TRANSISTORS 117
1
f noise, varies as
√ 1
W ·L
.
19.8 Sizing
Sizing a MOS is choosing parameters W and L so that small signal parameters
meet the requirements.
W KP 2 W KP 2
ID = · · (V GS − V T ) = · · (V DSat)
L 2 L 2
Then:
V GS = V T + V DSat
W 2 · ID
= 2
L KP · (V DSat)
CHAPTER 19. MOS TRANSISTORS 118
Given the target current, the saturation voltage and the technological pa-
W
rameter KP, the MOS
L can be determined. The secondary parameters such
as matching or output resistance or input capacitance can be used to choose
W and L.19.7
W
gm = · KP · V DSat
L
Then:
V GS = V T + V DSat
W gm
=
L KP · V DSat
And, as a result, transconductor has to operate at drain current:
gm · V DSat
ID =
2
Given the target transconductance, the saturation voltage and the techno-
W
logical parameter KP, the MOS
L can be determined. The secondary param-
eters such as matching or output resistance or input capacitance can be used
to choose W and L.19.7
W 1
=
L RON.KP.(V GS − V T )
Common source
Common drain
Common gate
In addition, since the MOS has a fourth pin, a fourth basic conguration exists
involving the bulk:
Figure 19.6:
Figure 19.7:
Figure 19.8:
19.10.1 KP and VT
The most important parameters are KP and VT that appear in the basic MOS
transistor equations.
W KP 2 W KP
· V GS 2 − 2 · V GS · V T + V T 2
IDM ODEL = · ·(V GS − V T ) = ·
L 2 L 2
W KP
· = K2
L 2
W
− · KP · V T = K1
L
W KP
· · V T 2 = K0
L 2
Solving for KP and VT leads to:
K1
VT =−
2 · K2
2 · K0
KP = W
L · V T2
W
A convenient W and L set is
L = 1 which simplies a bit the calculation.
In order to avoid short channel eects that would give incorrect results, a good
choice is W = 10 µm and L = 10 µm or W = 1 µm and L = 1 µm for nodes
down to 130 nm.
A point of attention is choosing properly the VGS range for the polynomial
interpolation since the tting can be correct only above VT and within a limited
range. VDS for this extraction must be larger than VGS - VT.
A practical solution is to connect the MOS drain to the gate, to ground
the source and to force a current in the drain. Sweeping the current over three
decades ensures the dierent constraints are met:
V GS > V T
V DS > V GS − V T
The remaining question is about the current range to choose. The decades
from 0.1µA to 100 µA are normally suitable for a MOS with W = 10 µm and
L = 10 µm. This can be checked by comparing the simulated and modeled ID
vs. VGS curves.
So:
K2 = 6.031771E − 05
K1 = −8.103773E − 05
K0 = 2.719056E − 05
And then, from our formulas:
K1
VT =− = 671.76 mV
2 · K2
2 · K0
KP = W
= 120.51 µA · V −2
L · V T2
Now let's compare the simplied model and the simulation. Here are the
drain currents from the actual model and the simplied model versus VGS:
Matching looks pretty good, it is not so easy to see that there are two
curves.
Now, switching Y axis to log shows a dierence between the two curves
when VGS is close to VT.
This is normal since the simplied model does not take into account the
sub-threshold behavior while the BSIM3.3 for the transistor in the design kit
does.
These curves also show that the current range for the extraction is correct
as it is mainly located above the threshold but it includes the threshold. At
the other end, VGS does not exceed the valid range of 3 V in this case.
CHAPTER 19. MOS TRANSISTORS 122
Now, if we change the current range for the extraction to sweep from 1 µA
to 1000 µA, we notice that the VGS range reaches 6 V, far outside the valid
range and does no longer go below the threshold. The polynomial interpolation
in the spreadsheet is visibly not very good. The simplied model parameters
as extracted with the above formulas are both negative, which is not possible.
All this indicates that the current range is incorrect.
The key of this extraction method is choosing properly the current range.
Fortunately, it is quite easy to compare the simplied model and the simulation
to validate the current range and the result. Just as stated all along this book,
any result always has to be checked!
19.10.2 Tox
This parameter is normally directly accessible as it exists in most models.
However, if the data are encrypted, it might be necessary to extract it.
19.10.3 Lambda
This parameter denes the output resistance. Measuring output resistance for
a given current gives λvalue easily.
values and tting the curve by playing on Gamma and Phi is the basic method
for extracting these parameters.
As developed in their respective chapters, the bipolar and the MOS transistor
share many characteristics in common at least in the current source region:
The main dierence is that the bipolar has a nite input resistance while it is
innite for the MOS.
So, in fact, we can use the same equivalent schematic for both the bipolar
and the MOS transconductor and ignore the input resistance if it is used to
represent a MOS:
The input series resistance is noted RPI and stands for the bipolar RB
or the MOS RG which is negligible in most cases.
The input capacitance is noted CPI and stands for the bipolar CBE or
the MOS CGS.
The output resistance is noted RO and stands for both the bipolar and
the MOS RO.
The output capacitance is noted CO and stands for the bipolar CCS or
the MOS CDB.
The Miller capacitance is noted CM and stands for the bipolar CBC or
the MOS CGD.
Figure 20.1:
124
CHAPTER 20. COMMON CHARACTERISTICS OF BIPOLAR AND
MOS TRANSISTORS 125
The transconductance is noted gm and stands for both the bipolar and
the MOS gm.
Chapter 21
Resistors
21.1 Symbols
There are mainly three symbols for resistors:
21.2 Layout
Standard resistors are rectangular with a body and connections through con-
tacts at each end:
In order to t within acceptable dimensions, very long resistors may be
drawn with more complex shapes such as L, U, S or W:
These resistor types will be discussed later on.
Figure 21.2:
Figure 21.3:
126
CHAPTER 21. RESISTORS 127
Bulk resistors made from doped monocrystaline silicon inside the die
itself.
Poly-silicon resistors made from doped polycrystalline silicon over the die
in oxide.
In all the gures below, only the nal and simplied resistor structure is shown,
no details are given on process.
21.4 Model
21.4.1 Basic equation
The model for a resistor is essentially the Ohm's law.
U =R·I
2
R (T ) = R (T ref ) · 1 + T C1 · (T − T ref ) + T C2 · (T − T ref )
L
R=ρ·
S
This expression shows three parameters: ρ, L and S
S =W ·T
ρ L
R= ·
T W
This expression is the product of two terms
CHAPTER 21. RESISTORS 129
ρ
T is called sheet resistance. It is expressed in ohms per square as it
is the resistance of a square resistor for which L=W.
L
W is called the number of squares. It has no unit. It is equivalent
to the number of square resistors connected in series. When ratio is
smaller than 1 is can be considered as the inverse of the number of
square resistors connected in parallel.
If several resistors with same width and various length are implemented in a
circuit and measured, expected values from above formula should t a linear
law. However, measured data show an ane law with a slope and an oset:
The oset can be considered as the resistance of a zero length body resistor.
What can this mean? It means that some extra resistance exists that does not
lie in the resistor body. It is usual to call this extra resistance Head resistance
as it is located at each end of the resistor. In the example above, the body
resistance is given by the slope and the length, the head resistance at each end
is half the oset. Here, the body resistance is 100 Ω per unit length and the
head resistance is 50 Ω at each end for a total 100 Ω.
The head resistance results from two eects:
A geometrical eect:
CHAPTER 21. RESISTORS 130
This gure shows a resistor with two connections on the upper side. Con-
stant voltage surfaces are plotted every 10% of the total voltage. Current ows
perpendicularly to these surfaces. There is clearly an eect around the connec-
tions as they do not use the full body width and they are located on the top
forcing the current lines to bend. This eect generates some extra resistance.
A technological eect
Figure 21.8:
Figure 21.9:
some of the doping from the body creating a higher resistivity thin
layer at the interface.
These two eects combine to create the head resistance. Practically, this head
resistance is not completely correlated with the body resistance as it results
from dierent process steps. Head and body resistances usually exhibit dierent
temperature coecients. As a consequence, if two resistors have to be created
with an accurate ratio, playing with the body length is usually not a robust
solution: In this case, the ratio is aected by process tolerances and it depends
on temperature. The only solution for the resistor ratio to be accurate is that
the body and head contributions are the same for the two resistors. The only
practical approach is connecting a number of identical elementary resistor in
series-parallel combinations for implementing each of the two resistors. This
method suers from an area penalty but achieves a process and temperature
independent accurate resistor ratio.
21.6.3 Modeling
Parasitic capacitance is distributed along the resistor body. The impedance
versus frequency of a capacitance distributed along a resistance with the other
pin grounded is:
At rst sight, this looks like a parallel R-C cell. This can be modeled as a
π equivalent circuit. Impedance versus frequency compared to the distributed
capacitance:
If we compare characteristics we notice that the model is acceptable up to
a frequency about xxx.
Above this frequency, we have to switch to a two cells model:
This model is reasonably accurate up to xxx.
Above, more cells are required
CHAPTER 21. RESISTORS 132
21.7 Linearity
Resistors are supposed to be linear as Ohm's law states. However, various
phenomenon aect this linear behavior and create some non linearity.
21.8 Tolerances
21.8.1 Absolute values
The absolute value of a resistor depends on its length, width, thickness and
resistivity. Each of this four parameters suers from manufacturing tolerances
so that nally integrated resistors are not accurate. Tolerance on absolute can
be as bad as ±20 % or even ±30 %.
21.8.2 Matching
Two identical resistors close to each other in the same silicon die suer together
the tolerance on absolute value from the process. However, even if their ab-
solute value is inaccurate, their relative values are far more accurate. ±1 %
is very standard, ±0.1 % is achievable. Because width and length are perpen-
dicular to each other, they suer uncorrelated tolerances. For that reason, no
matching can be granted for two resistors that are not parallel.
Here again, a dierence exists between bulk and poly-silicon resistors. Ox-
ide thermal conductivity is about 100 times lower than silicon thermal con-
ductivity. Actual thermal resistance can only be simulated with a 3D thermal
simulator. However, as a rule of thumb, we can state that poly-silicon resistors
can dissipate 100 times less power than bulk resistors for the same size and
the same temperature increase. Special mention for SOI processes in which an
oxide buried layer can signicantly increase thermal resistance.
For plastic package, part of the heat ows through the chip silicon sub-
strate and part of it ows through top oxide, passivation and package.
For cavity packages, heat ows mostly through the chip silicon substrate.
Upper ow through cavity gas is negligible.
In the examples hereafter, heat will be considered to ow only through chip
substrate.
CHAPTER 21. RESISTORS 133
Here, 1% of the total temperature dierence takes place between the back
side and the spherical surface. So, 99% of thermal resistance is located between
spherical surface and resistor body at the left front top corner.
CHAPTER 21. RESISTORS 134
Here, 10% of the total temperature dierence takes place between the back
side and the spherical surface. So 90% of the thermal resistance is located
between spherical surface and resistor body at the left front top corner.
Figure 21.12:
4
V1= · π.R13 = 250.2E − 18 m3
3
This value looks reasonable compared to actual resistor body volume (100E-
18). Ratio is 2.5 and can be explained by the fact the resistor body is very
thin, so it is far from a spherical form factor. Considering equivalent radius
as extracted from actual resistor body volume assuming is spherical leads to a
value that is usually smaller than actual equivalent radius. Thermal resistance
calculation based on this simple assumption is pessimistic (too high) but can
be used as a clue if no thermal simulator is available.
It can be noted that the Finite Elements Method can simulate more complex
situations such as SOI substrate and plastic packaging.
If the resistor is long, constant temperature surfaces inside silicon are cylinders
halves with one sphere quarter at each end very quickly as distance to resistor
body increases:
The thermal resistance between two cylinder halves of length L and radius
R1 and R2 (R2 > R1) is 48.9:
1 R2
Rth1 = · ln
γ·π·L R1
This thermal resistance is in parallel with that of the two sphere quarter:
1
Rth = 1 1
Rth1 + Rth2
1
Rth = γ·π·L γ·2·π
ln R2
+
R1 ( R1
1 1
− R2 )
CHAPTER 21. RESISTORS 136
21.9.2.1 Example
21.10 Misalignment
Components geometries in ICs are dened by photo-lithography involving dif-
ferent steps. At each step, the pattern dening one dimension is positioned
with respect to patterns dened at earlier steps. This positioning suers from
tolerances that lead to the so called Misalignment that involves three param-
eters:
X axis misalignment
Y axis misalignment
Angular misalignment
21.10.1 X Y Misalignment
If a component geometry is dened by only one lithography step, it does not
suers from misalignment. If a component geometry is dened by two lithog-
raphy steps, it may suer from misalignment. The impact of misalignment
depends on the component shape and size.
For a resistor, the geometry parameters are the length and the width that
are usually dened by two lithography steps:
A U shaped resistor width is dened by one layer but the length is dened
by the positioning of the layer dening the length with respect to the resistor
body. When this position changes, the resistor value changes. This is one of the
reasons why resistors are usually single branch rectangular objects. Another
reason is that the simpler the object is, the simpler the generator used in layout
tools is.
CHAPTER 21. RESISTORS 138
° °
Numeric simulations can give some insight. Again, EZMod3D solver was
used to compare two angles: 0 and 1 (huge angle, much more than what is
°
found on a wafer). Here is a 3D view of an arbitrary geometry resistance with
heads exhibiting an angular misalignment of 1 :
CHAPTER 21. RESISTORS 139
°
R(0 ) = 5267.954
°
R(1 ) = 5261.716
21.11 Gradients
Two kinds of gradients can aect resistors:
Technological gradients
Temperature gradients
Because of the systematic gradient, two resistors located side by side may not
have the same value.
CHAPTER 21. RESISTORS 140
dR
∆R = ·D
dx
where D is the distance between the resistors:
If four identical resistors are used instead of two, connecting the outer ones
in series to form the rst element and the inner ones in series to form the
second element, calling R1 to R4 the four resistors, p the resistors pitch and
considering R1 at position x = 0:
Figure 21.17:
dR
R2 = R1 + ·p
dx
dR
R3 = R1 + ·2·p
dx
dR
R4 = R1 + ·3·p
dx
CHAPTER 21. RESISTORS 141
Then:
dR
R1 + R4 = 2 · R1 + ·3·p
dx
dR
R2 + R3 = 2 · R1 + · 3 · p = R1 + R4
dx
The gradient is canceled!
If the gradient is not in the x direction, it does not matter. The actual
gradient can be split in two terms, one along x and one in the perpendicular
direction y. As the resistors are aligned in y, only the gradient along x accounts
and we are back to the previous situation.
21.12 Dummies
An additional technological phenomenon can aect resistor values. When a
group of identical resistors is created, they are usually spaced evenly and lo-
cated close to each other to minimize silicon area. During the resistor body
etching, the local amount of material to be removed slightly aects the etching
speed. In particular, resistors at the end of the row are not etched exactly as
the other ones and nally their value are slightly dierent. In order to prevent
or reduce this eect, one or two so called dummies are added at each end of
the row. These are just identical resistors with the same spacing but they are
not connected. Their value is not very accurate because of etching eects but
it does not matter. The last used resistor, as it is in the same environment as
the other ones does not suer the etching eect and is just as accurate as the
other ones.
CHAPTER 21. RESISTORS 142
Figure 21.19:
Parasitic diodes for bulk resistors and parasitic capacitors for poly resis-
tors.
Non-linearity.
Example
Capacitors
22.1 Symbols
There are mainly three symbols for capacitors:
22.2 Layout
There are various types of integrated capacitors:
MOS capacitors
POLY / N+ capacitors
POLY-POLY capacitors
MIM capacitors
MOM capacitors
143
CHAPTER 22. CAPACITORS 144
t
1
V (t) = V 0 + I (t) · dt
C 0
1. Let's measure the capacitance of a square piece of double sided FR4 PCB
material 10 cm (about 4 inches) side with untouched copper. Capacitance
value between the two copper planes is around 240 pF. Then, let's mea-
sure the capacitance of a smaller piece measuring 1 cm by 10 cm (about
0.4 inch by 4 inches). Capacitance value between the two copper planes
is around 25 pF.
2. Now, let's plot the measured capacitance value versus the PCB width:
2.50E-010
2.00E-010
Capacitance (F)
1.50E-010
1.00E-010
5.00E-011
0.00E+000
0 20 40 60 80 100 120
Width (mm)
To answer these questions, let's ask another question: Where is located the
Well, the answer is simple, it extends to the entire universe! Of course the
contribution to the capacitance gets lower and lower as distance increases as the
electrostatic simulation plot shows. In addition, depending on signal frequency,
propagation in space around capacitor does transform impedance that is no
longer a capacitance! So, the capacitance is mainly located between the two
copper planes, but also outside. The oset capacitance that would exist if the
planes width would tend to zero is in fact the outside capacitance also known as
fringe capacitance. This capacitance does exist. It is proportional to the planes
perimeter BUT IT IS NOT LOCATED ON THE PERIMETER. It exists only
if the electric eld can extend around the planes. A rule of thumb is that
extension that contributes signicantly to the capacitance is located within a
distance once to twice the distance between the planes. This is visible on the
electrostatic simulation plot. Why is that concept not obvious? May be because
CHAPTER 22. CAPACITORS 148
the current behavior is more intuitive to us than the potential behavior, but
also because of the range the relative permittivity can cover compared to the
range the resistivity can cover. The same phenomenon exists in a current ows
in a resistor. Most of the current ows inside the resistor but some current ows
around in the air and some current can reach the moon and much further. But
not much!
It must also be kept in mind that for a coupling capacitor, choosing if parasitic
capacitance is connected on input or output has an impact on voltage gain:
If parasitic is on input side, there is no impact on gain, if on output, a
capacitive divider takes place.
22.10 Tolerances
In integrated circuits, tolerances for capacitors are about +/- 20% for the ab-
solute value and +/- 1% and below for matching. Achieving good matching
requires that both area and perimeter are matched because of fringe capaci-
tance.
22.11 Gradients
22.12 Dummies
22.13 Improvements
As mentioned, integrated capacitors have parasitic capacitance on the bottom
electrode. In dierential designs, balanced capacitors are required. Such a
capacitor can be implemented by splitting in in two identical capacitors of half
the total capacitance each and connecting them in parallel head to foot.
Parasitic capacitance
Non-linearity
Series resistance
Temperature coecient
CHAPTER 22. CAPACITORS 151
Inductors
152
Chapter 24
ESD devices
Electronic components size has been reducing for decades from the rst dis-
crete components to the latest integrated ones. On the other hand, electrostatic
charges such as those we all experience when the air is dry have not changed
with time. The amount of energy ESD carry is signicant and when it is
dissipated in a device, the temperature rise depends on the device thermal ca-
pacitance. As devices got smaller and smaller, it happened that the ESD energy
became sucient to destroy the devices. In addition, devices were originally
junction based and as such, they were capable of handling the ESD current,
either in forward conduction or in reverse conduction through avalanche. But
when MOS devices appeared, gates, as completely isolated, brought new con-
cerns as they are not able to survive the ESD current that can ow only by
a destructive eect. There are then, two major reasons for adding protection
devices in ICs:
Small active devices cannot dissipate the ESD power without being de-
stroyed
ESD devices are basically diodes or equivalent devices that are normally o
and that turn on if voltage on a pin exceeds the supply voltage. Two devices
are required on each pin as ESD polarity is unknown and one diode can handle
only one polarity.
In addition to the diodes limiting the voltage about 1 V above the positive
supply and 1 V below the negative supply. But when the device is not connected
to a supply, additional devices are required to limit the voltage between the
supply rails.
ESD devices must be sized to handle the surge currents that can be large.
Three dierent standards exist to characterize the ESD sensitivity of ICs:
153
CHAPTER 24. ESD DEVICES 154
As expected:
CHAPTER 24. ESD DEVICES 155
The standard denes that each pin is tested with respect to relevant supply
pins. Discharge is applied 3 times in each polarity. Levels are specied in
kilo-volts. Usual values are 2 kV, 4 kV. For peripheral circuits, level can be as
high as 16 kV.
A device is said to be HBM 4 kV compliant for instance if it survives the
test sequence on all pins with a capacitor charged at 4 kV.
Parasitic components
A breakdown voltage that can range from some volts to tens of volts.
I.R drops
157
CHAPTER 25. PARASITIC COMPONENTS 158
This calculation shows that the voltage drop at the last source varies quadrat-
ically with the number of sources. It is then always a good practice to have
the ground connection in the middle of the block. This divides N by two and
divides the voltage drop by 4.
Imagine current owing in a metal line and then through vias to reach another
metal layer. Usually, several vias are used to improve manufacturing yield and
to reduce series resistance. The vias are arranged in a matrix between the two
metal layers. That matrix is organized in M rows and N columns. In order to
demonstrate the point, let's choose rst M=1. The N vias can be distributed
either along the current ow direction or perpendicular to that direction.
Let's consider the case where vias are distributed along the current direc-
tion. This situation can be modeled as:
Figure 25.4:
CHAPTER 25. PARASITIC COMPONENTS 159
Figure 25.5:
Figure 25.6:
The horizontal resistors gure the metal layers resistance while the vertical
resistors gure the vias resistance.
Let's now simulate this circuit with a given current. What about the current
in the dierent vias? Any idea before looking at the simulation result?
The following plot shows the via current with respect to via number.
This very simple circuit shows that the current is not evenly distributed.
25.2.3 Conclusion
Parasitic resistance can have a signicant impact on circuits behavior and per-
formances. Today, most design tools can extract parasitic resistance and the
eects can be simulated. It is important to look in details at the simulation
results. Some eects are clearly visible, other eects are much more subtle and
require true attention.
It is strongly suggested to think about parasitic resistance during design
and more specically during layout. Parasitic extraction can show the issue,
this is good news, but the job has to be done again and this is bad news.
Figure 25.7:
In this case, only the mix of area and fringe capacitances can be checked.
Figure 25.8:
Figure 25.9:
If no data are supplied by the silicon manufacturer, the most secure ap-
proach is to implement the various parasitic MOS transistors in a test circuit
and to measure their threshold voltages.
The substrate is made from silicon for most products even though some
other possibilities exist such as gallium arsenide for very high frequency
applications or silicon carbide for very high temperature and radiation
hardened applications. Silicon On Insulator (SOI) can be used for some
high performance applications. In all but the SOI circuits, components
are isolated from each other by reverse biased diodes. In SOI, isolation
is performed by a dielectric layer.
All the components have then a parasitic capacitance to the substrate. This
does not really mean a parasitic capacitance to ground as it is the case on a
PCB with a ground plane. The reason for that is that substrate resistivity
is much higher than copper resistivity. So, all the parasitic capacitances in
fact connect to a resistive network that is connected to ground at some places.
This resistive network causes coupling between cells that are supposed to be
independent.
There is no general approach to the substrate coupling issue. However, in
any case, coupling is a three steps process:
Quotes are used since any cell can be both a generators and a receiver.
162
CHAPTER 26. SUBSTRATE RELATED ISSUES 163
DC coupled signals
AC coupled signals
Proportional to frequency.
There is not much to do with these parameters but the best must be done.
Probably the best solution is to choose a dierential structure. When two
signals of opposite phase inject in the substrate, the sum is theoretically zero.
This is not true practically as the two signals cannot be located exactly at the
same place and parasitic capacitances are not perfectly matched. However,
injected signal is signicantly reduced, often by an order of magnitude.
For routing parasitic capacitance, dierential signals inject less current.
In addition, a shielding by the rst metal layer or by poly can improve the
situation.
Use of shielding for signal routing lines. Long signal lines should be
routed in metal 2 while a metal 1 shield should connect to the common
mode reference potential.
Time constants range from tens of microseconds for a 100 mA capable device
to tens of milliseconds for a functional cell. They reach seconds for an entire
chip and tens of seconds for a large chip.
Chapter 27
Package considerations
In some applications, especially for very high volume very low cost, bare dice
are bonded directly on the PCB, but most ICs are used in a package that
interfaces the silicon die with the application PCB.
Experience has showed that simulating a circuit with series inductance requires
limiting Q factor in order to get reasonable simulation times or to prevent non
convergence. Connecting a 30 to 100 ohms in parallel to the several nanohenrys
inductance is a real must. If this resistor is not present in the package model,
it is strongly recommended to add it.
If no package model is available, a simplied one can be built using the
assumptions above. Capacitances can be extracted with a 3D simulator if
available. Inductance values can be estimated from wires and pins lengths
withe the rule of thumb of 1 nH/mm. Coupling between inductors is much
more tricky to guess and require 3D extraction.
165
CHAPTER 27. PACKAGE CONSIDERATIONS 166
PCB considerations
Mechanical
Thermal
Electrical
For lead-less packages, if the PCB is bended, the solders are stressed and
may crack. Packages with leads handle this stress by transferring the
constraints to the exible leads.
There is nothing to do in the designer's job with these issues, except may be
being aware and inuence the package selection when this kind of stress is
specied.
167
CHAPTER 28. PCB CONSIDERATIONS 168
Test considerations
Most silicon chips are packaged, but in some cases, chips are assembled in a
module or directly on a PCB. In any case, again the manufacturing process
yiels is not 100%.
For packages, test is very similar to chip test, only dierence is mechanical
interface. For modules or boards, test is specic and requires access points and
dedicated hardware.
But if a feature or a performance is not tested, the chip is bad and the test
does not reject it. One point of attention is that, the more robust the design
is, the more dicult the test is. When a cell is robust, even components with
degraded behavior do not impair operation. Such parts are prone to fail in the
eld but hard to detect during test unless special attention is paid, such as
pushing a cell to fault and measuring the eort it takes to do so.
169
CHAPTER 29. TEST CONSIDERATIONS 170
Test of mixed signal circuits require programming to set the circuit in suitable
test modes. In turn, this requires that the integrated control circuit works ne.
Before starting testing a chip, it must granted that the chip is properly con-
nected. This is particularly true for wafer probing where contacts have to be
checked.
Continuity checks: Since all pins normally have ESD protection devices,
checking these devices characteristics is a good indication that circuit pin
is connected to tester.
Digital test: Applying suitable patterns and activating the embedded test
circuitry allows validating the digital section.
In the rst case, a large multiplexer with control logic connects test pins to
internal signals to be observed or controlled. In the second case, each reasonable
size cell in the circuit gets its own multiplexer and control logic. Distributed test
is much more exible and can be extended during design with only local impact.
It avoids the central multiplexer bottleneck and limits parasitic coupling. In
case a cell with embedded test is used two or more times in the circuit, test
hardware automatically expands.
Chapter 30
Reliability
Oxide stress
Interconnections stress
Hot carriers
In this chapter, we don't consider surge events induced failures such as ESD,
or latch-up.
The failure rate depends on the current density and temperature according to
the following laws:
171
Chapter 31
These building blocks are simple transistor arrangements that have a particular
behavior that results from their topologies and from the transistor behavior and
performances that depend on sizing. Probably as much as 90% of integrated
circuitry is build from these basic building blocks. These basic building blocks
are:
Current mirrors
Dierential pairs
Voltage follower
If the transistor would draw less than the forced input current, input
voltage would increase causing output current to increase.
If the transistor would draw more than the forced input current, input
voltage would decrease causing output current to decrease.
172
CHAPTER 31. BASIC INTEGRATED BUILDING BLOCKS 173
Schematics are drawn for NPN and NMOS. For PNP and PMOS, principle
is the same, polarity is opposite.
The feedback permanently adjusts the transistor input voltage so that its
output current equals the forced input current. If a second transistor would be
driven with the same input voltage, it would generate the same output current.
This is the principle of the current mirror.
k·T IC1
V BE1 = · ln
q IS1
V BE2 = V BE1
!
V BE2 IS2
IC2 = IS2 · exp k·T
= IC1 ·
q
IS1
Structural error
2
IC1 = IIN − IB1 − IB2 ' IIN · 1 −
β
2
The basic bipolar mirror structural error term is ε=
β . It must be noted
that if the mirror has more than one output, the structural error term is in-
N +1
creased. For N identical outputs, the structural error term is ε = . If
β
outputs are not all equal, the error term is more complex. Let's state that
there are N outputs and that output i has a current ratio ki with respect to
input. Then, the structural error term is:
N
1 X ki
ε= +
β i=1 β
Assuming that β is the same for all the transistor which is normally true
as they all operate at the same current density.
Structural error The major dierence with the bipolar mirror is that since
the gate current is negligible, there is no structural error term even if the
number of outputs is large.
Random error Just as for the bipolar mirror, a random error exists.
Figure 31.5:
Figure 31.6:
Figure 31.7:
W 2 · ID
=
L KP · V sat2
Bandwidth
The bandwidth, for both the bipolar and the MOS versions.
Output resistance
Matching
If output voltage increases, because of the nite output resistance, the out-
put current increases. But then, the current in the resistor increases and the
voltage drop in the resistor increases. Then the base-emitter / gate-source
voltage decreases and this in turn reduces the current. This feedback eect in-
creases the output resistance. The eect on matching results from the fact that
integrated resistors can be easily made more accurate that transistors without
being very large. If the voltage drop in the resistors is large, current matching
mainly results from resistors mismatch.
CHAPTER 31. BASIC INTEGRATED BUILDING BLOCKS 176
Figure 31.8:
For bipolar circuits this is true as if one output would not be completely
o, it would draw some base current that would normally be larger than
the input leakage. As a result, that would turn o the mirrors.
For MOS circuits, when the input current is turned o and only leakage
is fed in the input, the VGS decreases. As the VGS decreases, the diode
connected MOS current decreases too until it reaches the input leakage
level. This occurs for a given non zero VGS. Output MOS transistors
exhibit some VT mismatch with the diode MOS so they may have some
drain current. Additional issue is that output currents turn o quite
slowly.
A concern with this matter is that simulation may not show it precisely. It
must be checked very carefully. A good practice is to force 1 nA or so in the
input and perform some Monte-Carlo runs to check the eect. During such
analysis, the designer should mind the simulator gmin parameter that can hide
the eect. The gmin value should be set to a suitable value, down to 1E-16 or
so.
The safe method to turn o a MOS mirror is not only to turn o the input
current but also to short the gate bus to the common rail with a switch that
is turned on when the mirror has to be switched o. Then, the input leakage
creates a negligible voltage drop across the switch and the mirrors cannot draw
any signicant current. Another benet of this structure is a very fast turn
o time. To start the mirror, the shorting switch must be turned o while the
mirror input current is turned on.
CHAPTER 31. BASIC INTEGRATED BUILDING BLOCKS 177
When an analog designer is asked how many analog cells can exist, the answer is
often a large but very inaccurate number... But when the same analog designer
is asked to list analog functions, he has hard time nding more than 15...
Let's make an attempt to dene a list of analog functions. First of all, we
may dene two classes:
The signal modiers. These blocks have a supply, of course, an input and
an output. The output depends on the input.
DC signal generators
Voltage generators
Current generators
178
CHAPTER 32. TENTATIVE ANALOG FUNCTIONS CLASSIFICATION
179
Ampliers
Filters
Modulators
Demodulators
32.2.1 Ampliers
This is probably the most common category. There are many types of ampliers
dened either by their bandwidth or by their architecture or by some particular
feature.
32.2.2 Filters
Filtering is a very common way of improving signal to spurious ratio.
V = A · sin (2 · π · f · t + ϕ) + B
A is signal amplitude
B is signal oset
f is signal frequency
ϕ is signal phase
A square wave is dened by its amplitude, its frequency and its duty cycle.
Any of these parameters can be modulated.
Design Examples
181
Chapter 33
√
V OU T = V IN
V OU T √
= V IN
A
1
Where A is a dimensional constant. A = 1V 2
V OU T 2
= V IN
A2
A very common approach when a circuit must achieve such a condition is
to rewrite the equation in another way:
V OU T 2
− V IN = 0
A2
or
V OU T 2
V IN − =0
A2
When a dierence must be equal to zero, a very common implementation
is to create a loop with a large gain so that the input dierence is constantly
kept very small.
182
CHAPTER 33. SQUARE ROOT CIRCUIT 183
If amplier has gain G and oset VIO, this circuit operation can be written
as:
V OU T 2
V OU T = G · V IN − + V IO
A2
√
−A2 ± A4 + 4 · A2 · G2 · V IN + 4 · A2 · G2 · V IO
V OU T =
2·G
Which can be simplied, assuming VOUT is positive:
√
−A2 + A4 + 4 · A2 · G2 · V IN + 4 · A2 · G2 · V IO
V OU T =
2·G
It can be checked that if G is large and VIO is small:
√
V OU T ' A. V IN
√ √
√ −A2 + A4 + 4 · A2 · G2 · V IN + 4 · A2 · G2 · V IO − 2 · A · G · V IN
ε = V OU T −A· V IN =
2·G
It can be checked that the error is expressed in volt and that the formula
is consistent to volts.
We need two equations to solve in order to calculate the two sizable parameters.
So our specication so far is not sucient to size the circuit. We need two
specication items related to accuracy.
1. The error can be mentally separated in two terms, one that applies when
input is zero, one that depends on input voltage.
V IN = 0
For :
√
−A2 + A4 + 4 · A2 · G2 · V IO
ε0 = V OU T =
2·G
√ −A2
εmax = V OU T − A. V IN =
2·G
Error at zero input ε0.It is required to size the oset provided the fact
the gain has been sized.
Chapter 34
This is a very common stage, but here we will address its sizing using the de-
pendency graph method to demonstrate it. This method is helpful in situations
where there are many variables to size.
Schematic shows a number of parameters. Some of these come from speci-
cation:
Load capacitance
Bandwidth
VT and KP
MOS W and L
185
CHAPTER 34. MOS VOLTAGE FOLLOWER 186
KP, VT
CGS
W, L
gm
VIN
IBIAS CLOAD
Constant gm cell
35.3 Solution
If two trans-conductors with sizes 1 and M are biased at the same current I:
Now if the arrangement is such that:
Then
and
Now some general math properties:
and
To be continued. . . 1.3 Application
187
Chapter 36
The band gap reference idea was created by Bob Widlar. The beauty of this
concept is that it is based on an intrinsic material property, not on a process
parameter.
188
CHAPTER 36. BAND-GAP REFERENCE VOLTAGE GENERATOR 189
The two branches version The initial Brockaw version uses two branches
for the reference and error amplier
The three branches version This is a modied version with a third branch
that both increases loop gain and reduces structural error.
Architectures summing up voltages are not suited for low voltage operation
since they result in a 1.2 V value for zero temperature coecient. This was the
major reason for developing current based architectures.
Z1
V out · 1 + = V in − Z1 · Iout
Z2
V in − Z1 · Iout
V out = Z1
1 + Z2
If only impedance Z1 is controlled, the regulator is said to be series type.
If only impedance Z2 is controlled, the regulator is said to be shunt type. If
both are controlled, regulator is said to be compound type. These regulator
types have intrinsic properties. Let's review some of these characteristics.
37.1 Eciency
Load power can vary from P min = V out · Imin to P max = V out · Imax
Figure 37.1:
190
CHAPTER 37. LINEAR VOLTAGE REGULATOR 191
A shunt or a compound regulator can source and sink current for a given
output voltage. They are two quadrants regulators.
For the compound regulator, if impedance Z2 connects to another voltage
source with opposite sign to Vin, the regulator is a four quandrant one, capable
of sourcing or sinking current from a positive or negative voltage.
Sigma-Delta Modulator
1.755
1.754
1.754
1.754
1.754
1.755
1.754
1.754
1.755
1.754
One can just think display is unstable. But one can analyze the data and
gure out that value 1.754 appears 70% of time and value 1.755 30% of time.
Intuitively, one can feel that actual value is closer to 1.754. One can easily
compute the average of these ten measurements. It can be said that 1.7543 is
the most probable measurement value.
192
CHAPTER 38. SIGMA-DELTA MODULATOR 193
Any oset may end up saturating the receiver integrator. This does
require periodic reset.
Figure 38.2:
The integrator can be initialized while input is forced to zero, but the oset
issue is still a concern.
Since the two integrators and the dierence amplier are linear functions,
they can be swapped and then only one integrator is required!
No more saturation!
X1
X2
VSIN In+ INT X6
Out In+
In- D Q
X4 In-
CLK
VCLK
X5
X3
FB Aout Din
1 bit DAC
Comparator
D ip-op
Loop gain is the product of all four blocks transfer functions, taking into ac-
count the fact that loop closes on integrator negative input.
38.3.2 Comparator
Comparator transfer function is more unusual. Output peak to peak is con-
stant, 1 without dimension, while input peak to peak can be anything provided
the fact it crossed zero. In addition, comparator adds some delay tdc. Then,
1 −tdc.s
comparator transfer function writes: Hcomp(s) = VP P (IN T ) .e . This
−1
transfer function dimension is V as required.
At this point, we have no idea about Vpp(INT) but we can say that in a
given situation, doubling integrator time constant divides Vpp(INT) by two.
A −tdc.s
In other words: Hint(s).Hcomp(s) = s .e where A is some constant with
dimension is V .s−1 .
−1
38.3.3 D ip-op
D ip-op transfer function is even more unusual. Output peak to peak, 1
without dimension is equal to input peak to peak. Gain module is 1. Phase
is a bit more tricky: If D changes just before clock edge, delay is negligible.
If D changes just after clock edge, delay is one clock period (assuming in-
put frequency is smaller than clock frequency). On average, since ether is no
phase relationship between D and CLK, delay is half a clock period. D ip-
s
op transfer function writes: Hdf f (s) = e− 2.F CLK . This transfer function is
dimensionless as required.
An integrator:
1
s
The only possible frequency is value FOSC such that total delay causes a
π
phase shift so that total phase is 2.π . This means that total delay must be
2
equal to one quarter of FOSC period:
1 1
tdc + tdd + =
2.F CLK 4.F OSC
Then:
1
F OSC = 1
4.(tdc + tdd + 2.F CLK )
If propagation delays in comparator and D ip-op are much shorter than clock
period and are neglected:
F CLK
F OSC '
2
Finally, if loop gain is large enough, loop is unstable and oscillates at half the
clock frequency. If no signal is applied at input, output should be a square
F CLK
wave at .
2
This example shows that small signal analysis can be used to predict some
behavior of a non linear mixed signal system. Now, it's time to implement this
modulator so as to simulate it.
38.4 Implementation
In order to simulate the modulator operation, LTSPICE can be used. We'll
now detail how the building blocks are made. The goal is that anyone can run
this experiment since LTSPICE is a free tool.
Out
G1 C1
In+
In- {T}
1
X1
In+
Out
In-
T=10E-6
38.4.2 Comparator
Comparator uses LTSPICE behavioral voltage source with function u(x) that
generates a unity step at x=0. Some gain in front somewhat improves switch-
ing.
CHAPTER 38. SIGMA-DELTA MODULATOR 198
DIFF OUT
E1 B1
In+
In-
1000 V=u(V(DIFF))
38.4.3 D Flip-op
D ip-op uses just LTSPICE digital dop. For simplicity, set and reset pins
are forced inactive, inverted output is dropped and digital levels are referred
to ground.
A1
PRE
D D Q Q
CLK CLK Q
CLR
38.5 Simulation
Simulation requires some sizing. Here are the parameters:
Aout
E1
Din
{2*fs}
V1
{-fs}
1.4V
1.2V
1.0V
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
V(out)
1.5V
1.4V
1.3V
1.2V
1.1V
1.0V
0.9V
0.8V
0.7V
0.6V
0.5V
0.4V
0.3V
0.2V
0.1V
0.0V
-0.1V
-0.2V
-0.3V
-0.4V
-0.5V
Figure 38.11: Single bit First Order Sigma-Delta modulator oscillation Feed-
back
V(clk)
1.6V
1.4V
1.2V
1.0V
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
V(fb)
1.2V
1.0V
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
-0.8V
-1.0V
-1.2V
Feedback signal is obviously at the same frequency as output signal but its
values range from -FS to + FS, here ±1V . Note that average value is 0V, the
input value.
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
-0.8V
-1.0V
V(fb)
1.2V
1.0V
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
-0.8V
-1.0V
-1.2V
Feedback signal frequency and duty cycle vary with signal value while the
loop tries to minimize dierence between input and feedback. It cannot do it
exactly since feedback has only two values but it does it as well as possible, on
average. Here are input signal and low pass ltered output signal:
CHAPTER 38. SIGMA-DELTA MODULATOR 201
Figure 38.13: Single bit First Order Sigma-Delta modulator input and ltered
feedback
V(in) V(lpf_fb)
1.0V
0.8V
0.6V
0.4V
0.2V
0.0V
-0.2V
-0.4V
-0.6V
-0.8V
-1.0V
Filtered feedback signal looks pretty much like input with a slight atten-
uation and a signicant phase lag. Now, if we look at ltered feedback and
ltered input using the same lter:
Figure 38.14: Single bit First Order Sigma-Delta modulator ltered input and
feedback
V(lpf_fb) V(lpf_in)
800mV
600mV
400mV
200mV
0mV
-200mV
-400mV
-600mV
-800mV
The two signals are very similar. In fact, both attenuation and phase lag
are caused by the lter. At most can we see some residual high frequency
dierence near the top and bottom of signal.
So, here we are: The modulator oscillates but it's output bit stream low-
pass ltered value is a good image of input signal value.
160mV
120mV
80mV
40mV
0mV
-40mV
-80mV
-120mV
-160mV
-200mV
0.0ms 0.1ms 0.2ms 0.3ms 0.4ms 0.5ms 0.6ms 0.7ms 0.8ms 0.9ms 1.0ms
-30dB
-40dB
-50dB
-60dB
-70dB
-80dB
-90dB
-100dB
-110dB
-120dB
-130dB
-140dB
30KHz 60KHz 90KHz 120KHz 150KHz 180KHz 210KHz 240KHz 270KHz 300KHz
In this spectrum, we can clearly see the 2 kHz signal near the left side
(mind the linear horizontal scale), and the entire spectrum looks more or less
like white noise. In fact, the loop tries to make feedback equal to input, but
it can't since feedback has only two values and changes only on clock edges.
Sometimes feedback is higher than input, sometimes lower and this occurs ran-
domly. Ultimately decision is made by comparator and is based on integrator
output. So it's no big surprise that integrator is somewhat random.
How does comparator and DFF change this white noise plus sine wave into
a digital signal? Not an easy guess!
CHAPTER 38. SIGMA-DELTA MODULATOR 203
-10dB
-20dB
-30dB
-40dB
-50dB
-60dB
-70dB
-80dB
-90dB
-100dB
-110dB
-120dB
-130dB
-140dB
1KHz 10KHz 100KHz 1MHz
Now, let's think again: Integrator and DAC are analog blocks. It's easy
to express their output from their input. So, we can express their input from
their output! If integrator output is white noise, integrator input should be
a noise with a +6dB/octave slope so that after integration (-6dB/octave) it
is at. So, DAC output should be a +6dB/octave noise. And so should be
the DAC input since its transfer function is just a delay. Then, output bit
stream spectrum should be +6dB/octave, just what it takes to compensate for
the integrator transfer function. Let's have a look using LTSPICE FFT (Fast
Fourier Transform):
As expected, output spectrum shows a positive slope. Even though dicult
to measure, it looks close to +6dB/octave (+20dB/decade). In addition to
noise spectrum shows signal at 2 kHz (mind the log horizontal scale)
Note: Special attention should be paid to FFT settings to plot a digital
signal spectrum. Samples should be taken only when signal is stable, between
transitions to avoid artifacts. For this reason, they are taken on inactive clock
edges. This can be managed either by changing time range for FFT data or by
changing rst clock edge position.
So, this explains why, if we lter output with a low-pass lter at say 10 kHz,
we get the signal with a very good signal to noise ratio that can be translated
in a large number of equivalent bits.
38.8 Architecture
As a Sigma-Delta modulator is chosen architecture work is limited to choosing
modulator order, clock frequency and some implementation details.
A Sigma-Delta modulator is a chaotic self-oscillating pulse width modulator.
Figure 38.18:
CHAPTER 38. SIGMA-DELTA MODULATOR 205
Where:
OU T = k · (A (s) · V IN − B (s) · D · OU T + Q)
A (s) · V IN + Q
OU T = k ·
1 + k · D · B (s)
Q
eQN in =
A (s)
eN in = eQN in + eEN in
Closed loop gain is the ratio between output signal and input signal assuming
no noise:
A (s)
GCL = k ·
1 + k · D · B (s)
1
GCL (s) = G0 ·
1 + a1 · τ · s + a2 · τ 2 · s2 + a3 · τ 3 · s3 + · · · + aO · τ O · sO
Where O is the lter order. The ai coecients values dene the frequency
response type.
CHAPTER 38. SIGMA-DELTA MODULATOR 206
Noise transfer function is the ratio between output and quantization noise
assuming no signal:
1
NTF = k ·
1 + k · D · B (s)
Usually, GCL is chosen to be a high-pass transfer function:
τ O · sO
N T F (s) = N 0 ·
1 + a1 · τ · s + a2 · τ 2 · s2 + a3 · τ 3 · s3 + · · · + aO · τ O · sO
Where O is the lter order. The ai coecients values dene the frequency
response type.
38.8.2.3 Solving
N A (s)
A (s) =
DA (s)
N B (s)
B (s) =
DB (s)
From that, we can rearrange GCL and NTF:
N A(s) N A(s)
DA(s) DA(s) · DB (s)
GCL = k · =k·
1+ k·D· N B(s)
DB(s) DB (s) + k · D · N B(s)
DB(s)
1 DB (s)
NTF = k · N B(s)
=k·
1+k·D· DB (s) + k · D · N B (s)
DB(s)
Identifying these expressions with the previously dened low-pass and high-
pass target transfer functions:
N A(s)
1 DA(s) · DB (s)
GCL (s) = G0· = k·
1 + a1 · τ · s + a2 · τ 2 · s2 + a3 · τ 3 · s3 + · · · + aO · τ O · sO DB (s) + k · D · N B(s)
DB(s)
O O
τ ·s DB (s)
N T F (s) = N 0· = k·
1 + a1 · τ · s + a2 · τ 2 · s2 + a3 · τ 3 · s3 + · · · + aO · τ O · sO DB (s) + k · D · N B (s)
Solving leads to:
N0 = k
DB (s) = τ O · sO
DA (s) = DB (s)
N A (s) = N A0
G0 = N A0 · k
CHAPTER 38. SIGMA-DELTA MODULATOR 207
38.8.3 Quantizer
In the above expressions, Q is the Quantizer quantization noise spectral density.
It depends on the Quantizer number of bits and sampling frequency.
Multi bit Quantizer For a multi bit Quantizer, calling V range the input
voltage range and N the number of bits, the quantization step q is:
V range
q=
2N − 1
If noise at the Quantizer input exceeds one quantization step q, feedback brings
it back within. So, peak to peak noise at Quantizer input is:
VN = q VP P
OU Trange 2N − 1 1
k= = N =
INrange (2 − 1) · q q
So:
k·q =1 (38.1)
If the sampling frequency is Fs, noise power spreads over [-Fs;+Fs]. Assum-
ing a triangle shaped quantization error, noise spectral density is:
q
Q = √ (38.2)
6 · Fs
Single bit Quantizer For a single bit Quantizer, there is no added eect
if the Quantizer input swing exceeds q. So, the Quantizer input swing is not
dened by the Quantizer itself, but by the modulator sizing.
Since the signal frequency is much lower than the noise frequency, the single
bit Quantizer fast varying output duty cycle depends on the slow input signal
value. The larger the noise, the larger the signal range for the output duty cycle
to go from 0 to 1. Then signal gain is dened by noise. In fact, Quantizer signal
transfer characteristic depends on noise amplitude distribution. If distribution
is uniform, transfer characteristics is linear and gain is:
1
k= (38.3)
2 · VN P k
Actual noise amplitude distribution can dier from uniform and will aect
transfer characteristic linearity. However, average gain over input swing does
not change signicantly.
Then, even for a single bit Quantizer 38.1 and 38.2 can be considered true.
1
k·Q = √ (38.4)
6 · Fs
CHAPTER 38. SIGMA-DELTA MODULATOR 208
Figure 38.19:
N A0
A (s) =
τ O · sO
Filter B (s) has transfer function:
As already stated, modulator order must be larger than two for chaos to take
place and spread the quantization noise. A simple approach is to create a table
in a spreadsheet program. The analysis has three parameters:
There are few possible values for the modulator order so one two dimensions
table can be created for each order. Then, the input equivalent noise can be
computed for each case and compared to the target spec. This denes the
possible region of operation.
From this analysis, we can choose a third order modulator with a sampling
frequency around 150 MHz.
38.9.1 Schematic
In the above schematic:
Since digital output has no unit and Quantizer input are volts, k unit is volts−1 .
S1 is the rst integrator equivalent output harmonics source.
Since digital output has no unit and dierence amplier manage voltages, A1,
A2 and A3 units are volts.
Q is the Quantizer noise spectral density source.
1
This noise unit is volts.hertz − 2
T1 is the rst integrator time constant.
38.9.2 Equations
Equations for the circuit are:
IN − A1 · OU T
V1 = + S1
T1 · s
V 1 − A2 · OU T
V2= + S2
T2 · s
V 2 − A3 · OU T
V3= + S3
T3 · s
OU T = k · (V 3 + Q)
CHAPTER 38. SIGMA-DELTA MODULATOR 210
38.9.3 Calculations
From the equations above, Out can be calculated and contribution of every
term can be extracted.
The free software Eigenmath has been used to carry out the calculations.
The used script follows. Lines starting with # are comments.
38.9.4 Results
Results directly come from Eigenmath outputs.
k
GCL =
A1 · k + A2 · T 1 · k · s + A3 · T 1 · T 2 · k · s2 + T 1 · T 2 · T 3 · s3
That can be reshaped as:
1 1
GCL = · A2·T 1 A3·T 1·T 2 T 1·T 2·T 3
A1 1 + A1 ·s+ A1 · s2 + A1·k · s3
GCL is a third order low pass with time constant τ0 and DC gain GDC :
13
T1 · T2 · T3
τ0 = (38.5)
A1 · k
1
GDC =
A1
Cuto frequency must be higher than max signal frequency so that signal
frequency is always in a range where closed loop gain is constant. Then, closed
loop gain for signal reduces to DC value:
1
GCLSIGN AL = GDC = (38.6)
A1
1 + B1 · τ 0 · s + B2 · τ 02 · s2 + B3 · τ 03 · s3
B1 = 2
B2 = 2
CHAPTER 38. SIGMA-DELTA MODULATOR 211
1 # CLEAR WORKSPACE
2 clear
= * *
3 # FIRST INTEGRATOR OUTPUT VOLTAGE
4 V1=(IN A1 OUT) / ( T1 s )+S1
= * *
5 # SECOND INTEGRATOR OUTPUT VOLTAGE
6 V2=(V1 A2 OUT) / ( T2 s )+S2
= * *
7 # THIRD INTEGRATOR OUTPUT VOLTAGE
* =*
8 V3=(V2 A3 OUT) / ( T3 s )+S3
9 # OUT=k ( V3+Q) SO OUT k ( V3+Q)=0
=*
10 # V3 DEPENDS ON OUT
=*
11 # THEN OUT I S SOLUTION OF OUT k ( V3+Q)=0
12 OUT=r o o t s (OUT k ( V3+Q) ,OUT)
13 # OUT CONTAINS CONTRIBUTIONS FROM Q, In , S1 . . .
14 # NOISE TRANSFER FUNCTION I S CONTRIBUTION FROM Q
15 NTF= c o e f f (OUT, Q, 1 )
16 # CLOSED LOOP GAIN I S CONTRIBUTION FROM IN
17 GCL= c o e f f (OUT, IN , 1 )
18 # CONTRIBUTION FROM S1
19 KS1= c o e f f (OUT, S1 , 1 )
20 # CONTRIBUTION FROM S2
21 KS2= c o e f f (OUT, S2 , 1 )
22 # CONTRIBUTION FROM S3
23 KS3= c o e f f (OUT, S3 , 1 )
24 # OPEN LOOP GAIN CALCULATION
25 # WITH I n , S1 , S2 and S3 = 0
= * *
26 # FIRST INTEGRATOR OUTPUT VOLTAGE
27 U1=( A1 OUT1) / ( T1 p )
= * *
28 # SECOND INTEGRATOR OUTPUT VOLTAGE
29 U2=(U1 A2 OUT1) / ( T2 p )
= * *
30 # THIRD INTEGRATOR OUTPUT VOLTAGE
* =*
31 U3=(U2 A3 OUT1) / ( T3 p )
32 # OUT1=k ( U3+Q) SO OUT1 k ( U3+Q)=0
=*
33 #U3 DEPENDS ON OUT1
=*
34 # THEN OUT1 I S SOLUTION OF OUT1 k ( U3+Q)=0
35 OUT1=r o o t s (OUT1 k ( U3+Q) ,OUT1)
36 # OPEN LOOP GAIN I S THE RATIO OF
37 # VOLTAGE AFTER Q SOURCE TO VOLTAGE BEFORE Q SOURCE
38 GOL=s i m p l i f y ( s i m p l i f y ( e v a l ( U3 ) ) / ( s i m p l i f y ( e v a l ( U3))+Q) )
39 # RESHAPING
40 NGOL=n u m e r a t o r (GOL)
41 DGOL=d e n o m i n a t o r (GOL)
42 GOL=s i m p l i f y ( c o n d e n s e (NGOL) / s i m p l i f y ( c o n d e n s e (DGOL) ) )
CHAPTER 38. SIGMA-DELTA MODULATOR 212
B3 = 1
Here, we have:
13
T1 · T2 · T3 A2 · T 1
B1 · =
A1 · k A1
And:
23
T1 · T2 · T3 A3 · T 1 · T 2
B2 · =
A1 · k A1
So:
2 1
A2 · T 1 3 · k 3
B1· = 2 1 1
A1 3 · T 2 3 · T 3 3
1 1 2
A3 · T 1 3 · T 2 3 · k 3
B2· = 1 2
A1 3 · T 3 3
Writing condition B1 = B2 brings:
A2
T2 = · τ0 (38.7)
A3
Writing condition B1 = 2 brings:
A2
T2 = · τ0 (38.8)
A3
Writing condition B2 = 2 brings:
A3 · k
T3 = · τ0 (38.9)
2
The noise transfer function is the quantization noise source Q to output transfer
function:
k · T 1 · T 2 · T 3 · s3
NTF =
A1 · k + A2 · T 1 · k · s + A3 · T 1 · T 2 · k · s2 + T 1 · T 2 · T 3 · s3
That can be reshaped as:
T 1·T 2·T 3
A1·k · s3
NTF = k · A2·T 1 A3·T 1·T 2 T 1·T 2·T 3
1+ A1 ·s+ A1 · s2 + A1·k · s3
τ 03 · s3
NTF = k ·
1 + τ 0 · s + τ 02 · s2 + τ 03 · s3
NTF is a third order high pass with the same time constant and the same
frequency response type as GCL.
NTF high frequency gain G is:
N T F∞ = lim N T F = k
s→∞
CHAPTER 38. SIGMA-DELTA MODULATOR 213
eQN out = N T F · Q
τ 3 = τ 03 · A1 · k
τ1 is the time constant dening the frequency for which input equivalent
quantization noise spectral density is equal to the Quantizer quantization noise
spectral density:
1
fN1 = (38.11)
2·π·τ
The direct implementation used for the small signal analysis works properly
as long as all elements are ideal and especially, feedback ampliers A1 to A3
outputs change instantly.
In the implementation with actual components, feedback ampliers nite
turn on and o time results in an interaction between successive output bits.
In order to avoid this issue, a common practice is to switch on the feedback
ampliers only during half the clock period.
Keeping modulator coecient values requires doubling the gain values.
Since Ai values in the design are intended to be controlled with and output
stream of values +0.5 and -0.5, Ai values can be kept to the original values if
they are controlled with values +1 and -1 half the time.
This feedback system is called RZ (return to zero).
The modulator loop has to meet the classic stability criteria in order to operate
safely. This means that open loop gain must have sucient gain margin and
phase margin.
addition the loop delay T causes phase lag at high frequencies. Loop delay is
mainly clock related delay. The feedback is not a continuous time signal but
a pulse stream. The clock related delay is the delay between the Quantizer
input change and the middle of the feedback pulse. In addition, excess delay
exists, resulting from the intrinsic delays in the Quantizer and the feedback
coecients.
−τ 06 · ω16 + 4 · τ 04 · ω14 + 1 = 0
r
1 4 1 16
ωG1 = · + δ3 + 1
τ0 3 9 · δ3
With:
r
155 283
δ= − = 1.25161
54 108
So:
2.0151
ωG1 =
τ0
2.0151 · T
ϕM = 1.0558 −
τ0
Phase margin in degrees:
115.457 · T
ϕM = 60.4928 −
τ0
For a return to zero feedback system, calling t the additional loop delay:
3
T =t+
4 · Fs
Solving for the phase margin to be greater than a given ϕ0 value leads to:
CHAPTER 38. SIGMA-DELTA MODULATOR 215
3
Fs > 60.4928−ϕ0
4· 115.457 · τ0 − t
1.4315
Fs >
τ0
With a third order modulator, an option is to modify the coecients so that
the closed loop response is Butterworth taking into account the additional loop
delay. This option is not analyzed here.
3
τ 3 · (2 · π · fM AX ) · Q < eQN inM AX
Then:
eQN inM AX
τ3 < 3
(2 · π · fM AX ) · Q
eQN inM AX
τ 03 < 3 (38.12)
A1 · k · (2 · π · fM AX ) · Q
√
eQN inM AX · 6 · FS
τ 03 < 3
A1 · (2 · π · fM AX )
So:
√ 13
1 eQN inM AX · 6 · FS
τ0 < · (38.13)
(2 · π · fM AX ) A1
These equations show that τ 0 depend on spec parameters and design vari-
able A1. Going further in sizing τ 0 requires sizing A1.
CHAPTER 38. SIGMA-DELTA MODULATOR 216
38.9.5.2 Sizing A1
1
k=
2 · VP N 3
Solving for A1 leads to:
In fact, if this condition is just met, the comparator input just crosses
zero on the noise peaks when the input signal is near its maximum value.
This condition is sucient if the noise amplitude distribution is uniform. If
noise amplitude distribution is such that probability decreases when amplitude
increases, comparator activity slows down around input signal peaks. This
phenomenon causes an increase in the peak factor. In turn, the peaks become
less frequent and so on. This leads to the modulator saturation. In order to
avoid this, A1 has to be over sized by a factor KM . This factor must depend
on the noise amplitude distribution.
Choosing KM > 1 directly gives A1:
A1 = 2 · KM · V inP K (38.15)
1 1 1
3 6 · eQN
3
inM AX · FS
6
τ0 = 1 1 (38.16)
2 6 · KM 3 · V inP K · 2 · π · fM AX
So, nally, τ0 can be sized from specication parameters and a single as-
sumption on KM.
1
GCLSIGN AL = (38.17)
2 · KM · V inP K
CHAPTER 38. SIGMA-DELTA MODULATOR 217
38.9.5.5 Sizing A2
First integrator output signal Since signal frequency is much below cuto,
transfer function reduces to DC value and then, input contribution reduces to:
A2
V 1in = · V in (38.18)
A1
T 2 · T 3 · s2
V 1Q = A2 A3 1
·Q
1+ A1 · T1 · s + A1 · T 1 · T 2 · s2 + A1·k · T 1 · T 2 · T 3 · s3
τ1 is dened by: τ1 =
√
T2 · T3
Together with 38.8 and 38.9 this brings:
r
k · A2
τ1 = τ0 ·
2
τ0 denes frequency cuto frequency f0 and τ1 denes cuto frequency f1:
1
f0 =
2 · π · τ0
1
f1 =
2 · π · τ1
Gain from numerator is:
2
f
GN 1 (f ) =
f1
3
f0
above f0: GD12 (f ) = f
Then, the transfer function from Q to the rst integrator output has two asymp-
totic branches:
2
f0 k · A2
G1QM AX (f = f 0) = =
f1 2
38.9.5.6 Sizing A3
Gain from numerator has two asymptotic branches:
Below f2: Above f2:
Gain from denominator is the same as for rst integrator:
below f0: above f0:
Since:
The transfer function has three asymptotic branches:
Below : (+20 dB / decade) From to : (+40 dB / decade) Above :
(-20 dB / decade)
Gain value at is Gain value at is
Noise power can be divided in three terms, one for each asymptotic branch:
Below , noise is:
is such that for:
So:
From to , noise is:
Since:
Then:
is such that for:
So:
Above , noise is:
is such that for:
So:
Units for P2 are V2 which is correct.
Finally, noise peak voltage at second integrator output is:
Equation 28
38.9.5.7 Sizing T1
38.9.5.8 Sizing T2
38.9.5.9 Sizing T3
T3 appears in Equation 6.
But unfortunately, k is required to compute T3.
k is dened by Equation 11.
The lower the noise q is, the higher the gain k.
And since the noise q appears at the third integrator output, the larger the
time constant T3 is, the smaller the noise.
So, nally, the larger the time constant T3 is, the larger k, but actual T3
value is not a concern, it is a degree of freedom in the design.
Finally, all the design parameters can be calculated from specication param-
eters, the KM factor, assumptions on PF1 and PF2, and implementation con-
straints on V1max and V2max.
Since PF1 and PF3 are noise peak factors, a value of 3 is a reasonable
assumption.
V1max and V2max are usually lower than supply voltage by some hundreds
of mV at each end. Values can be assumed easily.
Then, only KM is unknown, but all the design parameters can be expressed
versus KM. If KM is large enough, no modulator saturation occurs, if KM is
too low, modulator saturation occurs.
The sizing sequence can be:
Choose KM > 1 Size the design Simulate it with maximum input
voltage Trim KM until modulator is stable
It can be interesting that the closed loop gain is a power of 2 so that the
digital output can reect the input voltage by a simple logical shift.
Equation 20
Equation 25 gives A2 = 1.99554
Equation 31 gives A3 = 1.4527
Equation 5 gives T1 = 7.77878e-8
Equation 4 gives T2 = 2.66542e-8
Equation 6 gives T3 = 1.40938e-8 * k
38.9.6.1 Validation
Validation of this sizing is done using scilab, free software (Scilab Home Page)
ADC3 schematic is:
With Integrator1:
Integrator2:
And Integrator3:
Values are just as computed above. Third integrator time constant shows
that comparator signal gain has been arbitrarily set to 2.
Results Results include peak factors, closed loop gain, integrators outputs,
comparator gain and input noise.
First integrator output First integrator output for 1.3 Vpk input signal
shows that peak does not exceed 1 V, which is the value for V1max.
Second integrator output Second integrator output for 1.3 Vpk input
signal shows that peak does not exceed 1 V, which is the value for V2max.
Third integrator output Third integrator output for 1.3 Vpk input
signal shows that noise peak exceeds signal peak, which was a design target.
Plot also shows that saturation is just beginning since noise stretches around
signal peaks.
Slope between 100 kHz and 10 MHz is that of a third order high pass lter
as expected
A very small amount of third harmonic denotes the very beginning of mod-
ulators saturation.
38.9.7.1 Architecture
°
at is:
And phase is + 180 .
With the sizing from above:
7.2.1.3 S3 to Output transfer A third order high pass with time con-
stant 0:
And gain k.
Such a transfer function achieves a +60 dB / decade slope from DC to the
frequency f0:
°
Gain value at is:
And phase is +270 .
With the sizing from above:
7.2.1.4.1 Verication With the sizing from above, adding a third order non-
linearity on the integrators in the scilab platform show the following results.
7.2.2 Open loop type integrator For the open loop type, the integrator
non-linearity is directly that of the OTA.
Time constant is:
In this expression, C is the capacitor value and G is the OTA trans-
conductance.
In this case there are many options for choosing C and G. It is a good
practice to use a small capacitor value since this leads to a small silicon area
and it also minimizes the current. The lower limit for the capacitor value is
that is must be large with respect to the parasitic capacitors. The pF range is
suitable for that reason.
For integrator 1, table gives suitable C and G values and associated output
current for the max input voltage (Vin =1.3 Vp). It also gives the target G3
value to meet the harmonic specication.
C G1 Iout G3 1.00E-13 1.29E-06 6.81E-06 9.00E-09 2.00E-13 2.57E-06
1.36E-05 1.80E-08 5.00E-13 6.43E-06 3.41E-05 4.50E-08 1.00E-12 1.29E-05
6.81E-05 9.00E-08 2.00E-12 2.57E-05 1.36E-04 1.80E-07 5.00E-12 6.43E-05
3.41E-04 4.50E-07 1.00E-11 1.29E-04 6.81E-04 9.00E-07 2.00E-11 2.57E-04
1.36E-03 1.80E-06
The question at this point is to know whether it is possible or not to syn-
thesize an OTA with these requirements.
Calculation shows that even for a degenerated dierential pair, reaching
these linearity gures is out of reach at these high currents. Calculation details
are not reported here but exist in another document.
The only solution for the rst integrator is to use a feedback type.
7.2.3 Feedback type integrator For a closed loop type integrator, provided
the fact the OTA trans-conductance is large enough, the time constant is:
In this expression, C is the capacitor value and R is the resistor value.
In this case there are many options for choosing C and R. It is a good
practice to use a small capacitor value since this leads to a small silicon area
and it also minimizes the current. But a small C value leads to a large R value
and noise is the concern for sizing.
If the amplier's open loop transfer characteristics is:
And if the amplier is included in a loop with a front-end gain k and a
feedback gain B, closed loop output voltage Taylor expansion gives:
For an inverting amplier, calling Z1 the impedance to the input and Z2
the feedback impedance:
CHAPTER 38. SIGMA-DELTA MODULATOR 225
7.2.4 Sizing the rst integrator OTA Sizing the OTA is mainly dening
the rst and third order trans-conductance coecients.
Input electrical noise power is mainly the sum of two terms:
The two R1 resistors noise power The two D1 current sources noise
power
Equation 37
Noise power from the two R1 resistors is:
Equation 38
If the current sources are made from simple MOS transistors, considering
that in a return to zero feedback system the sources are on half the time, noise
from the sources is:
Equation 39 In this expression:
is the current sources duty cycle ( = 0.5). gm1 is the current source
trans-conductance.
In each current source MOS:
Equation 40
Since FB swings 0.5, current in behavioral the current sources is:
Practically, current sources are implemented with transistors and can either
source or sink current depending on the transistor polarity, but current can ow
only in one direction. Achieving a bidirectional current source requires using
two currents sources switched alternatively on or o.
FB is then a [0,1] signal and four current sources controlled by FB and
complemented FB implement the same functionality and characteristics that
the behavioral sources.
In this case, each of the four sources value is Isource.
And since the return to zero feedback system requires more current value
during part of the time, each of the four current sources value is:
Equation 41
From Equation 18 and Equation 36, a relationship exists between R1 and
D1:
Equation 42
Given the current sources saturation voltage VDSAT:
Combining with Equation 41 and Equation 42 brings:
Equation 43
Combining Equation 39 and Equation 43 brings:
Equation 44
CHAPTER 38. SIGMA-DELTA MODULATOR 227
Noise from the current sources does not depend on the duty cycle since it
aects both the current value and its contribution.
Then, putting together Equation 37, Equation 38 and Equation 44, the
input electrical noise power is:
Equation 45
Equation 45 can be reversed to express R1:
Equation 46
If input electrical noise power must not exceed PNINMAX, R1 must not
exceed R1MAX:
Equation 47
With the values from sizing above and assuming VDSAT = 0.7 V and
PNINMAX = 2.5 E-15 (50 nV.Hz1/2):
R1MAX = 25.97 k
In addition, Equation 40 denes the current sources MOS size:
In order to use integer numbers:
R1 = 25 k
Then D1 = 80 A and C1 = 3.11 pF
7.3.2 Open loop type integrator
Identifying expressions gives:
And:
Sizing gave:
A2 = 2 T2 = 26.65 ns A3 = 1.5 T3 = k * 14.1 ns
Again, circuit has three component values to achieve two design parameters.
Degree of freedom is G.
Actual sizing is based on C values that must be large enough so that para-
sitic and routing have limited impact.
In addition, minimizing the design eort suggests to use the same trans-
conductor for the two integrators.
Finally, choosing Cs in the 1 to 2 pF range brings, after rounding:
G2 = G3 = 30 S D2 = 60 A D3 = 45 A C2 = 1.6 pF C3 = 845.6 fF * k =
1.7 pF for k=2
With this dierential implementation sizing, running a simulation in Ca-
dence using voltage controlled current sources gives the following results:
7.3.2.1 First integrator dierential output
Plot shows that swing is very close to scilab simulation result and to target
(1 V peak).
7.3.2.2 Second integrator dierential output
Plot shows that swing is very close to scilab simulation result.
7.3.2.3 Third integrator dierential output
Plots shows the same beginning of saturation as scilab. 7.3.2.4 Comparator
transfer characteristics
Comparator shows signal gain around 2, close to expectations from C3
sizing. Picture is a bit dierent from scilab results, the signal is cleaner. The
dierence results from dierent x and y lters sizing (lower cuto frequency
here).
7.3.2.5 Input equivalent noise
Graph shows result is very close to scilab output. Value at 480 kHz is very
close to 30 nV/Hz1/2 which was the design target.
The small amount of third harmonics in the output spectrum denotes the
beginning of saturation.
CHAPTER 38. SIGMA-DELTA MODULATOR 228
Techniques
229
CHAPTER 38. SIGMA-DELTA MODULATOR 230
Provided the fact the operating point is actually what is required, at least four
conditions are required for the cell to work ne:
It must be DC stable
It must be AC stable
It must be robust.
39.1 Example
Let's start with an example:
231
CHAPTER 39. ANALYZING OPERATING POINT DC STABILITY 232
This schematic shows two inverters connected as a loop and a voltage source
to supply the inverters (Only digital designers don't need to supply their cir-
cuit!). Lets simulate this circuit operating point46.2 and display it on the
schematic:
This result is strange. Inverters input and output voltages are equal to
about 2.397 V for a 5 volts supply. And the two inverters draw a signicant
147.7 micro-amps current from the supply.
CHAPTER 39. ANALYZING OPERATING POINT DC STABILITY 233
If you wire this circuit with two inverters from a good old CD4049 hex
inverter in the lab (don't forget to tie the unused inverters input to ground)
you will never nd this operating point. Instead, you will notice that one
inverter output is 0 V and the other one is 5 V.
The output voltage of rst inverter versus input voltage looks like a standard
CMOS inverter transfer characteristics:
CHAPTER 39. ANALYZING OPERATING POINT DC STABILITY 234
And the second inverter output voltage versus rst inverter input voltage
is sharper with, of course an opposite slope:
Now when the loop is closed and left free, the rst inverter input voltage is
equal to the second inverter output voltage. If we plot together the open loop
CHAPTER 39. ANALYZING OPERATING POINT DC STABILITY 235
input and output voltages, we notice that the two curves cross each other in
three dierent points.
But why does the simulator give only the DC unstable operating point?
This is because of symmetry. The two inverters are exactly the same for
the simulator so only a balanced solution can be found. But this is mainly
because simulators try to nd an operating point but they do not care about
DC stability.
CHAPTER 39. ANALYZING OPERATING POINT DC STABILITY 236
Figure 39.7:
39.2 Generalizing
What kind of circuits can have multiple stable DC operating points?
This is a dicult question to answer exactly. Experience shows that mainly
loops can exhibit more than one operating point. Theoretically, a simple circuit
with a non monotonic characteristic device and a resistor could exhibit multiple
operating points, but such a device is hard to nd. One example is a thyristor in
series with a resistor, but this is not an usual functional circuit. So, practically,
considering that only loops may have multiple operating points is a reasonable
assumption.
First, let's assume that only loops have multiple operating points.
The method for detecting operating points is opening the loop and sweep-
ing the input.
The idea is that the loop response is nite even if the input is swept widely.
This can expressed in the fact that output vs. input characteristic has
horizontal branches at each end.
Then, the line with +1 slope, has to cross the transfer curve an odd
number of times.
Figure 39.8:
In this case, the loop operates in current mode. We can divide the schematic
in two parts:
This method is proposed to help the designer during the sizing phase. It
is aimed at dening the sizing sequence by detecting free parameters, linked
parameters and constraints.
Each graph is built starting from the set of equations that express the
cell characteristic as a function of components or sub-blocks parameters.
The graph is built step by step until it reaches primary parameters. Primary
parameters are parameters that do not depend on anything. Among primary
parameters are the constants of physics that are useless for sizing, but also
geometry and bias parameters that are free for sizing.
The method for building the graph is:
Writing all the possible equations. The list can be extended later if some
equations are missing.
The graph gives a good overview of the sizing sequence, it show loops.
238
CHAPTER 40. THE DEPENDENCY GRAPH METHOD 239
and it is possible to solve the system numerically. The point is to nd a multiple
variables, non linear solver...
Fortunately, such a solver is always available in an IC designer's environ-
ment, even though it is usually not used explicitly for that purpose. This tool
is an electrical-behavioral simulator. The simulator can be used in the DC
domain with an analog approach. The quotes indicate that the word analog
is used in its original meaning. In the analog domain, voltages and currents
may gure other physical data such as speed or frequency or length or whatever
parameter.
The free parameters can be swept so as to see how circuit performance
changes. It is then often possible to reach a reasonable sizing after a couple of
experiments. These simulations are extremely fast, so many trials can be made
very quickly.
The curves shape not only can give parameters value to reach the target
performance but it also gives information on the sizing robustness. It is a good
practice to size a circuit so that performance does not change much with the
parameters values. If a performance vs. parameter curve has a sharp region
and a soft region, sizing in the soft region is more robust.
Chapter 41
41.1.1 Gmin
Gmin denes the minimum conductance of any semiconductor device non-
isolated branch. This is equivalent to saying that any non-isolated pair of
nodes in a semiconductor device has a 1/gmin resistor in parallel.
Graph shows drain-source resistance with VGS=0 for gmin=1e-6;1e-9;1e-
12.
Clearly, if some current ows in the device, dynamic resistance is lower than
1/gmin but in no case it can be larger than 1/gmin.
If the same is done with a gate source branch, no such phenomenon occurs,
current is zero.
240
CHAPTER 41. THE GMIN STEPPING METHOD 241
242
Chapter 43
43.2 Introduction
The functionality and performances of an analog cell mainly depends on bias,
component geometry and process parameters.
The bias point is a set of electrical variables that is chosen by the designer
in order to meet the circuit performance. Of course, the bias point is
sensitive to process parameters. If no special care is taken, the bias point
spreading is added to the active components spreading and the result is
poor. On the other hand, some compensation or feedback mechanism can
be added in the bias system so that the result is improved. Generally, it
is possible to improve both performance and yield.
243
CHAPTER 43. ROBUST DESIGN TECHNIQUES 244
Figure 43.1:
43.3 Implementation.
There are basically four dierent techniques that can be used to improve the
design robustness. Of course, these techniques are frequently mixed together
to obtain the best possible result. These four techniques are :
Using feedback.
2·I
∆I =
β
Where β is the bipolar transistor current gain.
The output resistance is :
V AF
ROU T =
I
where VAF is the bipolar transistor Early voltage.
CHAPTER 43. ROBUST DESIGN TECHNIQUES 245
2·I
∆I =
β2
where β is the bipolar transistor current gain. the output resistance is not
modied.
For a β ranging from 50 to 200, the simple mirror can exhibit 4 % current
error while the buered version will never exceed 0.08 %.
No dierence between these two solutions regarding the output resistance.
43.3.1.4 Conclusion
This technique is suitable when target parameter is stable with respect to time
and temperature.
In this case, parameters can be measured during chip nal test and trimming
bus value can be computed. This requires that the chip has some non volatile
memory to store the bus value. As there are usually not many bits to store,
the NVM can be implemented as fuses or zapped zeners if no true NVM is
available. Of course, if E2PROM is available, it can do the job.
If real time trimming is used, all the trimming values have to be checked
during nal test since it is dicult to dene which value will be used during
the product life.
All this impacts the test time and the test hardware inside the circuit and
then impacts the product cost.
So, nally, if only cost is the concern, a balance must be found between
reaching a good yield to reduce cost and keeping silicon and test time costs
low.
If quality and reliability are real concerns, then this the robust design ap-
proach is a must but it comes at some cost.
Chapter 44
A safe design is a design that minimizes the risk of design errors. A number of
techniques exist that make design safer
A design can be dened as safe if it is really what the designer had in mind
and if it operates really as expected. As such, it is not related to design quality,
the fact that the design meets its specication, but it is related to the fact that
the designer did not make implementation errors.
The day to day design activity implies a huge number of actions that are
not completely safe individually. The probability of making no error at all is
then extremely low.
Examples of errors:
248
Chapter 45
R-C cells are in use in oscillators or lters for instance. The major requirement
for an R-C cell is the time constant that denes either the cuto frequency
or the oscillation frequency. Except if noise considerations dene the resistor
value and then the capacitor, a good choice in integrated circuit is to minimize
the cell area so as to minimize its cost. Obviously the R-C cell area is the sum
of the capacitor area and the resistor area. The capacitor area is proportional
to the capacitance value and the resistor area is proportional to the resistance
value. This is a classic design situation where a sum must be minimized while
the product is kept constant.
CAREA = A · C
RAREA = B · R
τ =R·C
So:
τ
R=
C
τ
AREA = A · C + B ·
C
dAREA
Solving for
dC =0 leads to an extremal value for AREA.
dAREA B·τ
=A− =0
dC C2
A · C2 − B · τ = 0
r
B·τ
C=
A
r
A·τ
R=
B
√
RAREA = CAREA = A·B·τ
249
CHAPTER 45. SURFACE OPTIMIZATION: R-C CELL 250
45.1 Example
If an R-C cell with τ = 200µs has to be implemented in a process with a
capacitance density CA = 1 nF/mm2 = 10−3 F/m2 , with a sheet resistance
−6
RS = 1 kΩ/ and with a resistor width RW = 1 µm = 10 m.
First, lets calculate constants A and B:
CAREA
A=
C
C
CAREA =
CA
1
A= = 1000 m2 /F
CA
RAREA
B=
R
RAREA = RW · RL
R · RW
RL =
RS
RW 2
B= = 10−15 m2 /Ω
RS
Then:
r r
B·τ 10−15 · 2 · 10−4
C= = = 14.14 pF
A 1000
r r
A·τ 1000 · 2 · 10−4
R= = = 14.14 M Ω
B 10−15
√
AREA = 2 · A · B · τ = 28.20 · 10−9 m2
For C = 10 pF , R = 20 M Ω
Figure 45.1:
For C = 20 pF , R = 10 M Ω
In both cases, moving from the optimal cell either by increasing or decreasing
the capacitor increases the cell area. But we can notice that changing the
capacitor value by -30 / + 40 % with respect to optimum only aects area
by 7.1 %. The optimum sizing optimizes the cell area, but this optimum is
not very sharp. The following graph shows the R-C cell total area versus the
capacitance value:
Part V
Basic concepts
252
Chapter 46
Glossary
46.1 Conductance
Conductance, usually noted G is the inverse of resistance.46.3
Ohm's law can be expressed in two forms:
I dI
G= =
V dV
dI
G=
dV
Traditionally, capital letters are used for static values and small letters are
used for dynamic values.Both the static and dynamic trans-conductance values
depend on the operating point.
253
CHAPTER 46. GLOSSARY 254
46.2.1 Example
A simple example is connecting a generator to a load. Each of the devices has
its own voltage-current characteristics. When they are connected together, the
voltage and the current are the same for the two devices. The system reaches
the point at the intersection of the two characteristics.
At the operating point, the Kirchho laws are satised. For complex cir-
cuits with many nodes and branches, the only practical method for nding the
operating point is to solve the Kirchho equations.
46.2.2 DC stability
The operating point can be DC unstable or DC stable.
the bottom of the cup and gravity will bring it back to the bottom. Equilibrium
is statically stable. Now if a metal ball is placed on the top of another xed
large metal ball. Theoretically, it can stay there. But if a vibration moves it a
bit, it will move down as it moves from the top and gravity will move it further.
This equilibrium is statically unstable. For an electrical circuit, the equilibrium
point is called operating point and can be DC stable or DC unstable.
46.2.3 AC stability
If DC stable it can be AC unstable or AC stable.
46.3 Resistance
46.3.1 Linear device
A pure resistor characteristics is linear.48.5
V =R·I
V dV
R= =
I dI
V =E+R·I
V E
= + R 6= R
I I
This value depends on I and is not equal to R. The cell internal resistance can
be extracted as:
dV
R=
dI
dV
This simple example shows that R= dI is a more general denition of resis-
tance, it works for linear and ane devices.
The actual curve may be dierent from that but the principle does not
change. On such a characteristics, two resistances can be dened:
CHAPTER 46. GLOSSARY 257
Traditionally, capital letters are used for static values and small letters are used
for dynamic values. Both the static and the dynamic resistance depend on the
operating point.46.2
46.3.4 Conclusion
Only purely linear devices have a constant static resistance. For such devices,
the dynamic resistance is equal to the static resistance. For all other devices,
ane or non linear, the static and the dynamic resistance depend on the oper-
ating point.
The dynamic resistance describes more accurately the device behavior around
the operating point.
46.4 Trans-conductance
As the name states, trans-conductance is a conductance46.1. Prex trans that
stands for transfer states that the current owing between two nodes depends
on the voltage between two other nodes. Trans-conductance is sometimes called
mutual conductance. This is the reason why trans-conductance use symbols
GM and gm.
I (C, D)
Gm =
V (A, B)
dI (C, D)
gm =
dV (A, B)
46.5 Trans-resistance
As the name states, trans-resistance is a resistance46.3. Prex trans that
stands for transfer states that the current owing between two nodes depends
on the voltage between two other nodes. Trans-resistance is sometimes called
mutual resistance. This is the reason why trans-resistance use symbols RM
and rm.
V (A, B)
Rm =
I (C, D)
dV (A, B)
gm =
dI (C, D)
Chapter 47
This chapter is intended to introduce or refresh some useful math concepts for
designers. It is not a math course, math specialists should not read this section
!
47.1 Statistics
As a start point, let's play dice.
258
CHAPTER 47. MATHS FOR ELECTRONIC DESIGNERS 259
1 1 2
1 2 3
1 3 4
1 4 5
1 5 6
1 6 7
2 1 3
2 2 4
2 3 5
2 4 6
2 5 7
2 6 8
3 1 4
3 2 5
3 3 6
3 4 7
3 5 8
3 6 9
4 1 5
4 2 6
4 3 7
4 4 8
4 5 9
4 6 10
5 1 6
5 2 7
5 3 8
5 4 9
5 5 10
5 6 11
6 1 7
6 2 8
6 3 9
6 4 10
6 5 11
6 6 12
You get 36 possibilities. In the rightmost column that sums the dice values,
you can see that:
Values for each die have the same probabilities but the situation is com-
pletely dierent for the sum. Value 7 appears twice more probable than 4 and
10.
Average value per die is still 3.5. But now, probability of getting a value
16
between 3 and 4 (between 6 and 8 for the sum) inclusively is
36 . It has been
4
multiplied by
3 with respect to the single die play.
Average per die is still 3.5 and now probability of getting a value between 3
104 13
and 4 inclusively is
216 . It has been multiplied by 9 with respect to the one
die play.
47.1.4 Graphs
We can plot together the graphs for 1, 2 and 3 dice. To allow comparison, x
axis gives value par die. Y axis plot probabilities for the three games.
Note that the denite integral of all these curves from 1 to 6 are equal
to 1. Here denite integral is an improper term as we deal with integers.
The right expression would be summing up the values times the step for each
curve.
From this simple example, we can see that summing up random variables
with uniformly distributed values results in non uniformly distributed values.
The curve with three dice is bell shaped. From three uniform random variables
up, the behavior starts looking like a Gaussian curve. With four dice, let's
compare the density of probability to the Gaussian law:
CHAPTER 47. MATHS FOR ELECTRONIC DESIGNERS 262
47.1.5 Conclusion
From a simple example, we have established a useful law for designers: statisti-
cal improvement. If a component is aected by a given tolerance, connecting a
number of components as a single component results in an improved tolerance
at the expense of area. The tolerance improves as the inverse of the square
root of the number.
Chapter 48
What happens when current ows from one media to another one?
This is typically what happens when metal connects to P type semiconduc-
tor. In metals carriers are electrons. In P type semiconductors, carriers are
holes. The current carrier changes in transition regions.
263
CHAPTER 48. PHYSICS FOR ELECTRONIC DESIGNERS 264
Figure 48.1:
Out = A · In
Now:
If In = 0, Out = Out0 = 0
If In = x1, Out = Out1 = A · x1
If In = x2, Out = Out2 = A · x2
If In = x1 + x2, Out = A · (x1 + x2) = Out1 + Out2
This property is often used to simplify circuit calculations as it allows contri-
butions to be calculated separately and summed up later:
It can be noted that this property applies only to linear systems. It does
not apply even to ane systems and neither to non linear systems. Practically,
if an ane system exhibits a small oset term, this property can be considered
granted and it is often used:
Out = A · In + B
Now:
If In = 0, Out = Out0 = B
If In = x1, Out = Out1 = A · x1 + B
If In = x2, Out = Out2 = A · x2 + B
If In = x1 + x2, Out = A · (x1 + x2) + B = Out1 + Out2 − B
If B ' 0, then Out ' Out1 + Out2
However, results should always be checked in such cases as they are poten-
tially incorrect
Figure 48.2:
Actual sources exhibit some internal resistance that make them non ideal. A
voltage source has its internal resistance connected in series while a current
source has its internal resistance connected in parallel. Internal resistance is
usually low for a voltage source and high for a current source. However, low
and high are relative values and one can wonder about medium internal
resistances.Is a source with a medium internal resistance a voltage source or
a current source?
Well, it depends... It depends on the load. We can say that if a source
internal resistance is lower than the load resistance, we are more on the voltage
source side. On the contrary, if a source internal resistance is higher than the
load resistance, we are more on the current source side. But we can go further:
If we hide a source and its internal impedance in a box and give access only to
the external connections, there is no means of making the dierence between a
voltage source or a current source only by measuring the voltage versus current
characteristics. They are equivalent. This is the basis for the Norton-Thévenin
equivalence or Norton-Thévenin transform.
To go even further, we can say that we are always allowed to use that
transform if it makes calculations easier.
Conduction
Convection
Radiation
48.8.1 Conduction
This mechanism takes place in materials. At microscopic scale, it is related
to transferring atoms thermal agitation to neighbors. At large scale, conduc-
tion is described by a diusion equation. Heat ux (power) is proportional to
temperature gradient and to material thermal conductivity. This behavior is
consistent with ohms law and a thermal resistance can be dened. Thanks to
material specic heat, conduction is not instantaneous. Dynamic behavior can
be described by a distributed R-C network
48.8.2 Convection
In gases and liquids, convection superimposes with conduction. When a cer-
tain amount of material is heated, it dilates. Since its mass is constant, its
density decreases. Then Archimedes thrust takes place and pushes the mate-
rial up while colder material replaces it. This is natural convection. Again,
this mechanism tends to an equilibrium state. Since Archimedes thrust exists
only in a gravity eld, convection does not exist without gravity. Convection
can signicantly reduce thermal resistance with respect to conduction only. In
order to reduce thermal resistance further, forced convection can be used. A
fan increases the air ow or a pump increases the water ow to increases the
renewal rate at the hot point and evacuate more power. There is no simple law
for convection that depends on many factors and usually requires experimen-
tation.
CHAPTER 48. PHYSICS FOR ELECTRONIC DESIGNERS 267
48.8.3 Radiation
Materials above absolute zero temperature radiate power as electromagnetic
waves. When a wave reaches a material, it is partly absorbed and heats the
material. This mechanism tends to balance temperatures of interacting mate-
rials. Radiated power is proportional to an emission coecient, to Stephan's
°
constant and to the power 4 of absolute temperature. It becomes dominant at
high temperatures usually several hundreds of C. For semiconductor devices
it is usually not dominant but can slightly reduce thermal resistance. This is
basically why heat sinks are black that exhibits a higher emission coecient
than natural metal colors.
A=2·π·r·L
Resistance is proportional to resistivity ρ, proportional to current ow
length and inversely proportional to area. In this case length is equal to dr
then:
dr
dR = ρ ·
2·π·r·L
Now, we can sum up these elementary resistances from inner radius R1 to
outer radius R2:
R2
ρ ρ R2 ρ ρ R2
R= ·dr = ·[ln r]R1 = ·(ln R2 − ln R1) = ·ln
R1 2·π·r·L 2·π·L 2·π·L 2·π·L R1
As a log is involved, the resistance does not change much. And the re-
sistance does not depend on R1 or R2 absolute value but it depends on the
ratio.
In integrated circuits, all the components are located at the surface of the
silicon chip, so usually only cylinder halves have to be considered. The resis-
tance is then doubled:
ρ R2
R= · ln
π·L R1
A = 4 · π · r2
Resistance is proportional to resistivity ρ, proportional to current ow
length and inversely proportional to area. In this case length is equal to dr
then:
CHAPTER 48. PHYSICS FOR ELECTRONIC DESIGNERS 268
dr
dR = ρ ·
4 · π · r2
Now, we can sum up these elementary resistances from inner radius R1 to
outer radius R2:
R2 R2
ρ ρ −1 ρ 1 1
R= · dr = · = · −
R1 4 · π · r2 4·π r R1 4·π R1 R2
If R2 → ∞:
ρ
R=
4 · π · R1
This resistance characterizes the inner sphere and does not depend on the
location of the outer sphere. The outer surface can dier from a sphere, the
result does not change.
An intermediate case is R1 R2:
ρ
R'
4 · π · R1
In integrated circuits, all the components are located at the surface of the
silicon chip, so usually only sphere halves have to be considered. The resistance
is then doubled:
ρ
R'
2 · π · R1
This calculation takes place when it comes to evaluate the electrical resis-
tance of a substrate or well tie or the thermal resistance of a small component.
Chapter 49
49.1 Feedback
Feedback is a very common technique that is used extensively in electronic
circuits. The basic principle of feedback, as its name states it, is to feed the
output of the circuit back to an input so as to compare the actual output to
the target and use the dierence information to modify the output. This is a
powerful technique to improve output accuracy with respect to a circuit that
would not use feedback. When feedback is used, the circuit looks like a loop
and is often called servo-loop, feedback loop and sometimes loop.
When a loop is used, a concern always exist with stability. If the output
phase shift is large enough, the correction may not drive the system in a stable
state but it may enter into oscillation.
The general schematic for a loop is:
Open loop gain:
GOL = A · B
A
GCL =
1+A·B
The major interest of a feedback system appears when product A·B is
much larger than 1. In this case:
A 1
GCL ' =
A·B B
The closed loop gain in this case does not depend on A. Usually, A is an
amplier and B is a voltage divider. Gain A is subject to inaccuracies while B
can be made fairly accurate.
Figure 49.1:
269
CHAPTER 49. ELECTRONICS FOR ELECTRONIC DESIGNERS 270
Figure 49.2:
RLOAD
V =V0·
RIN T + RLOAD
V0
I=
RIN T + RLOAD
2
V0
P = RLOAD ·
RIN T + RLOAD
Now let's sweep the load resistance RLOAD from 0 to ∞ and lets plot the
voltage, the current and the power.
Figure 49.3:
Figure 49.4:
Figure 49.5:
1
f0 =
2·π·R·C
Input and output impedance expressions are:
Group delay is:
It must be noted that source and load impedance can signicantly impact
the transfer function.
1
f0 =
2·π·R·C
Input and output impedance expressions are:
Group delay is:
It must be noted that source and load impedance can signicantly impact
the transfer function.
1
f0 =
2·π·R·C
When a circuit element exhibits an impedance versus frequency that looks
like that of a parallel R-C cell, it can be modeled as a parallel R-C cell and
behaves the same.
Figure 49.6:
CHAPTER 49. ELECTRONICS FOR ELECTRONIC DESIGNERS 272
Figure 49.7:
Figure 49.8:
Figure 49.9:
V IN
ZIN =
IIN
Input current, by assumption, ows only in impedance Z:
V IN − V OU T
IIN =
Z
And we know that:
V OU T = A · V IN
Then:
V IN · (1 − A)
IIN =
Z
So:
V IN Z
ZIN = =
IIN 1−A
In case A is negative and large:
Z
ZIN '
|A|
Basically, the Miller eect dramatically reduces an inverting amplier input
impedance if some coupling exists between input and output that behaves like
an impedance.
Figure 49.10:
CHAPTER 49. ELECTRONICS FOR ELECTRONIC DESIGNERS 273
Figure 49.11:
Figure 49.12:
1
Z=
2·π·f ·C
1
ZIN '
2 · π · f · |A| · C
Which is equivalent to the impedance of a capacitor:
C 0 = |A| · C
The need for two transistors instead of one, but this is not a concern in
an IC.
Materials properties
εR = 12.9
Electrons
Holes
50.1.1.3 Resistivity
275
CHAPTER 50. MATERIALS PROPERTIES 276
εR = 3.9
EB = 109 V /m
εR =
EB = V /m
εR =
EB = V /m
εR =
EB = V /m
CHAPTER 50. MATERIALS PROPERTIES 277
CHAPTER 50. MATERIALS PROPERTIES 278
Tools
A number of CAD tools are helpful in day to day design even though the
real design tool is the one the designer has between his ears. As the acronym
suggests, CAD tool are intended to help and assist the designer in his task.
51.1 Spreadsheet
Spreadsheet tools are among the simplest and most available ones. A prob-
lem that can be solved using a spreadsheet should not be solved with a more
complex tool. This is a matter of eciency but also it requires to formalize
the problem properly which is the rst step of solving. Microsoft Excel and
OpenOce Calc are among the most polular spreadsheet tools.
279
Chapter 52
Index
280
Index
A
Architecture, 56
C
Cells, 32
S
Sizing, 62
Specication, 49
281