THE SPICE BOOK. Andrei Vladimirescu. John Wiley & Sons, Inc. New York Chichester Brisbane Toronto Singapore

Similar documents
Circuit Simulation with SPICE OPUS

Introduction to PSpice

Circuit Simulation Using SPICE ECE222

Analysis and Design of Autonomous Microwave Circuits

SPICE for Power Electronics and Electric Power

SPICE FOR POWER ELECTRONICS AND ELECTRIC POWER

Microelectronic Circuits

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

Chapter 8. Chapter 9. Chapter 6. Chapter 10. Chapter 11. Chapter 7

ANALYSIS AND DESIGN OF ANALOG INTEGRATED CIRCUITS

An Introductory Guide to Circuit Simulation using NI Multisim 12

ANALYSIS AND DESIGN OF ANALOG INTEGRATED CIRCUITS

Analogue Electronic Systems

Laboratory Lecture 4

POWER ELECTRONICS. Converters, Applications, and Design. NED MOHAN Department of Electrical Engineering University of Minnesota Minneapolis, Minnesota

ELECTRONICS WITH DISCRETE COMPONENTS

L MOSFETS, IDENTIFICATION, CURVES. PAGE 1. I. Review of JFET (DRAW symbol for n-channel type, with grounded source)

KOM2751 Analog Electronics :: Dr. Muharrem Mercimek :: YTU - Control and Automation Dept. 1 6 FIELD-EFFECT TRANSISTORS

Introduction to SwitcherCAD

Simulation Using WinSPICE

Fundamentals of Power Electronics

A Short SPICE Tutorial

Chapter #3: Diodes. from Microelectronic Circuits Text by Sedra and Smith Oxford Publishing

Introductory Electronics for Scientists and Engineers

(a) Current-controlled and (b) voltage-controlled amplifiers.

THE JFET. Script. Discuss the JFET and how it differs from the BJT. Describe the basic structure of n-channel and p -channel JFETs

Radio Frequency Electronics

Computer Controlled Curve Tracer

NGSPICE- Usage and Examples

ET475 Electronic Circuit Design I [Onsite]

CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

HSPICE (from Avant!) offers a more robust, commercial version of SPICE. PSPICE is a popular version of SPICE, available from Orcad (now Cadence).

GRAPHIC ERA UNIVERSITY DEHRADUN

Appendix. RF Transient Simulator. Page 1

A SIGNAL DRIVEN LARGE MOS-CAPACITOR CIRCUIT SIMULATOR

PSpice Simulation. The target of computer-aided analysis is to determine the circuit currents and voltages everywhere in the circuit.

KOM2751 Analog Electronics :: Dr. Muharrem Mercimek :: YTU - Control and Automation Dept. 1 7 DC BIASING FETS

Semiconductor Detector Systems

OrCAD PSpice A/D, OrCAD PSpice AA and AMS Simulator

Electrical and Electronic Principles

HSPICE. Chan-Ming Chang

Mentor Analog Simulators

Lecture 8. Jaeha Kim. Seoul National University

Summer 1997 Plotting Y Parameters

Practical RF Circuit Design for Modern Wireless Systems

TRANSISTOR TRANSISTOR

Summary. Electronics II Lecture 5(b): Metal-Oxide Si FET MOSFET. A/Lectr. Khalid Shakir Dept. Of Electrical Engineering

PhD PRELIMINARY WRITTEN EXAMINATION READING LIST

55:041 Electronic Circuits

EE 320 L LABORATORY 9: MOSFET TRANSISTOR CHARACTERIZATIONS. by Ming Zhu UNIVERSITY OF NEVADA, LAS VEGAS 1. OBJECTIVE 2. COMPONENTS & EQUIPMENT

Introduction to Electronic Circuit for Instrumentation

Electronics I Circuit Drawings. Robert R. Krchnavek Rowan University Spring, 2018

Microelectronic Circuits, Kyung Hee Univ. Spring, Chapter 3. Diodes

Summer 2007 News Peak Detector Macro

Chapter 8. Field Effect Transistor

EE : ELECTRICAL ENGINEERING Module 8 : Analog and Digital Electronics INDEX

6. Field-Effect Transistor

How SPICE Transformed Integrated Circuit Design

1 FUNDAMENTAL CONCEPTS What is Noise Coupling 1

Experiment 2 Introduction to PSpice

Appendix. Harmonic Balance Simulator. Page 1

Fundamentals of Microelectronics

Chapter 5: Field Effect Transistors

Three Terminal Devices

Analog Filter and. Circuit Design Handbook. Arthur B. Williams. Singapore Sydney Toronto. Mc Graw Hill Education

FIELD EFFECT TRANSISTORS MADE BY : GROUP (13)/PM

55:041 Electronic Circuits The University of Iowa Fall Exam 3. Question 1 Unless stated otherwise, each question below is 1 point.


The Common Source JFET Amplifier

Introduction... 1 Part I: Getting Started with Circuit Analysis Part II: Applying Analytical Methods for Complex Circuits...

CMOS Inverter & Ring Oscillator

ETE 112. Structured Programming Laboratory

DC-DC Converter Design Phase Acceleration with Virtuoso UltraSim Simulator


I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

INTRODUCTION TO CIRCUIT SIMULATION USING SPICE

EE301 Electronics I , Fall

Gechstudentszone.wordpress.com

The Norwegian University of Science and Technology ENGLISH. EXAM IN TFY 4185 Measurement Technique/Måleteknikk. 1 Dec 2014 Time: 09:00-13:00

Field Effect Transistors

Effect of Current Feedback Operational Amplifiers using BJT and CMOS

Transistor Characteristics

Index. Small-Signal Models, 14 saturation current, 3, 5 Transistor Cutoff Frequency, 18 transconductance, 16, 22 transit time, 10

The default account setup for the class should allow you to run HSPICE without any further configuration. To verify this, type:

ITT Technical Institute. ET215 Devices 1. Chapter

ECE 454 Homework #1 Due 11/28/2018 This Wednesday In Lab

Lesson Plan. Electronics 1-Total 51 Hours

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

Analog Circuits and Systems

ELECTRICAL ENGINEERING (CODE NO. 10) PAPER - I

Lecture 14. Field Effect Transistor (FET) Sunday 26/11/2017 FET 1-1

Chapter 6: Field-Effect Transistors

GATE 2018 Online Test Series - Electronics and Communication Engineering

16 Analog Circuits-IV Feedback amplifier, power amplifier, 555 timer Easy min

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology - Bombay

PREFACE 5 THE AUTHOR 6 INDEX 7 FOREWORD 21 1 LTSPICEIV: INTRODUCTION AND HISTORY 25

Chapter 1 Semiconductors and the p-n Junction Diode 1

UNIT 3: FIELD EFFECT TRANSISTORS

ELECTRIC CIRCUITS. Third Edition JOSEPH EDMINISTER MAHMOOD NAHVI

A Brief Handout for Introduction to

Transcription:

THE SPICE BOOK Andrei Vladimirescu John Wiley & Sons, Inc. New York Chichester Brisbane Toronto Singapore

CONTENTS Introduction SPICE THE THIRD DECADE 1 1.1 THE EARLY DAYS OF SPICE 1 1.2 SPICE IN THE 1970s 2 1.3 SPICE IN THE 1980s 4 1.4 SPICE IN THE 1990s 7 1.5 CONCLUSION 8 REFERENCES 9 One INTRODUCTION TO ELECTRICAL COMPUTER SIMULATION 12 1.1 PURPOSE OF COMPUTER SIMULATION OF ELECTRICAL CIRCUITS 12 1.2 WHAT IS SPICE? 14 1.3 USER INTERACTION WITH SPICE AND THE COMPUTER 17 1.3.1 Electric Circuit Specification The SPICE Input 18 1.3.2 SPICE Simulation, DC Analysis 22 1.3.3 SPICE Results for AC and TRAN Analyses 28 1.4 SUMMARY 36 REFERENCES

XÜ CONTENTS Two CIRCUIT ELEMENT AND NETWORK DESCRIPTION 38 2.1 ELEMENTS, MODELS, NODES, AND CONVENTIONS 38 2.2 TWO-TERMINAL ELEMENTS 39 2.2.1 Resistors 40 2.2.2 Semiconductor Resistors (SPICE3) 41 2.2.3 Capacitors 42 2.2.4 Semiconductor Capacitor (SPICE3) 44 2.2.5 Inductors 45 2.2.6 Independent Bias and Signal Sources 46 2.2.6.1 Pulse Function 48 2.2.6.2 Sinusoidal Function 50 2.2.6.3 Frequency-Modulated Sinusoidal Function 51 2.2.6.4 Exponential Function 53 2.2.6.5 Piecewise Linear Function 54 2.3 MULTITERMINAL ELEMENTS 56 2.3.1 Coupled (Mutual) Inductors 56 2.3.2 Dependent (Controlled) Sources 58 2.3.2.1 Voltage-Controlled Current Source (VCCS) 61 2.3.2.2 Voltage-Controlled Voltage Source (VCVS) 62 2.3.2.3 Current-Controlled Current Source (CCCS) 63 2.3.2.4 Current-Controlled Voltage Source (CCVS) 64 2.3.3 Switches 65 2.3.4 Transmission Lines 68 2.4 SUMMARY 71 REFERENCES 72 Three SEMICONDUCTOR-DEVICE ELEMENTS 73 3.1 INTRODUCTION 73 3.2 DIODES 75 3.3 BIPOLAR JUNCTION TRANSISTORS 78 3.3.1 DC Model 79 3.3.2 Dynamic and Small-Signal Models 83 3.3.3 Model Parameters 86 3.4 JUNCTION FIELD EFFECT TRANSISTORS (JFETs) 96 3.5 METAL-OXIDE-SEMICONDUCTOR FIELD EFFECT TRANSISTORS (MOSFETs) 101 3.5.1 DC Model 102 3.5.2 Dynamic and Small-Signal Models 103 3.5.3 Model Parameters 108

CONTENTS XÜi 3.6 METAL-SEMICONDUCTOR FIELD EFFECT TRANSISTORS (MESFETs) 109 3.7 SUMMARY 112 REFERENCES 113 Four DCANALYSIS 114 4.1 ANALYSIS OVERVIEW 114 4.1.1 Simulation Modes and Analysis Types 114 4.1.2 Result Processing and Output Variables 115 4.1.3 Analysis Parameters: Temperature 116 4.2 OPERATING (BIAS) POINT 117 4.3 DC TRANSFER CURVES 125 4.4 SMALL-SIGNAL TRANSFER FUNCTION 129 4.5 SENSITIVITY ANALYSIS 133 4.6 NODE VOLTAGE INITIALIZATION 136 4.7 SUMMARY 139 REFERENCES 140 Five AC ANALYSIS 141 5.1 INTRODUCTION 141 5.2 AC FREQUENCY SWEEP 142 5.3 NOISE ANALYSIS 149 5.4 DISTORTION ANALYSIS 157 5.5 POLE-ZERO ANALYSIS 164 5.6 SUMMARY 165 REFERENCES 167 Six TIME-DOMAIN ANALYSIS 168 6.1 ANALYSIS DESCRIPTION 6.2 TRANSIENT ANALYSIS 168 169

Xiv CONTENTS 6.3 INITIAL CONDITIONS 180 6.4 FOURIER ANALYSIS 184 6.5 SUMMARY 191 REFERENCES 192 Seven FUNCTIONAL AND HIERARCHICAL SIMULATION 193 7.1 HIGH-LEVEL CIRCUIT DESCRIPTION 193 7.2 SPICE SUBCIRCUIT AND CIRCUIT HIERARCHY 194 7.2.1. SUBCKT Definition 194 7.2.2 Subcircuit Instance 195 7.2.3 Circuit Hierarchy 195 7.3 IDEAL MODELS 204 7.3.1 Operational Amplifiers 205 7.3.2 Logic Gates and Digital Circuits 209 7.4 FUNCTIONAL MODELS 213 7.4.1 Nonlinear (Arbitrary-Function) Controlled Sources in SPICE3 213 7.4.2 Analog Function Blocks 215 7.4.3 Digital Function Blocks 223 7.4.4 Equation Solution 224 7.5 MACRO-MODELS 227 7.5.1 The Opamp Macro-Model 228 7.6 SUMMARY 239 REFERENCES 240 Eight DISTORTION ANALYSIS 241 8.1 DISTORTION IN SEMICONDUCTOR CIRCUITS 241 8.2 SMALL-SICNAL DISTORTION ANALYSIS 241 8.2.1 High-Frequency Distortion 242 8.2.2 Distortion in a One-Transistor Amplifier 244 8.3 LARGE-SIGNAL DISTORTION ANALYSIS 263 8.3.1 One-Transistor Amplifier Distortion 263 8.3.2 Single-Device Mixer Analysis 265 8.4 SUMMARY 276 REFERENCES 277

CONTENTS XV Nine SPICE ALGORITHMS AND OPTIONS 278 9.1 OVERVIEW OF ALGORITHMS 278 9.2 DC SOLUTION OF LINEAR CIRCUITS 280 9.2.1 Circuit Equation Formulation: Modified Nodal Equations 280 9.2.2 Accuracy and SPICE Options 285 9.3 DC SOLUTION OF NONLINEAR CIRCUITS 291 9.3.1 Newton-Raphson Iteration 291 9.3.2 Convergence and SPICE Options 296 9.4 TIME-DOMAIN SOLUTION 298 9.4.1 Numerical Integration 299 9.4.2 Integration Algorithms in SPICE, Accuracy, and Options 307 9.5 SUMMARY OF OPTIONS 312 9.5.1 Analysis Summary 312 9.5.2 Linear Equation Options 314 9.5.3 Nonlinear Solution Options 315 9.5.4 Numerical Integration 315 9.5.5 Miscellaneous Options 316 REFERENCES 317 Ten CONVERGENCE ADVICE 319 10.1 INTRODUCTION 319 10.2 COMMON CAUSES OF SOLUTION FAILURE 320 10.2.1 Circuit Description 320 10.2.2 Component Values 326 10.3 DC CONVERGENCE 330 10.4 TIME-DOMAIN CONVERGENCE 353 10.5 CIRCUIT-SPECIFIC CONVERGENCE 362 10.5.1 Oscillators 362 10.5.2 BJT versus MOSFET Specifics 367 10.5.3 Convergence of Large Circuits 373 10.6 SUMMARY 375 REFERENCES 377

XVI CONTENTS APPENDIX A SEMICONDUCTOR-DEVICE MODELS 378 A.1 DIODE 378 A.1.1 DC, Transient, and AC Models 379 A.1.2 Temperature Effects 379 A.1.3 Noise Model 380 A.2 BIPOLAR JUNCTION TRANSISTOR 380 A.2.1 DC Model 381 A.2.2 Transient and AC Models 382 A.2.3 Temperature Effects 383 A.2.4 Noise Model 383 A.3 MOSFET 384 A.3.1 DC Model 385 A.3.2 Transient and AC Models 389 A.3.3 Temperature Model 390 A.3.4 Noise Model 390 REFERENCES 390 APPENDIX B ERROR MESSAGES 391 B.1 GENERAL SYNTAX ERRORS 391 B.2 MULTITERMINAL ELEMENT ERRORS 392 B.3 SOURCE SPECIFICATION ERRORS 392 B.4 ELEMENT, SEMICONDUCTOR-DEVICE, AND MODEL ERRORS 393 B.5 CIRCUIT TOPOLOGY ERRORS 394 B.6 SUBCIRCUIT DEFINITION ERRORS 394 B.7 ANALYSIS ERRORS 395 B.8 MISCELLANEOUS ERRORS 398 APPENDIX C SPICE STATEMENTS 399 C.1 ELEMENT STATEMENTS 399 C.2 GLOBAL STATEMENTS 400 C.3 CONTROL STATEMENTS 401

CONTENTS XVÜ APPENDIX D GEAR INTEGRATION FORMULAS 402 APPENDIX E SPICE INPUT DECK 403 INDEX 405